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


Constructor Summary
CreateCustomerGatewayRequest()
           
 
Method Summary
 Integer getBgpAsn()
          The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
 String getPublicIp()
           
 String getType()
          The type of VPN connection this customer gateway supports.
 void setBgpAsn(Integer bgpAsn)
          The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
 void setPublicIp(String publicIp)
           
 void setType(String type)
          The type of VPN connection this customer gateway supports.
 String toString()
           
 CreateCustomerGatewayRequest withBgpAsn(Integer bgpAsn)
          The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
 CreateCustomerGatewayRequest withPublicIp(String publicIp)
           Returns a reference to this object so that method calls can be chained together.
 CreateCustomerGatewayRequest withType(String type)
          The type of VPN connection this customer gateway supports.
 
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

CreateCustomerGatewayRequest

public CreateCustomerGatewayRequest()
Method Detail

getType

public String getType()
The type of VPN connection this customer gateway supports.

Returns:
The type of VPN connection this customer gateway supports.

setType

public void setType(String type)
The type of VPN connection this customer gateway supports.

Parameters:
type - The type of VPN connection this customer gateway supports.

withType

public CreateCustomerGatewayRequest withType(String type)
The type of VPN connection this customer gateway supports.

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

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

getPublicIp

public String getPublicIp()
Returns:

setPublicIp

public void setPublicIp(String publicIp)
Parameters:
publicIp -

withPublicIp

public CreateCustomerGatewayRequest withPublicIp(String publicIp)

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

Parameters:
publicIp -
Returns:
A reference to this updated object so that method calls can be chained together.

getBgpAsn

public Integer getBgpAsn()
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

Returns:
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

setBgpAsn

public void setBgpAsn(Integer bgpAsn)
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

Parameters:
bgpAsn - The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

withBgpAsn

public CreateCustomerGatewayRequest withBgpAsn(Integer bgpAsn)
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

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

Parameters:
bgpAsn - The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
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.