|
||||||||||
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
Describes a customer gateway.
Constructor Summary | |
---|---|
CustomerGateway()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getBgpAsn()
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). |
String |
getCustomerGatewayId()
The ID of the customer gateway. |
String |
getIpAddress()
The Internet-routable IP address of the customer gateway's outside interface. |
String |
getState()
The current state of the customer gateway. |
List<Tag> |
getTags()
Any tags assigned to the customer gateway. |
String |
getType()
The type of VPN connection the customer gateway supports. |
int |
hashCode()
|
void |
setBgpAsn(String bgpAsn)
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). |
void |
setCustomerGatewayId(String customerGatewayId)
The ID of the customer gateway. |
void |
setIpAddress(String ipAddress)
The Internet-routable IP address of the customer gateway's outside interface. |
void |
setState(String state)
The current state of the customer gateway. |
void |
setTags(Collection<Tag> tags)
Any tags assigned to the customer gateway. |
void |
setType(String type)
The type of VPN connection the customer gateway supports. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CustomerGateway |
withBgpAsn(String bgpAsn)
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). |
CustomerGateway |
withCustomerGatewayId(String customerGatewayId)
The ID of the customer gateway. |
CustomerGateway |
withIpAddress(String ipAddress)
The Internet-routable IP address of the customer gateway's outside interface. |
CustomerGateway |
withState(String state)
The current state of the customer gateway. |
CustomerGateway |
withTags(Collection<Tag> tags)
Any tags assigned to the customer gateway. |
CustomerGateway |
withTags(Tag... tags)
Any tags assigned to the customer gateway. |
CustomerGateway |
withType(String type)
The type of VPN connection the customer gateway supports. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CustomerGateway()
Method Detail |
---|
public String getCustomerGatewayId()
public void setCustomerGatewayId(String customerGatewayId)
customerGatewayId
- 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
- The ID of the customer gateway.
public String getState()
public void setState(String state)
state
- The current state of the customer gateway.public CustomerGateway withState(String state)
Returns a reference to this object so that method calls can be chained together.
state
- The current state of the customer gateway.
public String getType()
public void setType(String type)
type
- 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
- The type of VPN connection the customer gateway supports.
public String getIpAddress()
public void setIpAddress(String ipAddress)
ipAddress
- 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
- The Internet-routable IP address of the customer gateway's outside
interface.
public String getBgpAsn()
public void setBgpAsn(String bgpAsn)
bgpAsn
- 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
- The customer gateway's Border Gateway Protocol (BGP) Autonomous System
Number (ASN).
public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- Any tags assigned to the customer gateway.public CustomerGateway withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- Any tags assigned to the customer gateway.
public CustomerGateway withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- Any tags assigned to the customer gateway.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |