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 AWS Direct Connect private virtual interfaces linking to your virtual private gateway.

Virtual private gateways can be managed using the Amazon Virtual Private Cloud (Amazon VPC) console or the Amazon EC2 CreateVpnGateway action .

See Also:
Serialized Form

Constructor Summary
VirtualGateway()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getVirtualGatewayId()
          The ID of the virtual private gateway to a VPC.
 String getVirtualGatewayState()
          State of the virtual private gateway.
 int hashCode()
           
 void setVirtualGatewayId(String virtualGatewayId)
          The ID of the 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)
          The ID of the virtual private gateway to a VPC.
 VirtualGateway withVirtualGatewayState(String virtualGatewayState)
          State of the virtual private gateway.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VirtualGateway

public VirtualGateway()
Method Detail

getVirtualGatewayId

public String getVirtualGatewayId()
The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56

Returns:
The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56


setVirtualGatewayId

public void setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56

Parameters:
virtualGatewayId - The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56


withVirtualGatewayId

public VirtualGateway withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56

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

Parameters:
virtualGatewayId - The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

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 © 2016. All rights reserved.