|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.CustomerGateway
public class CustomerGateway
The CustomerGateway data type.
Constructor Summary | |
---|---|
CustomerGateway()
|
Method Summary | |
---|---|
String |
getBgpAsn()
Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). |
String |
getCustomerGatewayId()
Specifies the ID of the customer gateway. |
String |
getIpAddress()
Contains the Internet-routable IP address of the customer gateway's outside interface. |
String |
getState()
Describes the current state of the customer gateway. |
String |
getType()
Specifies the type of VPN connection the customer gateway supports. |
void |
setBgpAsn(String bgpAsn)
Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). |
void |
setCustomerGatewayId(String customerGatewayId)
Specifies the ID of the customer gateway. |
void |
setIpAddress(String ipAddress)
Contains the Internet-routable IP address of the customer gateway's outside interface. |
void |
setState(String state)
Describes the current state of the customer gateway. |
void |
setType(String type)
Specifies the type of VPN connection the customer gateway supports. |
String |
toString()
|
CustomerGateway |
withBgpAsn(String bgpAsn)
Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). |
CustomerGateway |
withCustomerGatewayId(String customerGatewayId)
Specifies the ID of the customer gateway. |
CustomerGateway |
withIpAddress(String ipAddress)
Contains the Internet-routable IP address of the customer gateway's outside interface. |
CustomerGateway |
withState(String state)
Describes the current state of the customer gateway. |
CustomerGateway |
withType(String type)
Specifies the type of VPN connection the customer gateway supports. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CustomerGateway()
Method Detail |
---|
public String getCustomerGatewayId()
public void setCustomerGatewayId(String customerGatewayId)
customerGatewayId
- Specifies the ID of the customer gateway.public CustomerGateway withCustomerGatewayId(String customerGatewayId)
Returns a reference to this object so that method calls can be chained together.
customerGatewayId
- Specifies the ID of the customer gateway.
public String getState()
pending
, available
, deleting
,
and deleted
.
pending
, available
, deleting
,
and deleted
.public void setState(String state)
pending
, available
, deleting
,
and deleted
.
state
- Describes the current state of the customer gateway. Valid values are
pending
, available
, deleting
,
and deleted
.public CustomerGateway withState(String state)
pending
, available
, deleting
,
and deleted
.
Returns a reference to this object so that method calls can be chained together.
state
- Describes the current state of the customer gateway. Valid values are
pending
, available
, deleting
,
and deleted
.
public String getType()
public void setType(String type)
type
- Specifies the type of VPN connection the customer gateway supports.public CustomerGateway withType(String type)
Returns a reference to this object so that method calls can be chained together.
type
- Specifies the type of VPN connection the customer gateway supports.
public String getIpAddress()
public void setIpAddress(String ipAddress)
ipAddress
- Contains the Internet-routable IP address of the customer gateway's
outside interface.public CustomerGateway withIpAddress(String ipAddress)
Returns a reference to this object so that method calls can be chained together.
ipAddress
- Contains the Internet-routable IP address of the customer gateway's
outside interface.
public String getBgpAsn()
public void setBgpAsn(String bgpAsn)
bgpAsn
- Specifies the customer gateway's Border Gateway Protocol (BGP)
Autonomous System Number (ASN).public CustomerGateway withBgpAsn(String bgpAsn)
Returns a reference to this object so that method calls can be chained together.
bgpAsn
- Specifies the customer gateway's Border Gateway Protocol (BGP)
Autonomous System Number (ASN).
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |