Class CreateTrafficPolicyVersionRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
A complex type that contains information about the traffic policy for which you want to create a new version.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanAny comments that you want to include about the new traffic policy version.The definition of a new traffic policy version, in JSON format.getId()The ID of the traffic policy for which you want to create a new version.inthashCode()voidsetComment(String comment) Any comments that you want to include about the new traffic policy version.voidsetDocument(String document) The definition of a new traffic policy version, in JSON format.voidThe ID of the traffic policy for which you want to create a new version.toString()Returns a string representation of this object; useful for testing and debugging.withComment(String comment) Any comments that you want to include about the new traffic policy version.withDocument(String document) The definition of a new traffic policy version, in JSON format.The ID of the traffic policy for which you want to create a new version.Methods inherited from class 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
-
CreateTrafficPolicyVersionRequest
public CreateTrafficPolicyVersionRequest()
-
-
Method Details
-
setId
The ID of the traffic policy for which you want to create a new version.
- Parameters:
id- The ID of the traffic policy for which you want to create a new version.
-
getId
The ID of the traffic policy for which you want to create a new version.
- Returns:
- The ID of the traffic policy for which you want to create a new version.
-
withId
The ID of the traffic policy for which you want to create a new version.
- Parameters:
id- The ID of the traffic policy for which you want to create a new version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDocument
The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.
- Parameters:
document- The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.
-
getDocument
The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.
- Returns:
- The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.
-
withDocument
The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.
- Parameters:
document- The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComment
Any comments that you want to include about the new traffic policy version.
- Parameters:
comment- Any comments that you want to include about the new traffic policy version.
-
getComment
Any comments that you want to include about the new traffic policy version.
- Returns:
- Any comments that you want to include about the new traffic policy version.
-
withComment
Any comments that you want to include about the new traffic policy version.
- Parameters:
comment- Any comments that you want to include about the new traffic policy version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
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:
-