public class DeleteVpnGatewayRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeleteVpnGatewayRequest>
DeleteVpnGateway operation
.
Deletes the specified virtual private gateway. We recommend that before you delete a virtual private gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the virtual private gateway if you plan to delete and recreate the VPN connection between your VPC and your network.
NOOP
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 virtual private gateway.
|
int |
hashCode() |
void |
setVpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteVpnGatewayRequest |
withVpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteVpnGatewayRequest()
public DeleteVpnGatewayRequest(String vpnGatewayId)
vpnGatewayId
- The ID of the virtual private gateway.public String getVpnGatewayId()
public void setVpnGatewayId(String vpnGatewayId)
vpnGatewayId
- The ID of the virtual private gateway.public DeleteVpnGatewayRequest withVpnGatewayId(String vpnGatewayId)
Returns a reference to this object so that method calls can be chained together.
vpnGatewayId
- The ID of the virtual private gateway.public Request<DeleteVpnGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteVpnGatewayRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.