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

Attach Vpn Gateway Request


Constructor Summary
AttachVpnGatewayRequest()
           
 
Method Summary
 String getVpcId()
          Returns the value of the VpcId property for this object.
 String getVpnGatewayId()
          Returns the value of the VpnGatewayId property for this object.
 void setVpcId(String vpcId)
          Sets the value of the VpcId property for this object.
 void setVpnGatewayId(String vpnGatewayId)
          Sets the value of the VpnGatewayId property for this object.
 AttachVpnGatewayRequest withVpcId(String vpcId)
          Sets the value of the VpcId property for this object.
 AttachVpnGatewayRequest withVpnGatewayId(String vpnGatewayId)
          Sets the value of the VpnGatewayId property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachVpnGatewayRequest

public AttachVpnGatewayRequest()
Method Detail

getVpnGatewayId

public String getVpnGatewayId()
Returns the value of the VpnGatewayId property for this object.

Returns:
The value of the VpnGatewayId property for this object.

setVpnGatewayId

public void setVpnGatewayId(String vpnGatewayId)
Sets the value of the VpnGatewayId property for this object.

Parameters:
vpnGatewayId - The new value for the VpnGatewayId property for this object.

withVpnGatewayId

public AttachVpnGatewayRequest withVpnGatewayId(String vpnGatewayId)
Sets the value of the VpnGatewayId property for this object.

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

Parameters:
vpnGatewayId - The new value for the VpnGatewayId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcId

public String getVpcId()
Returns the value of the VpcId property for this object.

Returns:
The value of the VpcId property for this object.

setVpcId

public void setVpcId(String vpcId)
Sets the value of the VpcId property for this object.

Parameters:
vpcId - The new value for the VpcId property for this object.

withVpcId

public AttachVpnGatewayRequest withVpcId(String vpcId)
Sets the value of the VpcId property for this object.

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

Parameters:
vpcId - The new value for the VpcId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.


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