@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
overrideConfiguration
copy
public 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 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 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 String trafficPolicyId()
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateTrafficPolicyInstanceRequest.Builder,CreateTrafficPolicyInstanceRequest>
toBuilder
in class Route53Request
public static CreateTrafficPolicyInstanceRequest.Builder builder()
public static Class<? extends CreateTrafficPolicyInstanceRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.