public class DeleteVpnConnectionRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeleteVpnConnectionRequest>
DeleteVpnConnection operation
.
Deletes the specified VPN connection.
If you're deleting the VPC and its associated components, we recommend that you detach the virtual private gateway from the VPC and delete the VPC before deleting the VPN connection. If you believe that the tunnel credentials for your VPN connection have been compromised, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or virtual private 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.
NOOP
Constructor and Description |
---|
DeleteVpnConnectionRequest()
Default constructor for a new DeleteVpnConnectionRequest object.
|
DeleteVpnConnectionRequest(String vpnConnectionId)
Constructs a new DeleteVpnConnectionRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Request<DeleteVpnConnectionRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getVpnConnectionId()
The ID of the VPN connection.
|
int |
hashCode() |
void |
setVpnConnectionId(String vpnConnectionId)
The ID of the VPN connection.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteVpnConnectionRequest |
withVpnConnectionId(String vpnConnectionId)
The ID of the VPN connection.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteVpnConnectionRequest()
public DeleteVpnConnectionRequest(String vpnConnectionId)
vpnConnectionId
- The ID of the VPN connection.public String getVpnConnectionId()
public void setVpnConnectionId(String vpnConnectionId)
vpnConnectionId
- The ID of the VPN connection.public 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.public Request<DeleteVpnConnectionRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteVpnConnectionRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.