@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTrafficPolicyCommentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains information about the traffic policy that you want to update the comment for.
NOOP
Constructor and Description |
---|
UpdateTrafficPolicyCommentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTrafficPolicyCommentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 that you want to update the comment for. |
Integer |
getVersion()
The value of
Version for the traffic policy that you want to update the comment for. |
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 that you want to update the comment for. |
void |
setVersion(Integer version)
The value of
Version for the traffic policy that you want to update the comment for. |
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 that you want to update the comment for. |
UpdateTrafficPolicyCommentRequest |
withVersion(Integer version)
The value of
Version for the traffic policy that you want to update the comment for. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setId(String id)
The value of Id
for the traffic policy that you want to update the comment for.
id
- The value of Id
for the traffic policy that you want to update the comment for.public String getId()
The value of Id
for the traffic policy that you want to update the comment for.
Id
for the traffic policy that you want to update the comment for.public UpdateTrafficPolicyCommentRequest withId(String id)
The value of Id
for the traffic policy that you want to update the comment for.
id
- The value of Id
for the traffic policy that you want to update the comment for.public void setVersion(Integer version)
The value of Version
for the traffic policy that you want to update the comment for.
version
- The value of Version
for the traffic policy that you want to update the comment for.public Integer getVersion()
The value of Version
for the traffic policy that you want to update the comment for.
Version
for the traffic policy that you want to update the comment for.public UpdateTrafficPolicyCommentRequest withVersion(Integer version)
The value of Version
for the traffic policy that you want to update the comment for.
version
- The value of Version
for the traffic policy that you want to update the comment for.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 Object
Object.toString()
public UpdateTrafficPolicyCommentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.