public class DetachInternetGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DetachInternetGatewayRequest>
DetachInternetGateway operation.
Detaches an Internet gateway from a VPC, disabling connectivity between the Internet and the VPC. The VPC must not contain any running instances with Elastic IP addresses.
NOOP| Constructor and Description |
|---|
DetachInternetGatewayRequest() |
| Modifier and Type | Method and Description |
|---|---|
DetachInternetGatewayRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<DetachInternetGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getInternetGatewayId()
The ID of the Internet gateway.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachInternetGatewayRequest |
withInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway.
|
DetachInternetGatewayRequest |
withVpcId(String vpcId)
The ID of the VPC.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getInternetGatewayId()
public void setInternetGatewayId(String internetGatewayId)
internetGatewayId - The ID of the Internet gateway.public DetachInternetGatewayRequest 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 String getVpcId()
public void setVpcId(String vpcId)
vpcId - The ID of the VPC.public DetachInternetGatewayRequest withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId - The ID of the VPC.public Request<DetachInternetGatewayRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DetachInternetGatewayRequest>public String toString()
toString in class ObjectObject.toString()public DetachInternetGatewayRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.