com.amazonaws.services.ec2.model
Class CustomerGateway

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

public class CustomerGateway
extends Object

Customer Gateway


Constructor Summary
CustomerGateway()
           
 
Method Summary
 String getBgpAsn()
          Returns the value of the BgpAsn property for this object.
 String getCustomerGatewayId()
          Returns the value of the CustomerGatewayId property for this object.
 String getIpAddress()
          Returns the value of the IpAddress 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.
 void setBgpAsn(String bgpAsn)
          Sets the value of the BgpAsn property for this object.
 void setCustomerGatewayId(String customerGatewayId)
          Sets the value of the CustomerGatewayId property for this object.
 void setIpAddress(String ipAddress)
          Sets the value of the IpAddress 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.
 CustomerGateway withBgpAsn(String bgpAsn)
          Sets the value of the BgpAsn property for this object.
 CustomerGateway withCustomerGatewayId(String customerGatewayId)
          Sets the value of the CustomerGatewayId property for this object.
 CustomerGateway withIpAddress(String ipAddress)
          Sets the value of the IpAddress property for this object.
 CustomerGateway withState(String state)
          Sets the value of the State property for this object.
 CustomerGateway withType(String type)
          Sets the value of the Type property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerGateway

public CustomerGateway()
Method Detail

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

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

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

getIpAddress

public String getIpAddress()
Returns the value of the IpAddress property for this object.

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

setIpAddress

public void setIpAddress(String ipAddress)
Sets the value of the IpAddress property for this object.

Parameters:
ipAddress - The new value for the IpAddress property for this object.

withIpAddress

public CustomerGateway withIpAddress(String ipAddress)
Sets the value of the IpAddress property for this object.

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

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

getBgpAsn

public String getBgpAsn()
Returns the value of the BgpAsn property for this object.

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

setBgpAsn

public void setBgpAsn(String bgpAsn)
Sets the value of the BgpAsn property for this object.

Parameters:
bgpAsn - The new value for the BgpAsn property for this object.

withBgpAsn

public CustomerGateway withBgpAsn(String bgpAsn)
Sets the value of the BgpAsn property for this object.

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

Parameters:
bgpAsn - The new value for the BgpAsn 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.