public class DeleteInternetGatewayRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<DeleteInternetGatewayRequest>
DeleteInternetGateway operation.
Deletes the specified Internet gateway. You must detach the Internet gateway from the VPC before you can delete it.
| Constructor and Description |
|---|
DeleteInternetGatewayRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Request<DeleteInternetGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getInternetGatewayId()
The ID of the Internet gateway.
|
int |
hashCode() |
void |
setInternetGatewayId(java.lang.String internetGatewayId)
The ID of the Internet gateway.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteInternetGatewayRequest |
withInternetGatewayId(java.lang.String internetGatewayId)
The ID of the Internet gateway.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInternetGatewayId()
public void setInternetGatewayId(java.lang.String internetGatewayId)
internetGatewayId - The ID of the Internet gateway.public DeleteInternetGatewayRequest withInternetGatewayId(java.lang.String internetGatewayId)
Returns a reference to this object so that method calls can be chained together.
internetGatewayId - The ID of the Internet gateway.public Request<DeleteInternetGatewayRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeleteInternetGatewayRequest>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.