@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTrafficPolicyInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains information about the resource record sets that you want to update based on a specified traffic policy instance.
NOOP
Constructor and Description |
---|
UpdateTrafficPolicyInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTrafficPolicyInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getId()
The ID of the traffic policy instance that you want to update.
|
String |
getTrafficPolicyId()
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 |
getTrafficPolicyVersion()
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 |
getTTL()
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
|
int |
hashCode() |
void |
setId(String id)
The ID of the traffic policy instance that you want to update.
|
void |
setTrafficPolicyId(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.
|
void |
setTrafficPolicyVersion(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.
|
void |
setTTL(Long tTL)
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateTrafficPolicyInstanceRequest |
withId(String id)
The ID of the traffic policy instance that you want to update.
|
UpdateTrafficPolicyInstanceRequest |
withTrafficPolicyId(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.
|
UpdateTrafficPolicyInstanceRequest |
withTrafficPolicyVersion(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.
|
UpdateTrafficPolicyInstanceRequest |
withTTL(Long tTL)
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setId(String id)
The ID of the traffic policy instance that you want to update.
id
- The ID of the traffic policy instance that you want to update.public String getId()
The ID of the traffic policy instance that you want to update.
public UpdateTrafficPolicyInstanceRequest withId(String id)
The ID of the traffic policy instance that you want to update.
id
- The ID of the traffic policy instance that you want to update.public void setTTL(Long tTL)
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
tTL
- The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.public Long getTTL()
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
public UpdateTrafficPolicyInstanceRequest withTTL(Long tTL)
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
tTL
- The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.public void setTrafficPolicyId(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.
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 String getTrafficPolicyId()
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 UpdateTrafficPolicyInstanceRequest withTrafficPolicyId(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.
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 void setTrafficPolicyVersion(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.
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 Integer getTrafficPolicyVersion()
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 withTrafficPolicyVersion(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.
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 String toString()
toString
in class Object
Object.toString()
public UpdateTrafficPolicyInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.