Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.directconnect.model
Class VirtualGateway

java.lang.Object
  extended by com.amazonaws.services.directconnect.model.VirtualGateway
All Implemented Interfaces:
Serializable

public class VirtualGateway
extends Object
implements Serializable

You can create one or more Direct Connect private virtual interfaces linking to your virtual private gateway.

Virtual private gateway can be managed via AWS Virtual Private Cloud Console or the EC2 CreateVpnGateway API .

See Also:
Serialized Form

Constructor Summary
VirtualGateway()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getVirtualGatewayId()
          Virtual private gateway to a VPC.
 String getVirtualGatewayState()
          State of the virtual private gateway.
 int hashCode()
           
 void setVirtualGatewayId(String virtualGatewayId)
          Virtual private gateway to a VPC.
 void setVirtualGatewayState(String virtualGatewayState)
          State of the virtual private gateway.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 VirtualGateway withVirtualGatewayId(String virtualGatewayId)
          Virtual private gateway to a VPC.
 VirtualGateway withVirtualGatewayState(String virtualGatewayState)
          State of the virtual private gateway.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VirtualGateway

public VirtualGateway()
Method Detail

getVirtualGatewayId

public String getVirtualGatewayId()
Virtual private gateway to a VPC.

Example: vgw-123er56

Returns:
Virtual private gateway to a VPC.

Example: vgw-123er56


setVirtualGatewayId

public void setVirtualGatewayId(String virtualGatewayId)
Virtual private gateway to a VPC.

Example: vgw-123er56

Parameters:
virtualGatewayId - Virtual private gateway to a VPC.

Example: vgw-123er56


withVirtualGatewayId

public VirtualGateway withVirtualGatewayId(String virtualGatewayId)
Virtual private gateway to a VPC.

Example: vgw-123er56

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

Parameters:
virtualGatewayId - Virtual private gateway to a VPC.

Example: vgw-123er56

Returns:
A reference to this updated object so that method calls can be chained together.

getVirtualGatewayState

public String getVirtualGatewayState()
State of the virtual private gateway.

Returns:
State of the virtual private gateway.
  • Pending: This is the initial state after calling CreateVpnGateway.
  • Available: Ready for use by a private virtual interface.
  • Deleting: This is the initial state after calling DeleteVpnGateway.
  • Deleted: In this state, a private virtual interface is unable to send traffic over this gateway.

setVirtualGatewayState

public void setVirtualGatewayState(String virtualGatewayState)
State of the virtual private gateway.

Parameters:
virtualGatewayState - State of the virtual private gateway.
  • Pending: This is the initial state after calling CreateVpnGateway.
  • Available: Ready for use by a private virtual interface.
  • Deleting: This is the initial state after calling DeleteVpnGateway.
  • Deleted: In this state, a private virtual interface is unable to send traffic over this gateway.

withVirtualGatewayState

public VirtualGateway withVirtualGatewayState(String virtualGatewayState)
State of the virtual private gateway.

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

Parameters:
virtualGatewayState - State of the virtual private gateway.
  • Pending: This is the initial state after calling CreateVpnGateway.
  • Available: Ready for use by a private virtual interface.
  • Deleting: This is the initial state after calling DeleteVpnGateway.
  • Deleted: In this state, a private virtual interface is unable to send traffic over this gateway.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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