public class AttachInternetGatewayRequest extends AmazonWebServiceRequest implements java.io.Serializable
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, go to the Amazon Virtual Private Cloud User Guide.
| コンストラクタと説明 |
|---|
AttachInternetGatewayRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInternetGatewayId()
The ID of the Internet gateway to attach.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setInternetGatewayId(java.lang.String internetGatewayId)
The ID of the Internet gateway to attach.
|
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.
|
AttachInternetGatewayRequest |
withInternetGatewayId(java.lang.String internetGatewayId)
The ID of the Internet gateway to attach.
|
AttachInternetGatewayRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getInternetGatewayId()
public void setInternetGatewayId(java.lang.String internetGatewayId)
internetGatewayId - The ID of the Internet gateway to attach.public AttachInternetGatewayRequest withInternetGatewayId(java.lang.String internetGatewayId)
Returns a reference to this object so that method calls can be chained together.
internetGatewayId - The ID of the Internet gateway to attach.public java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId - The ID of the VPC.public AttachInternetGatewayRequest withVpcId(java.lang.String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId - The ID of the VPC.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object