public class DeleteVpnGatewayRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeleteVpnGatewayRequest>
DeleteVpnGateway operation
.
Deletes a VPN gateway. Use this when you want to delete a VPC and all its associated components because you no longer need them. We recommend that before you delete a VPN gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the VPN gateway if you just want to delete and re-create the VPN connection between your VPC and data center.
Constructor and Description |
---|
DeleteVpnGatewayRequest()
Default constructor for a new DeleteVpnGatewayRequest object.
|
DeleteVpnGatewayRequest(String vpnGatewayId)
Constructs a new DeleteVpnGatewayRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Request<DeleteVpnGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getVpnGatewayId()
The ID of the VPN gateway to delete.
|
int |
hashCode() |
void |
setVpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteVpnGatewayRequest |
withVpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway to delete.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DeleteVpnGatewayRequest()
public DeleteVpnGatewayRequest(String vpnGatewayId)
vpnGatewayId
- The ID of the VPN gateway to delete.public String getVpnGatewayId()
public void setVpnGatewayId(String vpnGatewayId)
vpnGatewayId
- The ID of the VPN gateway to delete.public DeleteVpnGatewayRequest withVpnGatewayId(String vpnGatewayId)
Returns a reference to this object so that method calls can be chained together.
vpnGatewayId
- The ID of the VPN gateway to delete.public Request<DeleteVpnGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteVpnGatewayRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.