@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteSubnetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteSubnetRequest>
Contains the parameters for DeleteSubnet.
NOOP
Constructor and Description |
---|
DeleteSubnetRequest()
Default constructor for DeleteSubnetRequest object.
|
DeleteSubnetRequest(String subnetId)
Constructs a new DeleteSubnetRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteSubnetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DeleteSubnetRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteSubnetRequest |
withSubnetId(String subnetId)
The ID of the subnet.
|
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 DeleteSubnetRequest()
public DeleteSubnetRequest(String subnetId)
subnetId
- The ID of the subnet.public void setSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public DeleteSubnetRequest withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public Request<DeleteSubnetRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteSubnetRequest>
public String toString()
toString
in class Object
Object.toString()
public DeleteSubnetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.