public class DeleteVpnConnectionRequest extends AmazonWebServiceRequest implements java.io.Serializable
DeleteVpnConnection operation.
Deletes a VPN connection. Use this if you want to delete a VPC and all its associated components. Another reason to use this operation is if you believe the tunnel credentials for your VPN connection have been compromised. In that situation, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or VPN gateway. If you create a new VPN connection, you must reconfigure the customer gateway using the new configuration information returned with the new VPN connection ID.
If you're deleting the VPC and all its associated parts, we recommend you detach the VPN gateway from the VPC and delete the VPC before deleting the VPN connection.
| コンストラクタと説明 |
|---|
DeleteVpnConnectionRequest()
Default constructor for a new DeleteVpnConnectionRequest object.
|
DeleteVpnConnectionRequest(java.lang.String vpnConnectionId)
Constructs a new DeleteVpnConnectionRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getVpnConnectionId()
The ID of the VPN connection to delete
|
int |
hashCode() |
void |
setVpnConnectionId(java.lang.String vpnConnectionId)
The ID of the VPN connection to delete
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteVpnConnectionRequest |
withVpnConnectionId(java.lang.String vpnConnectionId)
The ID of the VPN connection to delete
Returns a reference to this object so that method calls can be chained together.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DeleteVpnConnectionRequest()
public DeleteVpnConnectionRequest(java.lang.String vpnConnectionId)
vpnConnectionId - The ID of the VPN connection to deletepublic java.lang.String getVpnConnectionId()
public void setVpnConnectionId(java.lang.String vpnConnectionId)
vpnConnectionId - The ID of the VPN connection to deletepublic DeleteVpnConnectionRequest withVpnConnectionId(java.lang.String vpnConnectionId)
Returns a reference to this object so that method calls can be chained together.
vpnConnectionId - The ID of the VPN connection to deletepublic 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