com.amazonaws.services.ec2.model
Class VpnConnection

java.lang.Object
  extended by com.amazonaws.services.ec2.model.VpnConnection

public class VpnConnection
extends Object

Vpn Connection


Constructor Summary
VpnConnection()
           
 
Method Summary
 String getCustomerGatewayConfiguration()
          Returns the value of the CustomerGatewayConfiguration property for this object.
 String getCustomerGatewayId()
          Returns the value of the CustomerGatewayId property for this object.
 String getState()
          Returns the value of the State property for this object.
 String getType()
          Returns the value of the Type property for this object.
 String getVpnConnectionId()
          Returns the value of the VpnConnectionId property for this object.
 String getVpnGatewayId()
          Returns the value of the VpnGatewayId property for this object.
 void setCustomerGatewayConfiguration(String customerGatewayConfiguration)
          Sets the value of the CustomerGatewayConfiguration property for this object.
 void setCustomerGatewayId(String customerGatewayId)
          Sets the value of the CustomerGatewayId property for this object.
 void setState(String state)
          Sets the value of the State property for this object.
 void setType(String type)
          Sets the value of the Type property for this object.
 void setVpnConnectionId(String vpnConnectionId)
          Sets the value of the VpnConnectionId property for this object.
 void setVpnGatewayId(String vpnGatewayId)
          Sets the value of the VpnGatewayId property for this object.
 VpnConnection withCustomerGatewayConfiguration(String customerGatewayConfiguration)
          Sets the value of the CustomerGatewayConfiguration property for this object.
 VpnConnection withCustomerGatewayId(String customerGatewayId)
          Sets the value of the CustomerGatewayId property for this object.
 VpnConnection withState(String state)
          Sets the value of the State property for this object.
 VpnConnection withType(String type)
          Sets the value of the Type property for this object.
 VpnConnection withVpnConnectionId(String vpnConnectionId)
          Sets the value of the VpnConnectionId property for this object.
 VpnConnection withVpnGatewayId(String vpnGatewayId)
          Sets the value of the VpnGatewayId property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VpnConnection

public VpnConnection()
Method Detail

getVpnConnectionId

public String getVpnConnectionId()
Returns the value of the VpnConnectionId property for this object.

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

setVpnConnectionId

public void setVpnConnectionId(String vpnConnectionId)
Sets the value of the VpnConnectionId property for this object.

Parameters:
vpnConnectionId - The new value for the VpnConnectionId property for this object.

withVpnConnectionId

public VpnConnection withVpnConnectionId(String vpnConnectionId)
Sets the value of the VpnConnectionId property for this object.

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

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

getState

public String getState()
Returns the value of the State property for this object.

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

setState

public void setState(String state)
Sets the value of the State property for this object.

Parameters:
state - The new value for the State property for this object.

withState

public VpnConnection withState(String state)
Sets the value of the State property for this object.

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

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

getCustomerGatewayConfiguration

public String getCustomerGatewayConfiguration()
Returns the value of the CustomerGatewayConfiguration property for this object.

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

setCustomerGatewayConfiguration

public void setCustomerGatewayConfiguration(String customerGatewayConfiguration)
Sets the value of the CustomerGatewayConfiguration property for this object.

Parameters:
customerGatewayConfiguration - The new value for the CustomerGatewayConfiguration property for this object.

withCustomerGatewayConfiguration

public VpnConnection withCustomerGatewayConfiguration(String customerGatewayConfiguration)
Sets the value of the CustomerGatewayConfiguration property for this object.

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

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

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