public class DeleteSubnetRequest extends AmazonWebServiceRequest implements java.io.Serializable
DeleteSubnet operation.
Deletes a subnet from a VPC. You must terminate all running instances in the subnet before deleting it, otherwise Amazon VPC returns an error.
| コンストラクタと説明 |
|---|
DeleteSubnetRequest()
Default constructor for a new DeleteSubnetRequest object.
|
DeleteSubnetRequest(java.lang.String subnetId)
Constructs a new DeleteSubnetRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSubnetId()
The ID of the subnet you want to delete.
|
int |
hashCode() |
void |
setSubnetId(java.lang.String subnetId)
The ID of the subnet you want to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteSubnetRequest |
withSubnetId(java.lang.String subnetId)
The ID of the subnet you want to delete.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DeleteSubnetRequest()
public DeleteSubnetRequest(java.lang.String subnetId)
subnetId - The ID of the subnet you want to delete.public java.lang.String getSubnetId()
public void setSubnetId(java.lang.String subnetId)
subnetId - The ID of the subnet you want to delete.public DeleteSubnetRequest withSubnetId(java.lang.String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId - The ID of the subnet you want to delete.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object