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 .
Constructor and Description |
---|
VirtualGateway() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getVirtualGatewayId()
Example: vgw-123er56
Example: vgw-123er56
public void setVirtualGatewayId(String virtualGatewayId)
Example: vgw-123er56
virtualGatewayId
- The ID of the virtual private gateway to a VPC. This only applies to
private virtual interfaces. Example: vgw-123er56
public VirtualGateway withVirtualGatewayId(String virtualGatewayId)
Example: vgw-123er56
Returns a reference to this object so that method calls can be chained together.
virtualGatewayId
- The ID of the virtual private gateway to a VPC. This only applies to
private virtual interfaces. Example: vgw-123er56
public String getVirtualGatewayState()
public void setVirtualGatewayState(String virtualGatewayState)
virtualGatewayState
- State of the virtual private gateway. public VirtualGateway withVirtualGatewayState(String virtualGatewayState)
Returns a reference to this object so that method calls can be chained together.
virtualGatewayState
- State of the virtual private gateway. public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.