Class CreateTrafficPolicyVersionRequest
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.CreateTrafficPolicyVersionRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateTrafficPolicyVersionRequest.Builder,CreateTrafficPolicyVersionRequest>
@Generated("software.amazon.awssdk:codegen")
public final class CreateTrafficPolicyVersionRequest
extends Route53Request
implements ToCopyableBuilder<CreateTrafficPolicyVersionRequest.Builder,CreateTrafficPolicyVersionRequest>
A complex type that contains information about the traffic policy that you want to create a new version for.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Stringcomment()The comment that you specified in theCreateTrafficPolicyVersionrequest, if any.final Stringdocument()The definition of this version of the traffic policy, in JSON format.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The ID of the traffic policy for which you want to create a new version.static Class<? extends CreateTrafficPolicyVersionRequest.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
-
id
The ID of the traffic policy for which you want to create a new version.
- Returns:
- The ID of the traffic policy for which you want to create a new version.
-
document
The definition of this version of the traffic policy, in JSON format. You specified the JSON in the
CreateTrafficPolicyVersionrequest. For more information about the JSON format, see CreateTrafficPolicy.- Returns:
- The definition of this version of the traffic policy, in JSON format. You specified the JSON in the
CreateTrafficPolicyVersionrequest. For more information about the JSON format, see CreateTrafficPolicy.
-
comment
The comment that you specified in the
CreateTrafficPolicyVersionrequest, if any.- Returns:
- The comment that you specified in the
CreateTrafficPolicyVersionrequest, if any.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateTrafficPolicyVersionRequest.Builder,CreateTrafficPolicyVersionRequest> - 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
-