@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachInternetGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AttachInternetGatewayRequest>
Contains the parameters for AttachInternetGateway.
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; useful for testing and debugging.
|
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.