@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteTrafficPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to delete a specified traffic policy version.
NOOP
Constructor and Description |
---|
DeleteTrafficPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteTrafficPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getId()
The ID of the traffic policy that you want to delete.
|
Integer |
getVersion()
The version number of the traffic policy that you want to delete.
|
int |
hashCode() |
void |
setId(String id)
The ID of the traffic policy that you want to delete.
|
void |
setVersion(Integer version)
The version number of the traffic policy that you want to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteTrafficPolicyRequest |
withId(String id)
The ID of the traffic policy that you want to delete.
|
DeleteTrafficPolicyRequest |
withVersion(Integer version)
The version number of the traffic policy that you want to delete.
|
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 that you want to delete.
id
- The ID of the traffic policy that you want to delete.public String getId()
The ID of the traffic policy that you want to delete.
public DeleteTrafficPolicyRequest withId(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(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 Integer getVersion()
The version number of the traffic policy that you want to delete.
public DeleteTrafficPolicyRequest withVersion(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 String toString()
toString
in class Object
Object.toString()
public DeleteTrafficPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()