public class VpnGateway extends Object implements Serializable
The VpnGateway data type.
Constructor and Description |
---|
VpnGateway() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
Specifies the Availability Zone where the VPN gateway was created.
|
String |
getState()
Describes the current state of the VPN gateway.
|
List<Tag> |
getTags()
A list of tags for the VpnGateway.
|
String |
getType()
Specifies the type of VPN connection the VPN gateway supports.
|
List<VpcAttachment> |
getVpcAttachments()
Contains information about the VPCs attached to the VPN gateway.
|
String |
getVpnGatewayId()
Specifies the ID of the VPN gateway.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
Specifies the Availability Zone where the VPN gateway was created.
|
void |
setState(String state)
Describes the current state of the VPN gateway.
|
void |
setState(VpnState state)
Describes the current state of the VPN gateway.
|
void |
setTags(Collection<Tag> tags)
A list of tags for the VpnGateway.
|
void |
setType(GatewayType type)
Specifies the type of VPN connection the VPN gateway supports.
|
void |
setType(String type)
Specifies the type of VPN connection the VPN gateway supports.
|
void |
setVpcAttachments(Collection<VpcAttachment> vpcAttachments)
Contains information about the VPCs attached to the VPN gateway.
|
void |
setVpnGatewayId(String vpnGatewayId)
Specifies the ID of the VPN gateway.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VpnGateway |
withAvailabilityZone(String availabilityZone)
Specifies the Availability Zone where the VPN gateway was created.
|
VpnGateway |
withState(String state)
Describes the current state of the VPN gateway.
|
VpnGateway |
withState(VpnState state)
Describes the current state of the VPN gateway.
|
VpnGateway |
withTags(Collection<Tag> tags)
A list of tags for the VpnGateway.
|
VpnGateway |
withTags(Tag... tags)
A list of tags for the VpnGateway.
|
VpnGateway |
withType(GatewayType type)
Specifies the type of VPN connection the VPN gateway supports.
|
VpnGateway |
withType(String type)
Specifies the type of VPN connection the VPN gateway supports.
|
VpnGateway |
withVpcAttachments(Collection<VpcAttachment> vpcAttachments)
Contains information about the VPCs attached to the VPN gateway.
|
VpnGateway |
withVpcAttachments(VpcAttachment... vpcAttachments)
Contains information about the VPCs attached to the VPN gateway.
|
VpnGateway |
withVpnGatewayId(String vpnGatewayId)
Specifies the ID of the VPN gateway.
|
public String getVpnGatewayId()
public void setVpnGatewayId(String vpnGatewayId)
vpnGatewayId
- Specifies the ID of the VPN gateway.public VpnGateway withVpnGatewayId(String vpnGatewayId)
Returns a reference to this object so that method calls can be chained together.
vpnGatewayId
- Specifies the ID of the VPN gateway.public String getState()
pending
, available
, deleting
,
and deleted
.
Constraints:
Allowed Values: pending, available, deleting, deleted
pending
, available
, deleting
,
and deleted
.VpnState
public void setState(String state)
pending
, available
, deleting
,
and deleted
.
Constraints:
Allowed Values: pending, available, deleting, deleted
state
- Describes the current state of the VPN gateway. Valid values are
pending
, available
, deleting
,
and deleted
.VpnState
public VpnGateway withState(String state)
pending
, available
, deleting
,
and deleted
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: pending, available, deleting, deleted
state
- Describes the current state of the VPN gateway. Valid values are
pending
, available
, deleting
,
and deleted
.VpnState
public void setState(VpnState state)
pending
, available
, deleting
,
and deleted
.
Constraints:
Allowed Values: pending, available, deleting, deleted
state
- Describes the current state of the VPN gateway. Valid values are
pending
, available
, deleting
,
and deleted
.VpnState
public VpnGateway withState(VpnState state)
pending
, available
, deleting
,
and deleted
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: pending, available, deleting, deleted
state
- Describes the current state of the VPN gateway. Valid values are
pending
, available
, deleting
,
and deleted
.VpnState
public String getType()
Constraints:
Allowed Values: ipsec.1
GatewayType
public void setType(String type)
Constraints:
Allowed Values: ipsec.1
type
- Specifies the type of VPN connection the VPN gateway supports.GatewayType
public VpnGateway withType(String type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ipsec.1
type
- Specifies the type of VPN connection the VPN gateway supports.GatewayType
public void setType(GatewayType type)
Constraints:
Allowed Values: ipsec.1
type
- Specifies the type of VPN connection the VPN gateway supports.GatewayType
public VpnGateway withType(GatewayType type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ipsec.1
type
- Specifies the type of VPN connection the VPN gateway supports.GatewayType
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- Specifies the Availability Zone where the VPN gateway was created.public VpnGateway withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- Specifies the Availability Zone where the VPN gateway was created.public List<VpcAttachment> getVpcAttachments()
public void setVpcAttachments(Collection<VpcAttachment> vpcAttachments)
vpcAttachments
- Contains information about the VPCs attached to the VPN gateway.public VpnGateway withVpcAttachments(VpcAttachment... vpcAttachments)
Returns a reference to this object so that method calls can be chained together.
vpcAttachments
- Contains information about the VPCs attached to the VPN gateway.public VpnGateway withVpcAttachments(Collection<VpcAttachment> vpcAttachments)
Returns a reference to this object so that method calls can be chained together.
vpcAttachments
- Contains information about the VPCs attached to the VPN gateway.public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- A list of tags for the VpnGateway.public VpnGateway withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for the VpnGateway.public VpnGateway withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for the VpnGateway.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.