Class CreateTrafficPolicyInstanceRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateTrafficPolicyInstanceRequest.Builder,CreateTrafficPolicyInstanceRequest>
A complex type that contains information about the resource record sets that you want to create based on a specified traffic policy.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the configuration in a traffic policy.final Stringname()The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Route 53 creates for this traffic policy instance.static Class<? extends CreateTrafficPolicyInstanceRequest.Builder>final StringtoString()Returns a string representation of this object.final StringThe ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.final IntegerThe version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.final Longttl()(Optional) The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.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
-
hostedZoneId
The ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the configuration in a traffic policy.
- Returns:
- The ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the configuration in a traffic policy.
-
name
The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Route 53 creates for this traffic policy instance.
- Returns:
- The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Route 53 creates for this traffic policy instance.
-
ttl
(Optional) The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.
- Returns:
- (Optional) The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.
-
trafficPolicyId
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
- Returns:
- The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
-
trafficPolicyVersion
The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
- Returns:
- The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateTrafficPolicyInstanceRequest.Builder,CreateTrafficPolicyInstanceRequest> - Specified by:
toBuilderin classRoute53Request
-
builder
-
serializableBuilderClass
public static Class<? extends CreateTrafficPolicyInstanceRequest.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
-