public class DeleteTrafficPolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A request to delete a specified traffic policy version.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id
The ID of the traffic policy that you want to delete.
|
private java.lang.Integer |
version
The version number of the traffic policy that you want to delete.
|
NOOP
Constructor and Description |
---|
DeleteTrafficPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteTrafficPolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
The ID of the traffic policy that you want to delete.
|
java.lang.Integer |
getVersion()
The version number of the traffic policy that you want to delete.
|
int |
hashCode() |
void |
setId(java.lang.String id)
The ID of the traffic policy that you want to delete.
|
void |
setVersion(java.lang.Integer version)
The version number of the traffic policy that you want to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteTrafficPolicyRequest |
withId(java.lang.String id)
The ID of the traffic policy that you want to delete.
|
DeleteTrafficPolicyRequest |
withVersion(java.lang.Integer version)
The version number of the traffic policy that you want to delete.
|
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
private java.lang.String id
The ID of the traffic policy that you want to delete.
private java.lang.Integer version
The version number of the traffic policy that you want to delete.
public void setId(java.lang.String id)
The ID of the traffic policy that you want to delete.
id
- The ID of the traffic policy that you want to delete.public java.lang.String getId()
The ID of the traffic policy that you want to delete.
public DeleteTrafficPolicyRequest withId(java.lang.String id)
The ID of the traffic policy that you want to delete.
id
- The ID of the traffic policy that you want to delete.public void setVersion(java.lang.Integer version)
The version number of the traffic policy that you want to delete.
version
- The version number of the traffic policy that you want to delete.public java.lang.Integer getVersion()
The version number of the traffic policy that you want to delete.
public DeleteTrafficPolicyRequest withVersion(java.lang.Integer version)
The version number of the traffic policy that you want to delete.
version
- The version number of the traffic policy that you want to delete.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteTrafficPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()