public class AttachInternetGatewayRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<AttachInternetGatewayRequest>
AttachInternetGateway operation
.
Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, see the Amazon Virtual Private Cloud User Guide .
NOOP
Constructor and Description |
---|
AttachInternetGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getInternetGatewayId()
public void setInternetGatewayId(String internetGatewayId)
internetGatewayId
- The ID of the Internet gateway.public AttachInternetGatewayRequest 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 AttachInternetGatewayRequest 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<AttachInternetGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AttachInternetGatewayRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.