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 UpdateTrafficPolicyCommentRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getComment()
The new comment for the specified traffic policy and version.String
getId()
The value ofId
for the traffic policy for which you want to update the comment.Integer
getVersion()
The value ofVersion
for the traffic policy for which you want to update the comment.int
hashCode()
void
setComment(String comment)
The new comment for the specified traffic policy and version.void
setId(String id)
The value ofId
for the traffic policy for which you want to update the comment.void
setVersion(Integer version)
The value ofVersion
for the traffic policy for which you want to update the comment.String
toString()
Returns a string representation of this object; useful for testing and debugging.UpdateTrafficPolicyCommentRequest
withComment(String comment)
The new comment for the specified traffic policy and version.UpdateTrafficPolicyCommentRequest
withId(String id)
The value ofId
for the traffic policy for which you want to update the comment.UpdateTrafficPolicyCommentRequest
withVersion(Integer version)
The value ofVersion
for 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
Id
for the traffic policy for which you want to update the comment.- Parameters:
id
- The value ofId
for the traffic policy for which you want to update the comment.
-
getId
public String getId()
The value of
Id
for the traffic policy for which you want to update the comment.- Returns:
- The value of
Id
for the traffic policy for which you want to update the comment.
-
withId
public UpdateTrafficPolicyCommentRequest withId(String id)
The value of
Id
for the traffic policy for which you want to update the comment.- Parameters:
id
- The value ofId
for 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
Version
for the traffic policy for which you want to update the comment.- Parameters:
version
- The value ofVersion
for the traffic policy for which you want to update the comment.
-
getVersion
public Integer getVersion()
The value of
Version
for the traffic policy for which you want to update the comment.- Returns:
- The value of
Version
for the traffic policy for which you want to update the comment.
-
withVersion
public UpdateTrafficPolicyCommentRequest withVersion(Integer version)
The value of
Version
for the traffic policy for which you want to update the comment.- Parameters:
version
- The value ofVersion
for 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateTrafficPolicyCommentRequest 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()
-
-