public class DeleteCustomerGatewayRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<DeleteCustomerGatewayRequest>
DeleteCustomerGateway operation.
Deletes the specified customer gateway. You must delete the VPN connection before you can delete the customer gateway.
| Constructor and Description |
|---|
DeleteCustomerGatewayRequest()
Default constructor for a new DeleteCustomerGatewayRequest object.
|
DeleteCustomerGatewayRequest(java.lang.String customerGatewayId)
Constructs a new DeleteCustomerGatewayRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCustomerGatewayId()
The ID of the customer gateway.
|
Request<DeleteCustomerGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
int |
hashCode() |
void |
setCustomerGatewayId(java.lang.String customerGatewayId)
The ID of the customer gateway.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteCustomerGatewayRequest |
withCustomerGatewayId(java.lang.String customerGatewayId)
The ID of the customer gateway.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DeleteCustomerGatewayRequest()
public DeleteCustomerGatewayRequest(java.lang.String customerGatewayId)
customerGatewayId - The ID of the customer gateway.public java.lang.String getCustomerGatewayId()
public void setCustomerGatewayId(java.lang.String customerGatewayId)
customerGatewayId - The ID of the customer gateway.public DeleteCustomerGatewayRequest withCustomerGatewayId(java.lang.String customerGatewayId)
Returns a reference to this object so that method calls can be chained together.
customerGatewayId - The ID of the customer gateway.public Request<DeleteCustomerGatewayRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeleteCustomerGatewayRequest>public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.