|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DeleteVpnConnectionRequest
public class DeleteVpnConnectionRequest
Container for the parameters to the 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.
AmazonEC2.deleteVpnConnection(DeleteVpnConnectionRequest)
,
Serialized FormConstructor Summary | |
---|---|
DeleteVpnConnectionRequest()
Default constructor for a new DeleteVpnConnectionRequest object. |
|
DeleteVpnConnectionRequest(String vpnConnectionId)
Constructs a new DeleteVpnConnectionRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getVpnConnectionId()
The ID of the VPN connection to delete |
int |
hashCode()
|
void |
setVpnConnectionId(String vpnConnectionId)
The ID of the VPN connection to delete |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteVpnConnectionRequest |
withVpnConnectionId(String vpnConnectionId)
The ID of the VPN connection to delete |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteVpnConnectionRequest()
public DeleteVpnConnectionRequest(String vpnConnectionId)
vpnConnectionId
- The ID of the VPN connection to deleteMethod Detail |
---|
public String getVpnConnectionId()
public void setVpnConnectionId(String vpnConnectionId)
vpnConnectionId
- The ID of the VPN connection to deletepublic DeleteVpnConnectionRequest withVpnConnectionId(String vpnConnectionId)
Returns a reference to this object so that method calls can be chained together.
vpnConnectionId
- The ID of the VPN connection to delete
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |