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.
NOOP| Constructor and Description |
|---|
UpdateTrafficPolicyCommentRequest() |
| Modifier and Type | Method and 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 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. |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setId(String id)
The value of Id for the traffic policy for which you want to
update the comment.
id - The value of Id for the traffic policy for which you
want to update the comment.public String getId()
The value of Id for the traffic policy for which you want to
update the comment.
Id for the traffic policy for which you
want to update the comment.public UpdateTrafficPolicyCommentRequest withId(String id)
The value of Id for the traffic policy for which you want to
update the comment.
id - The value of Id for the traffic policy for which you
want to update the comment.public void setVersion(Integer version)
The value of Version for the traffic policy for which you
want to update the comment.
version - The value of Version for the traffic policy for which
you want to update the comment.public Integer getVersion()
The value of Version for the traffic policy for which you
want to update the comment.
Version for the traffic policy for
which you want to update the comment.public UpdateTrafficPolicyCommentRequest withVersion(Integer version)
The value of Version for the traffic policy for which you
want to update the comment.
version - The value of Version for the traffic policy for which
you want to update the comment.public void setComment(String comment)
The new comment for the specified traffic policy and version.
comment - The new comment for the specified traffic policy and version.public String getComment()
The new comment for the specified traffic policy and version.
public UpdateTrafficPolicyCommentRequest withComment(String comment)
The new comment for the specified traffic policy and version.
comment - The new comment for the specified traffic policy and version.public String toString()
toString in class ObjectObject.toString()public UpdateTrafficPolicyCommentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.