public class UpdateTrafficPolicyCommentRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A complex type that contains information about the traffic policy for which you want to update the comment.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
comment
The new comment for the specified traffic policy and version.
|
private java.lang.String |
id
The value of
Id for the traffic policy for which you want to
update the comment. |
private java.lang.Integer |
version
The value of
Version for 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(java.lang.Object obj) |
java.lang.String |
getComment()
The new comment for the specified traffic policy and version.
|
java.lang.String |
getId()
The value of
Id for the traffic policy for which you want to
update the comment. |
java.lang.Integer |
getVersion()
The value of
Version for the traffic policy for which you
want to update the comment. |
int |
hashCode() |
void |
setComment(java.lang.String comment)
The new comment for the specified traffic policy and version.
|
void |
setId(java.lang.String id)
The value of
Id for the traffic policy for which you want to
update the comment. |
void |
setVersion(java.lang.Integer version)
The value of
Version for the traffic policy for which you
want to update the comment. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateTrafficPolicyCommentRequest |
withComment(java.lang.String comment)
The new comment for the specified traffic policy and version.
|
UpdateTrafficPolicyCommentRequest |
withId(java.lang.String id)
The value of
Id for the traffic policy for which you want to
update the comment. |
UpdateTrafficPolicyCommentRequest |
withVersion(java.lang.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, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String id
The value of Id
for the traffic policy for which you want to
update the comment.
private java.lang.Integer version
The value of Version
for the traffic policy for which you
want to update the comment.
private java.lang.String comment
The new comment for the specified traffic policy and version.
public void setId(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.String comment)
The new comment for the specified traffic policy and version.
comment
- The new comment for the specified traffic policy and version.public java.lang.String getComment()
The new comment for the specified traffic policy and version.
public UpdateTrafficPolicyCommentRequest withComment(java.lang.String comment)
The new comment for the specified traffic policy and version.
comment
- The new comment for the specified traffic policy and version.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateTrafficPolicyCommentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()