com.amazonaws.services.ec2.model
Class CreateCustomerGatewayRequest

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

public class CreateCustomerGatewayRequest
extends AmazonWebServiceRequest

Create Customer Gateway Request


Constructor Summary
CreateCustomerGatewayRequest()
           
 
Method Summary
 Integer getBgpAsn()
          Returns the value of the BgpAsn property for this object.
 String getPublicIp()
          Returns the value of the PublicIp property for this object.
 String getType()
          Returns the value of the Type property for this object.
 void setBgpAsn(Integer bgpAsn)
          Sets the value of the BgpAsn property for this object.
 void setPublicIp(String publicIp)
          Sets the value of the PublicIp property for this object.
 void setType(String type)
          Sets the value of the Type property for this object.
 CreateCustomerGatewayRequest withBgpAsn(Integer bgpAsn)
          Sets the value of the BgpAsn property for this object.
 CreateCustomerGatewayRequest withPublicIp(String publicIp)
          Sets the value of the PublicIp property for this object.
 CreateCustomerGatewayRequest withType(String type)
          Sets the value of the Type 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

CreateCustomerGatewayRequest

public CreateCustomerGatewayRequest()
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 CreateCustomerGatewayRequest 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.

getPublicIp

public String getPublicIp()
Returns the value of the PublicIp property for this object.

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

setPublicIp

public void setPublicIp(String publicIp)
Sets the value of the PublicIp property for this object.

Parameters:
publicIp - The new value for the PublicIp property for this object.

withPublicIp

public CreateCustomerGatewayRequest withPublicIp(String publicIp)
Sets the value of the PublicIp property for this object.

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

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

getBgpAsn

public Integer 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(Integer 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 CreateCustomerGatewayRequest withBgpAsn(Integer 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.