public class UpdateTrafficPolicyCommentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateTrafficPolicyComment operation.
Updates the comment for a specified traffic policy version.
To update the comment, send a POST request to the
/2013-04-01/trafficpolicy/ resource.
The request body must include an XML document with an
UpdateTrafficPolicyCommentRequest element.
NOOP| Constructor and Description |
|---|
UpdateTrafficPolicyCommentRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateTrafficPolicyCommentRequest |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
The new comment for the specified traffic policy and version.
|
String |
getId()
The value of
Id for the traffic policy for which you want
to update the comment. |
Integer |
getVersion()
The value of
Version 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 of
Id for the traffic policy for which you want
to update the comment. |
void |
setVersion(Integer version)
The value of
Version 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 of
Id for the traffic policy for which you want
to update the comment. |
UpdateTrafficPolicyCommentRequest |
withVersion(Integer version)
The value of
Version for the traffic policy for which you
want to update the comment. |
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getId()
Id for the traffic policy for which you want
to update the comment.
Constraints:
Length: 0 - 36
Id for the traffic policy for which you want
to update the comment.public void setId(String id)
Id for the traffic policy for which you want
to update the comment.
Constraints:
Length: 0 - 36
id - The value of Id for the traffic policy for which you want
to update the comment.public UpdateTrafficPolicyCommentRequest withId(String id)
Id for the traffic policy for which you want
to update the comment.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 36
id - The value of Id for the traffic policy for which you want
to update the comment.public Integer getVersion()
Version for the traffic policy for which you
want to update the comment.
Constraints:
Range: 1 - 1000
Version for the traffic policy for which you
want to update the comment.public void setVersion(Integer version)
Version for the traffic policy for which you
want to update the comment.
Constraints:
Range: 1 - 1000
version - The value of Version for the traffic policy for which you
want to update the comment.public UpdateTrafficPolicyCommentRequest withVersion(Integer version)
Version for the traffic policy for which you
want to update the comment.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 1000
version - The value of Version for the traffic policy for which you
want to update the comment.public String getComment()
Constraints:
Length: 0 - 1024
public void setComment(String comment)
Constraints:
Length: 0 - 1024
comment - The new comment for the specified traffic policy and version.public UpdateTrafficPolicyCommentRequest withComment(String comment)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
comment - The new comment for the specified traffic policy and version.public String toString()
toString in class ObjectObject.toString()public UpdateTrafficPolicyCommentRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.