public class DetachInternetGatewayRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DetachInternetGatewayRequest>
Contains the parameters for DetachInternetGateway.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
internetGatewayId
The ID of the Internet gateway.
|
private java.lang.String |
vpcId
The ID of the VPC.
|
NOOP
Constructor and Description |
---|
DetachInternetGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
DetachInternetGatewayRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<DetachInternetGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getInternetGatewayId()
The ID of the Internet gateway.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setInternetGatewayId(java.lang.String internetGatewayId)
The ID of the Internet gateway.
|
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachInternetGatewayRequest |
withInternetGatewayId(java.lang.String internetGatewayId)
The ID of the Internet gateway.
|
DetachInternetGatewayRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String internetGatewayId
The ID of the Internet gateway.
private java.lang.String vpcId
The ID of the VPC.
public void setInternetGatewayId(java.lang.String internetGatewayId)
The ID of the Internet gateway.
internetGatewayId
- The ID of the Internet gateway.public java.lang.String getInternetGatewayId()
The ID of the Internet gateway.
public DetachInternetGatewayRequest withInternetGatewayId(java.lang.String internetGatewayId)
The ID of the Internet gateway.
internetGatewayId
- The ID of the Internet gateway.public void setVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public java.lang.String getVpcId()
The ID of the VPC.
public DetachInternetGatewayRequest withVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public Request<DetachInternetGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DetachInternetGatewayRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DetachInternetGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()