Class UpdateTrafficPolicyCommentRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53.model.UpdateTrafficPolicyCommentRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UpdateTrafficPolicyCommentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains information about the traffic policy for which you want to update the comment.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateTrafficPolicyCommentRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTrafficPolicyCommentRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetComment()The new comment for the specified traffic policy and version.StringgetId()The value ofIdfor the traffic policy for which you want to update the comment.IntegergetVersion()The value ofVersionfor the traffic policy for which you want to update the comment.inthashCode()voidsetComment(String comment)The new comment for the specified traffic policy and version.voidsetId(String id)The value ofIdfor the traffic policy for which you want to update the comment.voidsetVersion(Integer version)The value ofVersionfor the traffic policy for which you want to update the comment.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateTrafficPolicyCommentRequestwithComment(String comment)The new comment for the specified traffic policy and version.UpdateTrafficPolicyCommentRequestwithId(String id)The value ofIdfor the traffic policy for which you want to update the comment.UpdateTrafficPolicyCommentRequestwithVersion(Integer version)The value ofVersionfor the traffic policy for which you want to update the comment.-
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 value of
Idfor the traffic policy for which you want to update the comment.- Parameters:
id- The value ofIdfor the traffic policy for which you want to update the comment.
-
getId
public String getId()
The value of
Idfor the traffic policy for which you want to update the comment.- Returns:
- The value of
Idfor the traffic policy for which you want to update the comment.
-
withId
public UpdateTrafficPolicyCommentRequest withId(String id)
The value of
Idfor the traffic policy for which you want to update the comment.- Parameters:
id- The value ofIdfor the traffic policy for which you want to update the comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersion
public void setVersion(Integer version)
The value of
Versionfor the traffic policy for which you want to update the comment.- Parameters:
version- The value ofVersionfor the traffic policy for which you want to update the comment.
-
getVersion
public Integer getVersion()
The value of
Versionfor the traffic policy for which you want to update the comment.- Returns:
- The value of
Versionfor the traffic policy for which you want to update the comment.
-
withVersion
public UpdateTrafficPolicyCommentRequest withVersion(Integer version)
The value of
Versionfor the traffic policy for which you want to update the comment.- Parameters:
version- The value ofVersionfor the traffic policy for which you want to update the comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComment
public void setComment(String comment)
The new comment for the specified traffic policy and version.
- Parameters:
comment- The new comment for the specified traffic policy and version.
-
getComment
public String getComment()
The new comment for the specified traffic policy and version.
- Returns:
- The new comment for the specified traffic policy and version.
-
withComment
public UpdateTrafficPolicyCommentRequest withComment(String comment)
The new comment for the specified traffic policy and version.
- Parameters:
comment- The new comment for the specified traffic policy and version.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateTrafficPolicyCommentRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-