|
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(java.lang.Object obj)
|
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. |
VpnConnectionOptions |
getOptions()
Returns the value of the Options property for this object. |
java.util.List<VpnStaticRoute> |
getRoutes()
Returns the value of the Routes property for this object. |
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.util.List<VgwTelemetry> |
getVgwTelemetry()
Returns the value of the VgwTelemetry property for this object. |
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. |
int |
hashCode()
|
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 |
setOptions(VpnConnectionOptions options)
Sets the value of the Options property for this object. |
void |
setRoutes(java.util.Collection<VpnStaticRoute> routes)
Sets the value of the Routes property for this object. |
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 |
setVgwTelemetry(java.util.Collection<VgwTelemetry> vgwTelemetry)
Sets the value of the VgwTelemetry property for this object. |
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 |
withOptions(VpnConnectionOptions options)
Sets the value of the Options property for this object. |
VpnConnection |
withRoutes(java.util.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(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 |
withVgwTelemetry(java.util.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(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 |
---|
getClass, 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.util.List<VgwTelemetry> getVgwTelemetry()
public void setVgwTelemetry(java.util.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(java.util.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 java.util.List<VpnStaticRoute> getRoutes()
public void setRoutes(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |