com.amazonaws.services.ec2.model
Class AttachVpnGatewayRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.AttachVpnGatewayRequest

public class AttachVpnGatewayRequest
extends AmazonWebServiceRequest


Constructor Summary
AttachVpnGatewayRequest()
           
 
Method Summary
 String getVpcId()
          The ID of the VPC to attach to the VPN gateway.
 String getVpnGatewayId()
          The ID of the VPN gateway to attach to the VPC.
 void setVpcId(String vpcId)
          The ID of the VPC to attach to the VPN gateway.
 void setVpnGatewayId(String vpnGatewayId)
          The ID of the VPN gateway to attach to the VPC.
 String toString()
           
 AttachVpnGatewayRequest withVpcId(String vpcId)
          The ID of the VPC to attach to the VPN gateway.
 AttachVpnGatewayRequest withVpnGatewayId(String vpnGatewayId)
          The ID of the VPN gateway to attach to the VPC.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttachVpnGatewayRequest

public AttachVpnGatewayRequest()
Method Detail

getVpnGatewayId

public String getVpnGatewayId()
The ID of the VPN gateway to attach to the VPC.

Returns:
The ID of the VPN gateway to attach to the VPC.

setVpnGatewayId

public void setVpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway to attach to the VPC.

Parameters:
vpnGatewayId - The ID of the VPN gateway to attach to the VPC.

withVpnGatewayId

public AttachVpnGatewayRequest withVpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway to attach to the VPC.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpnGatewayId - The ID of the VPN gateway to attach to the VPC.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcId

public String getVpcId()
The ID of the VPC to attach to the VPN gateway.

Returns:
The ID of the VPC to attach to the VPN gateway.

setVpcId

public void setVpcId(String vpcId)
The ID of the VPC to attach to the VPN gateway.

Parameters:
vpcId - The ID of the VPC to attach to the VPN gateway.

withVpcId

public AttachVpnGatewayRequest withVpcId(String vpcId)
The ID of the VPC to attach to the VPN gateway.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcId - The ID of the VPC to attach to the VPN gateway.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.