public class DeleteInternetGatewayRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeleteInternetGatewayRequest>
DeleteInternetGateway operation
.
Deletes an Internet gateway from your AWS account. The gateway must not be attached to a VPC. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.
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 to be deleted.
|
int |
hashCode() |
void |
setInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway to be deleted.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteInternetGatewayRequest |
withInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway to be deleted.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getInternetGatewayId()
public void setInternetGatewayId(String internetGatewayId)
internetGatewayId
- The ID of the Internet gateway to be deleted.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 to be deleted.public Request<DeleteInternetGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteInternetGatewayRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.