Class CreateTrafficPolicyRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.route53.model.Route53Request
software.amazon.awssdk.services.route53.model.CreateTrafficPolicyRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateTrafficPolicyRequest.Builder,CreateTrafficPolicyRequest>
@Generated("software.amazon.awssdk:codegen")
public final class CreateTrafficPolicyRequest
extends Route53Request
implements ToCopyableBuilder<CreateTrafficPolicyRequest.Builder,CreateTrafficPolicyRequest>
A complex type that contains information about the traffic policy that you want to create.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Stringcomment()(Optional) Any comments that you want to include about the traffic policy.final Stringdocument()The definition of this traffic policy in JSON format.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the traffic policy.static Class<? extends CreateTrafficPolicyRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the traffic policy.
- Returns:
- The name of the traffic policy.
-
document
The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format.
- Returns:
- The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format.
-
comment
(Optional) Any comments that you want to include about the traffic policy.
- Returns:
- (Optional) Any comments that you want to include about the traffic policy.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateTrafficPolicyRequest.Builder,CreateTrafficPolicyRequest> - Specified by:
toBuilderin classRoute53Request
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-