com.amazonaws.services.ec2.model
Class VpnGateway

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

public class VpnGateway
extends Object

Vpn Gateway


Constructor Summary
VpnGateway()
           
 
Method Summary
 String getAvailabilityZone()
          Returns the value of the AvailabilityZone property for this object.
 String getState()
          Returns the value of the State property for this object.
 String getType()
          Returns the value of the Type property for this object.
 List<VpcAttachment> getVpcAttachments()
          Returns the value of the VpcAttachments property for this object.
 String getVpnGatewayId()
          Returns the value of the VpnGatewayId property for this object.
 void setAvailabilityZone(String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 void setState(String state)
          Sets the value of the State property for this object.
 void setType(String type)
          Sets the value of the Type property for this object.
 void setVpcAttachments(Collection<VpcAttachment> vpcAttachments)
          Sets the value of the VpcAttachments property for this object.
 void setVpnGatewayId(String vpnGatewayId)
          Sets the value of the VpnGatewayId property for this object.
 VpnGateway withAvailabilityZone(String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 VpnGateway withState(String state)
          Sets the value of the State property for this object.
 VpnGateway withType(String type)
          Sets the value of the Type property for this object.
 VpnGateway withVpcAttachments(Collection<VpcAttachment> vpcAttachments)
          Sets the value of the VpcAttachments property for this object.
 VpnGateway withVpcAttachments(VpcAttachment... vpcAttachments)
          Sets the value of the VpcAttachments property for this object.
 VpnGateway withVpnGatewayId(String vpnGatewayId)
          Sets the value of the VpnGatewayId property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VpnGateway

public VpnGateway()
Method Detail

getVpnGatewayId

public String getVpnGatewayId()
Returns the value of the VpnGatewayId property for this object.

Returns:
The value of the VpnGatewayId property for this object.

setVpnGatewayId

public void setVpnGatewayId(String vpnGatewayId)
Sets the value of the VpnGatewayId property for this object.

Parameters:
vpnGatewayId - The new value for the VpnGatewayId property for this object.

withVpnGatewayId

public VpnGateway withVpnGatewayId(String vpnGatewayId)
Sets the value of the VpnGatewayId property for this object.

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

Parameters:
vpnGatewayId - The new value for the VpnGatewayId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getState

public String getState()
Returns the value of the State property for this object.

Returns:
The value of the State property for this object.

setState

public void setState(String state)
Sets the value of the State property for this object.

Parameters:
state - The new value for the State property for this object.

withState

public VpnGateway withState(String state)
Sets the value of the State property for this object.

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

Parameters:
state - The new value for the State property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getType

public String getType()
Returns the value of the Type property for this object.

Returns:
The value of the Type property for this object.

setType

public void setType(String type)
Sets the value of the Type property for this object.

Parameters:
type - The new value for the Type property for this object.

withType

public VpnGateway withType(String type)
Sets the value of the Type property for this object.

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

Parameters:
type - The new value for the Type property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZone

public String getAvailabilityZone()
Returns the value of the AvailabilityZone property for this object.

Returns:
The value of the AvailabilityZone property for this object.

setAvailabilityZone

public void setAvailabilityZone(String availabilityZone)
Sets the value of the AvailabilityZone property for this object.

Parameters:
availabilityZone - The new value for the AvailabilityZone property for this object.

withAvailabilityZone

public VpnGateway withAvailabilityZone(String availabilityZone)
Sets the value of the AvailabilityZone property for this object.

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

Parameters:
availabilityZone - The new value for the AvailabilityZone property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcAttachments

public List<VpcAttachment> getVpcAttachments()
Returns the value of the VpcAttachments property for this object.

Returns:
The value of the VpcAttachments property for this object.

setVpcAttachments

public void setVpcAttachments(Collection<VpcAttachment> vpcAttachments)
Sets the value of the VpcAttachments property for this object.

Parameters:
vpcAttachments - The new value for the VpcAttachments property for this object.

withVpcAttachments

public VpnGateway withVpcAttachments(VpcAttachment... vpcAttachments)
Sets the value of the VpcAttachments property for this object.

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

Parameters:
vpcAttachments - The new value for the VpcAttachments property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withVpcAttachments

public VpnGateway withVpcAttachments(Collection<VpcAttachment> vpcAttachments)
Sets the value of the VpcAttachments property for this object.

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

Parameters:
vpcAttachments - The new value for the VpcAttachments property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.


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