|
Did this page help you?Yes No Tell us about it... |
||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
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. |
VpnConnectionOptions |
getOptions()
Returns the value of the Options property for this object. |
List<VpnStaticRoute> |
getRoutes()
Returns the value of the Routes property for this object. |
String |
getState()
Describes the current state of the VPN connection. |
List<Tag> |
getTags()
A list of tags for the VpnConnection. |
String |
getType()
Specifies the type of VPN connection. |
List<VgwTelemetry> |
getVgwTelemetry()
Returns the value of the VgwTelemetry property for this object. |
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. |
int |
hashCode()
|
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 |
setOptions(VpnConnectionOptions options)
Sets the value of the Options property for this object. |
void |
setRoutes(Collection<VpnStaticRoute> routes)
Sets the value of the Routes property for this object. |
void |
setState(String state)
Describes the current state of the VPN connection. |
void |
setTags(Collection<Tag> tags)
A list of tags for the VpnConnection. |
void |
setType(String type)
Specifies the type of VPN connection. |
void |
setVgwTelemetry(Collection<VgwTelemetry> vgwTelemetry)
Sets the value of the VgwTelemetry property for this object. |
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()
Returns a string representation of this object; useful for testing and debugging. |
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 |
withOptions(VpnConnectionOptions options)
Sets the value of the Options property for this object. |
VpnConnection |
withRoutes(Collection<VpnStaticRoute> routes)
Sets the value of the Routes property for this object. |
VpnConnection |
withRoutes(VpnStaticRoute... routes)
Sets the value of the Routes property for this object. |
VpnConnection |
withState(String state)
Describes the current state of the VPN connection. |
VpnConnection |
withTags(Collection<Tag> tags)
A list of tags for the VpnConnection. |
VpnConnection |
withTags(Tag... tags)
A list of tags for the VpnConnection. |
VpnConnection |
withType(String type)
Specifies the type of VPN connection. |
VpnConnection |
withVgwTelemetry(Collection<VgwTelemetry> vgwTelemetry)
Sets the value of the VgwTelemetry property for this object. |
VpnConnection |
withVgwTelemetry(VgwTelemetry... vgwTelemetry)
Sets the value of the VgwTelemetry property for this object. |
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 |
---|
getClass, 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 List<Tag> getTags()
public void setTags(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(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 List<VgwTelemetry> getVgwTelemetry()
public void setVgwTelemetry(Collection<VgwTelemetry> vgwTelemetry)
vgwTelemetry
- The new value for the VgwTelemetry property for this object.public VpnConnection withVgwTelemetry(VgwTelemetry... vgwTelemetry)
Returns a reference to this object so that method calls can be chained together.
vgwTelemetry
- The new value for the VgwTelemetry property for this object.
public VpnConnection withVgwTelemetry(Collection<VgwTelemetry> vgwTelemetry)
Returns a reference to this object so that method calls can be chained together.
vgwTelemetry
- The new value for the VgwTelemetry property for this object.
public VpnConnectionOptions getOptions()
public void setOptions(VpnConnectionOptions options)
options
- The new value for the Options property for this object.public VpnConnection withOptions(VpnConnectionOptions options)
Returns a reference to this object so that method calls can be chained together.
options
- The new value for the Options property for this object.
public List<VpnStaticRoute> getRoutes()
public void setRoutes(Collection<VpnStaticRoute> routes)
routes
- The new value for the Routes property for this object.public VpnConnection withRoutes(VpnStaticRoute... routes)
Returns a reference to this object so that method calls can be chained together.
routes
- The new value for the Routes property for this object.
public VpnConnection withRoutes(Collection<VpnStaticRoute> routes)
Returns a reference to this object so that method calls can be chained together.
routes
- The new value for the Routes property for this object.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |