public class DeleteInternetGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteInternetGatewayRequest>
DeleteInternetGateway operation
.
Deletes the specified Internet gateway. You must detach the Internet gateway from the VPC before you can delete it.
NOOP
Constructor and Description |
---|
DeleteInternetGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteInternetGatewayRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<DeleteInternetGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getInternetGatewayId()
The ID of the Internet gateway.
|
int |
hashCode() |
void |
setInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteInternetGatewayRequest |
withInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getInternetGatewayId()
public void setInternetGatewayId(String internetGatewayId)
internetGatewayId
- The ID of the Internet gateway.public DeleteInternetGatewayRequest withInternetGatewayId(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 String toString()
toString
in class Object
Object.toString()
public DeleteInternetGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.