public class VpnGateway
extends java.lang.Object
implements java.io.Serializable
The VpnGateway data type.
| コンストラクタと説明 |
|---|
VpnGateway() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
Specifies the Availability Zone where the VPN gateway was created.
|
java.lang.String |
getState()
Describes the current state of the VPN gateway.
|
java.util.List<Tag> |
getTags()
A list of tags for the VpnGateway.
|
java.lang.String |
getType()
Specifies the type of VPN connection the VPN gateway supports.
|
java.util.List<VpcAttachment> |
getVpcAttachments()
Contains information about the VPCs attached to the VPN gateway.
|
java.lang.String |
getVpnGatewayId()
Specifies the ID of the VPN gateway.
|
int |
hashCode() |
void |
setAvailabilityZone(java.lang.String availabilityZone)
Specifies the Availability Zone where the VPN gateway was created.
|
void |
setState(java.lang.String state)
Describes the current state of the VPN gateway.
|
void |
setTags(java.util.Collection<Tag> tags)
A list of tags for the VpnGateway.
|
void |
setType(java.lang.String type)
Specifies the type of VPN connection the VPN gateway supports.
|
void |
setVpcAttachments(java.util.Collection<VpcAttachment> vpcAttachments)
Contains information about the VPCs attached to the VPN gateway.
|
void |
setVpnGatewayId(java.lang.String vpnGatewayId)
Specifies the ID of the VPN gateway.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VpnGateway |
withAvailabilityZone(java.lang.String availabilityZone)
Specifies the Availability Zone where the VPN gateway was created.
|
VpnGateway |
withState(java.lang.String state)
Describes the current state of the VPN gateway.
|
VpnGateway |
withTags(java.util.Collection<Tag> tags)
A list of tags for the VpnGateway.
|
VpnGateway |
withTags(Tag... tags)
A list of tags for the VpnGateway.
|
VpnGateway |
withType(java.lang.String type)
Specifies the type of VPN connection the VPN gateway supports.
|
VpnGateway |
withVpcAttachments(java.util.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(java.lang.String vpnGatewayId)
Specifies the ID of the VPN gateway.
|
public java.lang.String getVpnGatewayId()
public void setVpnGatewayId(java.lang.String vpnGatewayId)
vpnGatewayId - Specifies the ID of the VPN gateway.public VpnGateway withVpnGatewayId(java.lang.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 java.lang.String getState()
pending, available, deleting,
and deleted.pending, available, deleting,
and deleted.public void setState(java.lang.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(java.lang.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 java.lang.String getType()
public void setType(java.lang.String type)
type - Specifies the type of VPN connection the VPN gateway supports.public VpnGateway withType(java.lang.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 java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone - Specifies the Availability Zone where the VPN gateway was created.public VpnGateway withAvailabilityZone(java.lang.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 java.util.List<VpcAttachment> getVpcAttachments()
public void setVpcAttachments(java.util.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(java.util.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 java.util.List<Tag> getTags()
public void setTags(java.util.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(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object