|
|||||||
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 | |
---|---|
java.lang.String |
getBgpAsn()
Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). |
java.lang.String |
getCustomerGatewayId()
Specifies the ID of the customer gateway. |
java.lang.String |
getIpAddress()
Contains the Internet-routable IP address of the customer gateway's outside interface. |
java.lang.String |
getState()
Describes the current state of the customer gateway. |
java.util.List<Tag> |
getTags()
A list of tags for the CustomerGateway. |
java.lang.String |
getType()
Specifies the type of VPN connection the customer gateway supports. |
void |
setBgpAsn(java.lang.String bgpAsn)
Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). |
void |
setCustomerGatewayId(java.lang.String customerGatewayId)
Specifies the ID of the customer gateway. |
void |
setIpAddress(java.lang.String ipAddress)
Contains the Internet-routable IP address of the customer gateway's outside interface. |
void |
setState(java.lang.String state)
Describes the current state of the customer gateway. |
void |
setTags(java.util.Collection<Tag> tags)
A list of tags for the CustomerGateway. |
void |
setType(java.lang.String type)
Specifies the type of VPN connection the customer gateway supports. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CustomerGateway |
withBgpAsn(java.lang.String bgpAsn)
Specifies the customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). |
CustomerGateway |
withCustomerGatewayId(java.lang.String customerGatewayId)
Specifies the ID of the customer gateway. |
CustomerGateway |
withIpAddress(java.lang.String ipAddress)
Contains the Internet-routable IP address of the customer gateway's outside interface. |
CustomerGateway |
withState(java.lang.String state)
Describes the current state of the customer gateway. |
CustomerGateway |
withTags(java.util.Collection<Tag> tags)
A list of tags for the CustomerGateway. |
CustomerGateway |
withTags(Tag... tags)
A list of tags for the CustomerGateway. |
CustomerGateway |
withType(java.lang.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 java.lang.String getCustomerGatewayId()
public void setCustomerGatewayId(java.lang.String customerGatewayId)
customerGatewayId
- Specifies the ID of the customer gateway.public CustomerGateway withCustomerGatewayId(java.lang.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 java.lang.String getState()
pending
, available
, deleting
,
and deleted
.
pending
, available
, deleting
,
and deleted
.public void setState(java.lang.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(java.lang.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 java.lang.String getType()
public void setType(java.lang.String type)
type
- Specifies the type of VPN connection the customer gateway supports.public CustomerGateway withType(java.lang.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 java.lang.String getIpAddress()
public void setIpAddress(java.lang.String ipAddress)
ipAddress
- Contains the Internet-routable IP address of the customer gateway's
outside interface.public CustomerGateway withIpAddress(java.lang.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 java.lang.String getBgpAsn()
public void setBgpAsn(java.lang.String bgpAsn)
bgpAsn
- Specifies the customer gateway's Border Gateway Protocol (BGP)
Autonomous System Number (ASN).public CustomerGateway withBgpAsn(java.lang.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 java.util.List<Tag> getTags()
public void setTags(java.util.Collection<Tag> tags)
tags
- A list of tags for the CustomerGateway.public CustomerGateway withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for the CustomerGateway.
public CustomerGateway withTags(java.util.Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for the CustomerGateway.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |