|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.VpnConnection
public class VpnConnection
The VpnConnection data type.
Constructor Summary | |
---|---|
VpnConnection()
|
Method Summary | |
---|---|
String |
getCustomerGatewayConfiguration()
Contains configuration information in the native XML format for the VPN connection's customer gateway. |
String |
getCustomerGatewayId()
Specifies ID of the customer gateway at the end of the VPN connection. |
String |
getState()
Describes the current state of the VPN connection. |
String |
getType()
Specifies the type of VPN connection. |
String |
getVpnConnectionId()
Specifies the ID of the VPN gateway at the VPC end of the VPN connection. |
String |
getVpnGatewayId()
Specfies the ID of the VPN gateway at the VPC end of the VPN connection. |
void |
setCustomerGatewayConfiguration(String customerGatewayConfiguration)
Contains configuration information in the native XML format for the VPN connection's customer gateway. |
void |
setCustomerGatewayId(String customerGatewayId)
Specifies ID of the customer gateway at the end of the VPN connection. |
void |
setState(String state)
Describes the current state of the VPN connection. |
void |
setType(String type)
Specifies the type of VPN connection. |
void |
setVpnConnectionId(String vpnConnectionId)
Specifies the ID of the VPN gateway at the VPC end of the VPN connection. |
void |
setVpnGatewayId(String vpnGatewayId)
Specfies the ID of the VPN gateway at the VPC end of the VPN connection. |
String |
toString()
|
VpnConnection |
withCustomerGatewayConfiguration(String customerGatewayConfiguration)
Contains configuration information in the native XML format for the VPN connection's customer gateway. |
VpnConnection |
withCustomerGatewayId(String customerGatewayId)
Specifies ID of the customer gateway at the end of the VPN connection. |
VpnConnection |
withState(String state)
Describes the current state of the VPN connection. |
VpnConnection |
withType(String type)
Specifies the type of VPN connection. |
VpnConnection |
withVpnConnectionId(String vpnConnectionId)
Specifies the ID of the VPN gateway at the VPC end of the VPN connection. |
VpnConnection |
withVpnGatewayId(String vpnGatewayId)
Specfies the ID of the VPN gateway at the VPC end of the VPN connection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VpnConnection()
Method Detail |
---|
public String getVpnConnectionId()
public void setVpnConnectionId(String vpnConnectionId)
vpnConnectionId
- Specifies the ID of the VPN gateway at the VPC end of the VPN
connection.public VpnConnection withVpnConnectionId(String vpnConnectionId)
Returns a reference to this object so that method calls can be chained together.
vpnConnectionId
- Specifies the ID of the VPN gateway at the VPC end of the VPN
connection.
public String getState()
pending
, available
, deleting
,
and deleted
.
pending
, available
, deleting
,
and deleted
.public void setState(String state)
pending
, available
, deleting
,
and deleted
.
state
- Describes the current state of the VPN connection. Valid values are
pending
, available
, deleting
,
and deleted
.public VpnConnection withState(String state)
pending
, available
, deleting
,
and deleted
.
Returns a reference to this object so that method calls can be chained together.
state
- Describes the current state of the VPN connection. Valid values are
pending
, available
, deleting
,
and deleted
.
public String getCustomerGatewayConfiguration()
This element is always present
in the CreateVpnConnection response; however, it's present in the
DescribeVpnConnections response only if the VPN connection is in the
pending
or available
state.
This element is always present
in the CreateVpnConnection response; however, it's present in the
DescribeVpnConnections response only if the VPN connection is in the
pending
or available
state.
public void setCustomerGatewayConfiguration(String customerGatewayConfiguration)
This element is always present
in the CreateVpnConnection response; however, it's present in the
DescribeVpnConnections response only if the VPN connection is in the
pending
or available
state.
customerGatewayConfiguration
- Contains configuration information in the native XML format for the
VPN connection's customer gateway. This element is always present
in the CreateVpnConnection response; however, it's present in the
DescribeVpnConnections response only if the VPN connection is in the
pending
or available
state.
public VpnConnection withCustomerGatewayConfiguration(String customerGatewayConfiguration)
This element is always present
in the CreateVpnConnection response; however, it's present in the
DescribeVpnConnections response only if the VPN connection is in the
pending
or available
state.
Returns a reference to this object so that method calls can be chained together.
customerGatewayConfiguration
- Contains configuration information in the native XML format for the
VPN connection's customer gateway. This element is always present
in the CreateVpnConnection response; however, it's present in the
DescribeVpnConnections response only if the VPN connection is in the
pending
or available
state.
public String getType()
public void setType(String type)
type
- Specifies the type of VPN connection.public VpnConnection withType(String type)
Returns a reference to this object so that method calls can be chained together.
type
- Specifies the type of VPN connection.
public String getCustomerGatewayId()
public void setCustomerGatewayId(String customerGatewayId)
customerGatewayId
- Specifies ID of the customer gateway at the end of the VPN connection.public VpnConnection withCustomerGatewayId(String customerGatewayId)
Returns a reference to this object so that method calls can be chained together.
customerGatewayId
- Specifies ID of the customer gateway at the end of the VPN connection.
public String getVpnGatewayId()
public void setVpnGatewayId(String vpnGatewayId)
vpnGatewayId
- Specfies the ID of the VPN gateway at the VPC end of the VPN
connection.public VpnConnection withVpnGatewayId(String vpnGatewayId)
Returns a reference to this object so that method calls can be chained together.
vpnGatewayId
- Specfies the ID of the VPN gateway at the VPC end of the VPN
connection.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |