com.amazonaws.services.ec2.model
Class VpnGateway

java.lang.Object
  extended by com.amazonaws.services.ec2.model.VpnGateway

public class VpnGateway
extends java.lang.Object

The VpnGateway data type.


Constructor Summary
VpnGateway()
           
 
Method Summary
 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.
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VpnGateway

public VpnGateway()
Method Detail

getVpnGatewayId

public java.lang.String getVpnGatewayId()
Specifies the ID of the VPN gateway.

Returns:
Specifies the ID of the VPN gateway.

setVpnGatewayId

public void setVpnGatewayId(java.lang.String vpnGatewayId)
Specifies the ID of the VPN gateway.

Parameters:
vpnGatewayId - Specifies the ID of the VPN gateway.

withVpnGatewayId

public VpnGateway withVpnGatewayId(java.lang.String vpnGatewayId)
Specifies the ID of the VPN gateway.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpnGatewayId - Specifies the ID of the VPN gateway.
Returns:
A reference to this updated object so that method calls can be chained together.

getState

public java.lang.String getState()
Describes the current state of the VPN gateway. Valid values are pending, available, deleting, and deleted.

Returns:
Describes the current state of the VPN gateway. Valid values are pending, available, deleting, and deleted.

setState

public void setState(java.lang.String state)
Describes the current state of the VPN gateway. Valid values are pending, available, deleting, and deleted.

Parameters:
state - Describes the current state of the VPN gateway. Valid values are pending, available, deleting, and deleted.

withState

public VpnGateway withState(java.lang.String state)
Describes the current state of the VPN gateway. Valid values are pending, available, deleting, and deleted.

Returns a reference to this object so that method calls can be chained together.

Parameters:
state - Describes the current state of the VPN gateway. Valid values are pending, available, deleting, and deleted.
Returns:
A reference to this updated object so that method calls can be chained together.

getType

public java.lang.String getType()
Specifies the type of VPN connection the VPN gateway supports.

Returns:
Specifies the type of VPN connection the VPN gateway supports.

setType

public void setType(java.lang.String type)
Specifies the type of VPN connection the VPN gateway supports.

Parameters:
type - Specifies the type of VPN connection the VPN gateway supports.

withType

public VpnGateway withType(java.lang.String type)
Specifies the type of VPN connection the VPN gateway supports.

Returns a reference to this object so that method calls can be chained together.

Parameters:
type - Specifies the type of VPN connection the VPN gateway supports.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZone

public java.lang.String getAvailabilityZone()
Specifies the Availability Zone where the VPN gateway was created.

Returns:
Specifies the Availability Zone where the VPN gateway was created.

setAvailabilityZone

public void setAvailabilityZone(java.lang.String availabilityZone)
Specifies the Availability Zone where the VPN gateway was created.

Parameters:
availabilityZone - Specifies the Availability Zone where the VPN gateway was created.

withAvailabilityZone

public VpnGateway withAvailabilityZone(java.lang.String availabilityZone)
Specifies the Availability Zone where the VPN gateway was created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZone - Specifies the Availability Zone where the VPN gateway was created.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcAttachments

public java.util.List<VpcAttachment> getVpcAttachments()
Contains information about the VPCs attached to the VPN gateway.

Returns:
Contains information about the VPCs attached to the VPN gateway.

setVpcAttachments

public void setVpcAttachments(java.util.Collection<VpcAttachment> vpcAttachments)
Contains information about the VPCs attached to the VPN gateway.

Parameters:
vpcAttachments - Contains information about the VPCs attached to the VPN gateway.

withVpcAttachments

public VpnGateway withVpcAttachments(VpcAttachment... vpcAttachments)
Contains information about the VPCs attached to the VPN gateway.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcAttachments - Contains information about the VPCs attached to the VPN gateway.
Returns:
A reference to this updated object so that method calls can be chained together.

withVpcAttachments

public VpnGateway withVpcAttachments(java.util.Collection<VpcAttachment> vpcAttachments)
Contains information about the VPCs attached to the VPN gateway.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcAttachments - Contains information about the VPCs attached to the VPN gateway.
Returns:
A reference to this updated object so that method calls can be chained together.

getTags

public java.util.List<Tag> getTags()
A list of tags for the VpnGateway.

Returns:
A list of tags for the VpnGateway.

setTags

public void setTags(java.util.Collection<Tag> tags)
A list of tags for the VpnGateway.

Parameters:
tags - A list of tags for the VpnGateway.

withTags

public VpnGateway withTags(Tag... tags)
A list of tags for the VpnGateway.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - A list of tags for the VpnGateway.
Returns:
A reference to this updated object so that method calls can be chained together.

withTags

public VpnGateway withTags(java.util.Collection<Tag> tags)
A list of tags for the VpnGateway.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - A list of tags for the VpnGateway.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.