com.amazonaws.services.ec2.model
Class CreateVpnConnectionRequest

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

public class CreateVpnConnectionRequest
extends AmazonWebServiceRequest

Create Vpn Connection Request


Constructor Summary
CreateVpnConnectionRequest()
           
 
Method Summary
 String getCustomerGatewayId()
          Returns the value of the CustomerGatewayId property for this object.
 String getType()
          Returns the value of the Type property for this object.
 String getVpnGatewayId()
          Returns the value of the VpnGatewayId property for this object.
 void setCustomerGatewayId(String customerGatewayId)
          Sets the value of the CustomerGatewayId property for this object.
 void setType(String type)
          Sets the value of the Type property for this object.
 void setVpnGatewayId(String vpnGatewayId)
          Sets the value of the VpnGatewayId property for this object.
 CreateVpnConnectionRequest withCustomerGatewayId(String customerGatewayId)
          Sets the value of the CustomerGatewayId property for this object.
 CreateVpnConnectionRequest withType(String type)
          Sets the value of the Type property for this object.
 CreateVpnConnectionRequest 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

CreateVpnConnectionRequest

public CreateVpnConnectionRequest()
Method Detail

getType

public String getType()
Returns the value of the Type property for this object.

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

setType

public void setType(String type)
Sets the value of the Type property for this object.

Parameters:
type - The new value for the Type property for this object.

withType

public CreateVpnConnectionRequest withType(String type)
Sets the value of the Type property for this object.

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

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

getCustomerGatewayId

public String getCustomerGatewayId()
Returns the value of the CustomerGatewayId property for this object.

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

setCustomerGatewayId

public void setCustomerGatewayId(String customerGatewayId)
Sets the value of the CustomerGatewayId property for this object.

Parameters:
customerGatewayId - The new value for the CustomerGatewayId property for this object.

withCustomerGatewayId

public CreateVpnConnectionRequest withCustomerGatewayId(String customerGatewayId)
Sets the value of the CustomerGatewayId property for this object.

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

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

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 CreateVpnConnectionRequest 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.


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