@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTrafficPolicyVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains information about the traffic policy that you want to create a new version for.
NOOP
Constructor and Description |
---|
CreateTrafficPolicyVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTrafficPolicyVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getComment()
The comment that you specified in the
CreateTrafficPolicyVersion request, if any. |
String |
getDocument()
The definition of this version of the traffic policy, in JSON format.
|
String |
getId()
The ID of the traffic policy for which you want to create a new version.
|
int |
hashCode() |
void |
setComment(String comment)
The comment that you specified in the
CreateTrafficPolicyVersion request, if any. |
void |
setDocument(String document)
The definition of this version of the traffic policy, in JSON format.
|
void |
setId(String id)
The ID of the traffic policy for which you want to create a new version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateTrafficPolicyVersionRequest |
withComment(String comment)
The comment that you specified in the
CreateTrafficPolicyVersion request, if any. |
CreateTrafficPolicyVersionRequest |
withDocument(String document)
The definition of this version of the traffic policy, in JSON format.
|
CreateTrafficPolicyVersionRequest |
withId(String id)
The ID of the traffic policy for which you want to create a new version.
|
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 ID of the traffic policy for which you want to create a new version.
id
- The ID of the traffic policy for which you want to create a new version.public String getId()
The ID of the traffic policy for which you want to create a new version.
public CreateTrafficPolicyVersionRequest withId(String id)
The ID of the traffic policy for which you want to create a new version.
id
- The ID of the traffic policy for which you want to create a new version.public void setDocument(String document)
The definition of this version of the traffic policy, in JSON format. You specified the JSON in the
CreateTrafficPolicyVersion
request. For more information about the JSON format, see
CreateTrafficPolicy.
document
- The definition of this version of the traffic policy, in JSON format. You specified the JSON in the
CreateTrafficPolicyVersion
request. For more information about the JSON format, see
CreateTrafficPolicy.public String getDocument()
The definition of this version of the traffic policy, in JSON format. You specified the JSON in the
CreateTrafficPolicyVersion
request. For more information about the JSON format, see
CreateTrafficPolicy.
CreateTrafficPolicyVersion
request. For more information about the JSON format, see
CreateTrafficPolicy.public CreateTrafficPolicyVersionRequest withDocument(String document)
The definition of this version of the traffic policy, in JSON format. You specified the JSON in the
CreateTrafficPolicyVersion
request. For more information about the JSON format, see
CreateTrafficPolicy.
document
- The definition of this version of the traffic policy, in JSON format. You specified the JSON in the
CreateTrafficPolicyVersion
request. For more information about the JSON format, see
CreateTrafficPolicy.public void setComment(String comment)
The comment that you specified in the CreateTrafficPolicyVersion
request, if any.
comment
- The comment that you specified in the CreateTrafficPolicyVersion
request, if any.public String getComment()
The comment that you specified in the CreateTrafficPolicyVersion
request, if any.
CreateTrafficPolicyVersion
request, if any.public CreateTrafficPolicyVersionRequest withComment(String comment)
The comment that you specified in the CreateTrafficPolicyVersion
request, if any.
comment
- The comment that you specified in the CreateTrafficPolicyVersion
request, if any.public String toString()
toString
in class Object
Object.toString()
public CreateTrafficPolicyVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.