Class UpdateTrafficPolicyInstanceRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53.model.UpdateTrafficPolicyInstanceRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
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.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateTrafficPolicyInstanceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTrafficPolicyInstanceRequest
clone()
Creates a shallow clone of this request.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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setId
public void setId(String id)
The ID of the traffic policy instance that you want to update.
- Parameters:
id
- The ID of the traffic policy instance that you want to update.
-
getId
public String getId()
The ID of the traffic policy instance that you want to update.
- Returns:
- The ID of the traffic policy instance that you want to update.
-
withId
public UpdateTrafficPolicyInstanceRequest withId(String id)
The ID of the traffic policy instance that you want to update.
- Parameters:
id
- The ID of the traffic policy instance that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTTL
public void setTTL(Long tTL)
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
- Parameters:
tTL
- The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
-
getTTL
public Long getTTL()
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
- Returns:
- The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
-
withTTL
public UpdateTrafficPolicyInstanceRequest withTTL(Long tTL)
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
- Parameters:
tTL
- The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficPolicyId
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.
- Parameters:
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.
-
getTrafficPolicyId
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.
- Returns:
- 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.
-
withTrafficPolicyId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficPolicyVersion
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.
- Parameters:
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.
-
getTrafficPolicyVersion
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.
- Returns:
- 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.
-
withTrafficPolicyVersion
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateTrafficPolicyInstanceRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-