@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomerGateway extends Object implements Serializable, Cloneable
Describes a customer gateway.
Constructor and Description |
---|
CustomerGateway() |
Modifier and Type | Method and Description |
---|---|
CustomerGateway |
clone() |
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 (
pending | available | deleting | deleted ). |
List<Tag> |
getTags()
Any tags assigned to the customer gateway.
|
String |
getType()
The type of VPN connection the customer gateway supports (
ipsec.1 ). |
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 (
pending | available | deleting | deleted ). |
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 (
ipsec.1 ). |
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 (
pending | available | deleting | deleted ). |
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 (
ipsec.1 ). |
public void setBgpAsn(String bgpAsn)
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
bgpAsn
- The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).public String getBgpAsn()
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
public CustomerGateway withBgpAsn(String bgpAsn)
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
bgpAsn
- The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).public void setCustomerGatewayId(String customerGatewayId)
The ID of the customer gateway.
customerGatewayId
- The ID of the customer gateway.public String getCustomerGatewayId()
The ID of the customer gateway.
public CustomerGateway withCustomerGatewayId(String customerGatewayId)
The ID of the customer gateway.
customerGatewayId
- The ID of the customer gateway.public void setIpAddress(String ipAddress)
The Internet-routable IP address of the customer gateway's outside interface.
ipAddress
- The Internet-routable IP address of the customer gateway's outside interface.public String getIpAddress()
The Internet-routable IP address of the customer gateway's outside interface.
public CustomerGateway withIpAddress(String ipAddress)
The Internet-routable IP address of the customer gateway's outside interface.
ipAddress
- The Internet-routable IP address of the customer gateway's outside interface.public void setState(String state)
The current state of the customer gateway (pending | available | deleting | deleted
).
state
- The current state of the customer gateway (pending | available | deleting | deleted
).public String getState()
The current state of the customer gateway (pending | available | deleting | deleted
).
pending | available | deleting | deleted
).public CustomerGateway withState(String state)
The current state of the customer gateway (pending | available | deleting | deleted
).
state
- The current state of the customer gateway (pending | available | deleting | deleted
).public void setType(String type)
The type of VPN connection the customer gateway supports (ipsec.1
).
type
- The type of VPN connection the customer gateway supports (ipsec.1
).public String getType()
The type of VPN connection the customer gateway supports (ipsec.1
).
ipsec.1
).public CustomerGateway withType(String type)
The type of VPN connection the customer gateway supports (ipsec.1
).
type
- The type of VPN connection the customer gateway supports (ipsec.1
).public List<Tag> getTags()
Any tags assigned to the customer gateway.
public void setTags(Collection<Tag> tags)
Any tags assigned to the customer gateway.
tags
- Any tags assigned to the customer gateway.public CustomerGateway withTags(Tag... tags)
Any tags assigned to the customer gateway.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the customer gateway.public CustomerGateway withTags(Collection<Tag> tags)
Any tags assigned to the customer gateway.
tags
- Any tags assigned to the customer gateway.public String toString()
toString
in class Object
Object.toString()
public CustomerGateway clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.