@Generated(value="software.amazon.awssdk:codegen") public final class UpdateTrafficPolicyInstanceRequest extends Route53Request implements ToCopyableBuilder<UpdateTrafficPolicyInstanceRequest.Builder,UpdateTrafficPolicyInstanceRequest>
A complex type that contains information about the resource record sets that you want to update based on a specified traffic policy instance.
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateTrafficPolicyInstanceRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateTrafficPolicyInstanceRequest.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 |
id()
The ID of the traffic policy instance that you want to update.
|
static Class<? extends UpdateTrafficPolicyInstanceRequest.Builder> |
serializableBuilderClass() |
UpdateTrafficPolicyInstanceRequest.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 Amazon Route 53 to use to update resource record sets for the
specified traffic policy instance.
|
Integer |
trafficPolicyVersion()
The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the
specified traffic policy instance.
|
Long |
ttl()
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
|
overrideConfiguration
copy
public String id()
The ID of the traffic policy instance that you want to update.
public Long ttl()
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
public String trafficPolicyId()
The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
public Integer trafficPolicyVersion()
The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
public UpdateTrafficPolicyInstanceRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateTrafficPolicyInstanceRequest.Builder,UpdateTrafficPolicyInstanceRequest>
toBuilder
in class Route53Request
public static UpdateTrafficPolicyInstanceRequest.Builder builder()
public static Class<? extends UpdateTrafficPolicyInstanceRequest.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.