Class VpnGateway
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a virtual private gateway.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Availability Zone where the virtual private gateway was created, if applicable.getState()
The current state of the virtual private gateway.getTags()
Any tags assigned to the virtual private gateway.getType()
The type of VPN connection the virtual private gateway supports.Any VPCs attached to the virtual private gateway.The ID of the virtual private gateway.int
hashCode()
void
setAvailabilityZone
(String availabilityZone) The Availability Zone where the virtual private gateway was created, if applicable.void
The current state of the virtual private gateway.void
The current state of the virtual private gateway.void
setTags
(Collection<Tag> tags) Any tags assigned to the virtual private gateway.void
setType
(GatewayType type) The type of VPN connection the virtual private gateway supports.void
The type of VPN connection the virtual private gateway supports.void
setVpcAttachments
(Collection<VpcAttachment> vpcAttachments) Any VPCs attached to the virtual private gateway.void
setVpnGatewayId
(String vpnGatewayId) The ID of the virtual private gateway.toString()
Returns a string representation of this object; useful for testing and debugging.withAvailabilityZone
(String availabilityZone) The Availability Zone where the virtual private gateway was created, if applicable.The current state of the virtual private gateway.The current state of the virtual private gateway.Any tags assigned to the virtual private gateway.withTags
(Collection<Tag> tags) Any tags assigned to the virtual private gateway.withType
(GatewayType type) The type of VPN connection the virtual private gateway supports.The type of VPN connection the virtual private gateway supports.withVpcAttachments
(VpcAttachment... vpcAttachments) Any VPCs attached to the virtual private gateway.withVpcAttachments
(Collection<VpcAttachment> vpcAttachments) Any VPCs attached to the virtual private gateway.withVpnGatewayId
(String vpnGatewayId) The ID of the virtual private gateway.
-
Constructor Details
-
VpnGateway
public VpnGateway()
-
-
Method Details
-
setVpnGatewayId
The ID of the virtual private gateway.
- Parameters:
vpnGatewayId
- The ID of the virtual private gateway.
-
getVpnGatewayId
The ID of the virtual private gateway.
- Returns:
- The ID of the virtual private gateway.
-
withVpnGatewayId
The ID of the virtual private gateway.
- Parameters:
vpnGatewayId
- The ID of the virtual private gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
The current state of the virtual private gateway.
- Parameters:
state
- The current state of the virtual private gateway.- See Also:
-
getState
The current state of the virtual private gateway.
- Returns:
- The current state of the virtual private gateway.
- See Also:
-
withState
The current state of the virtual private gateway.
- Parameters:
state
- The current state of the virtual private gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The current state of the virtual private gateway.
- Parameters:
state
- The current state of the virtual private gateway.- See Also:
-
withState
The current state of the virtual private gateway.
- Parameters:
state
- The current state of the virtual private gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setType
The type of VPN connection the virtual private gateway supports.
- Parameters:
type
- The type of VPN connection the virtual private gateway supports.- See Also:
-
getType
The type of VPN connection the virtual private gateway supports.
- Returns:
- The type of VPN connection the virtual private gateway supports.
- See Also:
-
withType
The type of VPN connection the virtual private gateway supports.
- Parameters:
type
- The type of VPN connection the virtual private gateway supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setType
The type of VPN connection the virtual private gateway supports.
- Parameters:
type
- The type of VPN connection the virtual private gateway supports.- See Also:
-
withType
The type of VPN connection the virtual private gateway supports.
- Parameters:
type
- The type of VPN connection the virtual private gateway supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAvailabilityZone
The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.
- Parameters:
availabilityZone
- The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.
-
getAvailabilityZone
The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.
- Returns:
- The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.
-
withAvailabilityZone
The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.
- Parameters:
availabilityZone
- The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getVpcAttachments
Any VPCs attached to the virtual private gateway.
- Returns:
- Any VPCs attached to the virtual private gateway.
-
setVpcAttachments
Any VPCs attached to the virtual private gateway.
- Parameters:
vpcAttachments
- Any VPCs attached to the virtual private gateway.
-
withVpcAttachments
Any VPCs attached to the virtual private gateway.
NOTE: This method appends the values to the existing list (if any). Use
setVpcAttachments(java.util.Collection)
orwithVpcAttachments(java.util.Collection)
if you want to override the existing values.- Parameters:
vpcAttachments
- Any VPCs attached to the virtual private gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVpcAttachments
Any VPCs attached to the virtual private gateway.
- Parameters:
vpcAttachments
- Any VPCs attached to the virtual private gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
Any tags assigned to the virtual private gateway.
- Returns:
- Any tags assigned to the virtual private gateway.
-
setTags
Any tags assigned to the virtual private gateway.
- Parameters:
tags
- Any tags assigned to the virtual private gateway.
-
withTags
Any tags assigned to the virtual private gateway.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- Any tags assigned to the virtual private gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
Any tags assigned to the virtual private gateway.
- Parameters:
tags
- Any tags assigned to the virtual private gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-