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.boolean
The new comment for the specified traffic policy and version.getId()
The value ofId
for the traffic policy for which you want to update the comment.The value ofVersion
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
The value ofId
for the traffic policy for which you want to update the comment.void
setVersion
(Integer version) The value ofVersion
for 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 ofId
for the traffic policy for which you want to update the comment.withVersion
(Integer version) The value ofVersion
for 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
Id
for the traffic policy for which you want to update the comment.- Parameters:
id
- The value ofId
for the traffic policy for which you want to update the comment.
-
getId
The value of
Id
for the traffic policy for which you want to update the comment.- Returns:
- The value of
Id
for the traffic policy for which you want to update the comment.
-
withId
The value of
Id
for the traffic policy for which you want to update the comment.- Parameters:
id
- The value ofId
for 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
Version
for the traffic policy for which you want to update the comment.- Parameters:
version
- The value ofVersion
for the traffic policy for which you want to update the comment.
-
getVersion
The value of
Version
for the traffic policy for which you want to update the comment.- Returns:
- The value of
Version
for the traffic policy for which you want to update the comment.
-
withVersion
The value of
Version
for the traffic policy for which you want to update the comment.- Parameters:
version
- The value ofVersion
for 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:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-