public class DeleteCustomerGatewayRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeleteCustomerGatewayRequest>
DeleteCustomerGateway operation
.
Deletes a customer gateway. You must delete the VPN connection before deleting the customer gateway.
You can have a single active customer gateway per AWS account (active means that you've created a VPN connection with that customer gateway). AWS might delete any customer gateway you leave inactive for an extended period of time.
Constructor and Description |
---|
DeleteCustomerGatewayRequest()
Default constructor for a new DeleteCustomerGatewayRequest object.
|
DeleteCustomerGatewayRequest(String customerGatewayId)
Constructs a new DeleteCustomerGatewayRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCustomerGatewayId()
The ID of the customer gateway to delete.
|
Request<DeleteCustomerGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
int |
hashCode() |
void |
setCustomerGatewayId(String customerGatewayId)
The ID of the customer gateway to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteCustomerGatewayRequest |
withCustomerGatewayId(String customerGatewayId)
The ID of the customer gateway to delete.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DeleteCustomerGatewayRequest()
public DeleteCustomerGatewayRequest(String customerGatewayId)
customerGatewayId
- The ID of the customer gateway to delete.public String getCustomerGatewayId()
public void setCustomerGatewayId(String customerGatewayId)
customerGatewayId
- The ID of the customer gateway to delete.public DeleteCustomerGatewayRequest withCustomerGatewayId(String customerGatewayId)
Returns a reference to this object so that method calls can be chained together.
customerGatewayId
- The ID of the customer gateway to delete.public Request<DeleteCustomerGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteCustomerGatewayRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.