@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachInternetGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AttachInternetGatewayRequest>
NOOP
Constructor and Description |
---|
AttachInternetGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
AttachInternetGatewayRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<AttachInternetGatewayRequest> |
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.
|
AttachInternetGatewayRequest |
withInternetGatewayId(String internetGatewayId)
The ID of the internet gateway.
|
AttachInternetGatewayRequest |
withVpcId(String vpcId)
The ID of the VPC.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setInternetGatewayId(String internetGatewayId)
The ID of the internet gateway.
internetGatewayId
- The ID of the internet gateway.public String getInternetGatewayId()
The ID of the internet gateway.
public AttachInternetGatewayRequest withInternetGatewayId(String internetGatewayId)
The ID of the internet gateway.
internetGatewayId
- The ID of the internet gateway.public void setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public AttachInternetGatewayRequest withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public Request<AttachInternetGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AttachInternetGatewayRequest>
public String toString()
toString
in class Object
Object.toString()
public AttachInternetGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()