@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateTrafficPolicyInstanceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateTrafficPolicyInstanceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateTrafficPolicyInstanceRequest.Builder> |
serializableBuilderClass() |
CreateTrafficPolicyInstanceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
trafficPolicyId()
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
|
Integer |
trafficPolicyVersion()
The version of the traffic policy that you want to use to create resource record sets in the specified hosted
zone.
|
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.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
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.
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.
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.
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.
public CreateTrafficPolicyInstanceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateTrafficPolicyInstanceRequest.Builder,CreateTrafficPolicyInstanceRequest>toBuilder in class Route53Requestpublic static CreateTrafficPolicyInstanceRequest.Builder builder()
public static Class<? extends CreateTrafficPolicyInstanceRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.