public class AttachVpnGatewayRequest extends AmazonWebServiceRequest implements java.io.Serializable
AttachVpnGateway operation.
Attaches a VPN gateway to a VPC. This is the last step required to get your VPC fully connected to your data center before launching instances in it. For more information, go to Process for Using Amazon VPC in the Amazon Virtual Private Cloud Developer Guide.
| コンストラクタと説明 |
|---|
AttachVpnGatewayRequest()
Default constructor for a new AttachVpnGatewayRequest object.
|
AttachVpnGatewayRequest(java.lang.String vpnGatewayId,
java.lang.String vpcId)
Constructs a new AttachVpnGatewayRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getVpcId()
The ID of the VPC to attach to the VPN gateway.
|
java.lang.String |
getVpnGatewayId()
The ID of the VPN gateway to attach to the VPC.
|
int |
hashCode() |
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC to attach to the VPN gateway.
|
void |
setVpnGatewayId(java.lang.String vpnGatewayId)
The ID of the VPN gateway to attach to the VPC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachVpnGatewayRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC to attach to the VPN gateway.
|
AttachVpnGatewayRequest |
withVpnGatewayId(java.lang.String vpnGatewayId)
The ID of the VPN gateway to attach to the VPC.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic AttachVpnGatewayRequest()
public AttachVpnGatewayRequest(java.lang.String vpnGatewayId,
java.lang.String vpcId)
vpnGatewayId - The ID of the VPN gateway to attach to the VPC.vpcId - The ID of the VPC to attach to the VPN gateway.public java.lang.String getVpnGatewayId()
public void setVpnGatewayId(java.lang.String vpnGatewayId)
vpnGatewayId - The ID of the VPN gateway to attach to the VPC.public AttachVpnGatewayRequest withVpnGatewayId(java.lang.String vpnGatewayId)
Returns a reference to this object so that method calls can be chained together.
vpnGatewayId - The ID of the VPN gateway to attach to the VPC.public java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId - The ID of the VPC to attach to the VPN gateway.public AttachVpnGatewayRequest 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 to attach to the VPN gateway.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