Class 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.

  • Method Details

    • 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

      Specified by:
      toBuilder in interface ToCopyableBuilder<CreateTrafficPolicyInstanceRequest.Builder,CreateTrafficPolicyInstanceRequest>
      Specified by:
      toBuilder in class Route53Request
    • builder

    • serializableBuilderClass

      public static Class<? extends CreateTrafficPolicyInstanceRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo