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


Constructor Summary
CreateVpnConnectionRequest()
           
 
Method Summary
 String getCustomerGatewayId()
          The ID of the customer gateway.
 String getType()
          The type of VPN connection.
 String getVpnGatewayId()
          The ID of the VPN gateway.
 void setCustomerGatewayId(String customerGatewayId)
          The ID of the customer gateway.
 void setType(String type)
          The type of VPN connection.
 void setVpnGatewayId(String vpnGatewayId)
          The ID of the VPN gateway.
 String toString()
           
 CreateVpnConnectionRequest withCustomerGatewayId(String customerGatewayId)
          The ID of the customer gateway.
 CreateVpnConnectionRequest withType(String type)
          The type of VPN connection.
 CreateVpnConnectionRequest withVpnGatewayId(String vpnGatewayId)
          The ID of the VPN gateway.
 
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

CreateVpnConnectionRequest

public CreateVpnConnectionRequest()
Method Detail

getType

public String getType()
The type of VPN connection.

Returns:
The type of VPN connection.

setType

public void setType(String type)
The type of VPN connection.

Parameters:
type - The type of VPN connection.

withType

public CreateVpnConnectionRequest withType(String type)
The type of VPN connection.

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

Parameters:
type - The type of VPN connection.
Returns:
A reference to this updated object so that method calls can be chained together.

getCustomerGatewayId

public String getCustomerGatewayId()
The ID of the customer gateway.

Returns:
The ID of the customer gateway.

setCustomerGatewayId

public void setCustomerGatewayId(String customerGatewayId)
The ID of the customer gateway.

Parameters:
customerGatewayId - The ID of the customer gateway.

withCustomerGatewayId

public CreateVpnConnectionRequest withCustomerGatewayId(String customerGatewayId)
The ID of the customer gateway.

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

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

getVpnGatewayId

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

Returns:
The ID of the VPN gateway.

setVpnGatewayId

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

Parameters:
vpnGatewayId - The ID of the VPN gateway.

withVpnGatewayId

public CreateVpnConnectionRequest withVpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway.

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

Parameters:
vpnGatewayId - The ID of 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.