Class UpdateTrafficPolicyCommentRequest
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
A complex type that contains information about the traffic policy for which you want to update the comment.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe new comment for the specified traffic policy and version.getId()The value ofIdfor the traffic policy for which you want to update the comment.The value ofVersionfor the traffic policy for which you want to update the comment.inthashCode()voidsetComment(String comment) The new comment for the specified traffic policy and version.voidThe value ofIdfor the traffic policy for which you want to update the comment.voidsetVersion(Integer version) The value ofVersionfor the traffic policy for which you want to update the comment.toString()Returns a string representation of this object; useful for testing and debugging.withComment(String comment) The new comment for the specified traffic policy and version.The value ofIdfor the traffic policy for which you want to update the comment.withVersion(Integer version) The value ofVersionfor 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
-
Constructor Details
-
UpdateTrafficPolicyCommentRequest
public UpdateTrafficPolicyCommentRequest()
-
-
Method Details
-
setId
The value of
Idfor the traffic policy for which you want to update the comment.- Parameters:
id- The value ofIdfor the traffic policy for which you want to update the comment.
-
getId
The value of
Idfor the traffic policy for which you want to update the comment.- Returns:
- The value of
Idfor the traffic policy for which you want to update the comment.
-
withId
The value of
Idfor the traffic policy for which you want to update the comment.- Parameters:
id- The value ofIdfor 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
The value of
Versionfor the traffic policy for which you want to update the comment.- Parameters:
version- The value ofVersionfor the traffic policy for which you want to update the comment.
-
getVersion
The value of
Versionfor the traffic policy for which you want to update the comment.- Returns:
- The value of
Versionfor the traffic policy for which you want to update the comment.
-
withVersion
The value of
Versionfor the traffic policy for which you want to update the comment.- Parameters:
version- The value ofVersionfor 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
The new comment for the specified traffic policy and version.
- Parameters:
comment- The new comment for the specified traffic policy and version.
-
getComment
The new comment for the specified traffic policy and version.
- Returns:
- The new comment for the specified traffic policy and version.
-
withComment
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-