|
Did this page help you?Yes No Tell us about it... |
||||||
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 | |
---|---|
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 |
setTags(Collection<Tag> tags)
A list of tags for the VpnGateway. |
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 |
withTags(Collection<Tag> tags)
A list of tags for the VpnGateway. |
VpnGateway |
withTags(Tag... tags)
A list of tags for the VpnGateway. |
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 |
---|
getClass, 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 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()
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 |