public class DeleteInternetGatewayRequest extends AmazonWebServiceRequest implements 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(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.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, 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()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.