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.
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.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.