Class CreateTrafficPolicyInstanceRequest
- 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.CreateTrafficPolicyInstanceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateTrafficPolicyInstanceRequest.Builder,CreateTrafficPolicyInstanceRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateTrafficPolicyInstanceRequest extends Route53Request implements 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 Modifier and Type Class Description static interfaceCreateTrafficPolicyInstanceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateTrafficPolicyInstanceRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhostedZoneId()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.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.List<SdkField<?>>sdkFields()static Class<? extends CreateTrafficPolicyInstanceRequest.Builder>serializableBuilderClass()CreateTrafficPolicyInstanceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtrafficPolicyId()The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.IntegertrafficPolicyVersion()The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.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
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
hostedZoneId
public final String 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
public final String 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
public final Long 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
public final String 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
public final Integer 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
public CreateTrafficPolicyInstanceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateTrafficPolicyInstanceRequest.Builder,CreateTrafficPolicyInstanceRequest>- Specified by:
toBuilderin classRoute53Request
-
builder
public static CreateTrafficPolicyInstanceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateTrafficPolicyInstanceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-