|
|||||||
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 | |
---|---|
java.lang.String |
getCustomerGatewayConfiguration()
Contains configuration information in the native XML format for the VPN connection's customer gateway. |
java.lang.String |
getCustomerGatewayId()
Specifies ID of the customer gateway at the end of the VPN connection. |
java.lang.String |
getState()
Describes the current state of the VPN connection. |
java.util.List<Tag> |
getTags()
A list of tags for the VpnConnection. |
java.lang.String |
getType()
Specifies the type of VPN connection. |
java.lang.String |
getVpnConnectionId()
Specifies the ID of the VPN gateway at the VPC end of the VPN connection. |
java.lang.String |
getVpnGatewayId()
Specfies the ID of the VPN gateway at the VPC end of the VPN connection. |
void |
setCustomerGatewayConfiguration(java.lang.String customerGatewayConfiguration)
Contains configuration information in the native XML format for the VPN connection's customer gateway. |
void |
setCustomerGatewayId(java.lang.String customerGatewayId)
Specifies ID of the customer gateway at the end of the VPN connection. |
void |
setState(java.lang.String state)
Describes the current state of the VPN connection. |
void |
setTags(java.util.Collection<Tag> tags)
A list of tags for the VpnConnection. |
void |
setType(java.lang.String type)
Specifies the type of VPN connection. |
void |
setVpnConnectionId(java.lang.String vpnConnectionId)
Specifies the ID of the VPN gateway at the VPC end of the VPN connection. |
void |
setVpnGatewayId(java.lang.String vpnGatewayId)
Specfies the ID of the VPN gateway at the VPC end of the VPN connection. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
VpnConnection |
withCustomerGatewayConfiguration(java.lang.String customerGatewayConfiguration)
Contains configuration information in the native XML format for the VPN connection's customer gateway. |
VpnConnection |
withCustomerGatewayId(java.lang.String customerGatewayId)
Specifies ID of the customer gateway at the end of the VPN connection. |
VpnConnection |
withState(java.lang.String state)
Describes the current state of the VPN connection. |
VpnConnection |
withTags(java.util.Collection<Tag> tags)
A list of tags for the VpnConnection. |
VpnConnection |
withTags(Tag... tags)
A list of tags for the VpnConnection. |
VpnConnection |
withType(java.lang.String type)
Specifies the type of VPN connection. |
VpnConnection |
withVpnConnectionId(java.lang.String vpnConnectionId)
Specifies the ID of the VPN gateway at the VPC end of the VPN connection. |
VpnConnection |
withVpnGatewayId(java.lang.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 java.lang.String getVpnConnectionId()
public void setVpnConnectionId(java.lang.String vpnConnectionId)
vpnConnectionId
- Specifies the ID of the VPN gateway at the VPC end of the VPN
connection.public VpnConnection withVpnConnectionId(java.lang.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 java.lang.String getState()
pending
, available
, deleting
,
and deleted
.
pending
, available
, deleting
,
and deleted
.public void setState(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getType()
public void setType(java.lang.String type)
type
- Specifies the type of VPN connection.public VpnConnection withType(java.lang.String type)
Returns a reference to this object so that method calls can be chained together.
type
- Specifies the type of VPN connection.
public java.lang.String getCustomerGatewayId()
public void setCustomerGatewayId(java.lang.String customerGatewayId)
customerGatewayId
- Specifies ID of the customer gateway at the end of the VPN connection.public VpnConnection withCustomerGatewayId(java.lang.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 java.lang.String getVpnGatewayId()
public void setVpnGatewayId(java.lang.String vpnGatewayId)
vpnGatewayId
- Specfies the ID of the VPN gateway at the VPC end of the VPN
connection.public VpnConnection withVpnGatewayId(java.lang.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 java.util.List<Tag> getTags()
public void setTags(java.util.Collection<Tag> tags)
tags
- A list of tags for the VpnConnection.public VpnConnection withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for the VpnConnection.
public VpnConnection withTags(java.util.Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for the VpnConnection.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |