public class CreateTrafficPolicyVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains information about the traffic policy for which you want to create a new version.
NOOP
Constructor and Description |
---|
CreateTrafficPolicyVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTrafficPolicyVersionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getComment()
Any comments that you want to include about the new traffic policy
version.
|
String |
getDocument()
The definition of a new traffic policy version, 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)
Any comments that you want to include about the new traffic policy
version.
|
void |
setDocument(String document)
The definition of a new traffic policy version, 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)
Any comments that you want to include about the new traffic policy
version.
|
CreateTrafficPolicyVersionRequest |
withDocument(String document)
The definition of a new traffic policy version, in JSON format.
|
CreateTrafficPolicyVersionRequest |
withId(String id)
The ID of the traffic policy for which you want to create a new version.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, 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 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. For more information, see Traffic Policy Document Format in the Amazon Route 53 API Reference.
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. For more information, see Traffic Policy Document Format in the Amazon Route 53 API
Reference.public String 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. For more information, see Traffic Policy Document Format in the Amazon Route 53 API Reference.
public CreateTrafficPolicyVersionRequest withDocument(String 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. For more information, see Traffic Policy Document Format in the Amazon Route 53 API Reference.
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. For more information, see Traffic Policy Document Format in the Amazon Route 53 API
Reference.public void setComment(String comment)
Any comments that you want to include about the new traffic policy version.
comment
- Any comments that you want to include about the new traffic policy
version.public String getComment()
Any comments that you want to include about the new traffic policy version.
public CreateTrafficPolicyVersionRequest withComment(String comment)
Any comments that you want to include about the new traffic policy version.
comment
- Any comments that you want to include about the new traffic policy
version.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.