|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.VpnGateway
public class VpnGateway
The VpnGateway data type.
Constructor Summary | |
---|---|
VpnGateway()
|
Method Summary | |
---|---|
String |
getAvailabilityZone()
Specifies the Availability Zone where the VPN gateway was created. |
String |
getState()
Describes the current state of the VPN gateway. |
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. |
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 |
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()
|
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 |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VpnGateway()
Method Detail |
---|
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
.
pending
, available
, deleting
,
and deleted
.public void setState(String state)
pending
, available
, deleting
,
and deleted
.
state
- Describes the current state of the VPN gateway. Valid values are
pending
, available
, deleting
,
and deleted
.public VpnGateway 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 VPN 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 VPN gateway supports.public VpnGateway 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 VPN gateway supports.
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 String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |