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 .
Constructor and Description |
---|
VirtualGateway() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getVirtualGatewayId()
Example: vgw-123er56
Example: vgw-123er56
public void setVirtualGatewayId(String virtualGatewayId)
Example: vgw-123er56
virtualGatewayId
- Virtual private gateway to a VPC. 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
- Virtual private gateway to a VPC. 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 © 2013 Amazon Web Services, Inc. All Rights Reserved.