@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2VpnConnectionDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about an Amazon EC2 VPN connection.
Constructor and Description |
---|
AwsEc2VpnConnectionDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2VpnConnectionDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCategory()
The category of the VPN connection.
|
String |
getCustomerGatewayConfiguration()
The configuration information for the VPN connection's customer gateway, in the native XML format.
|
String |
getCustomerGatewayId()
The identifier of the customer gateway that is at your end of the VPN connection.
|
AwsEc2VpnConnectionOptionsDetails |
getOptions()
The VPN connection options.
|
List<AwsEc2VpnConnectionRoutesDetails> |
getRoutes()
The static routes that are associated with the VPN connection.
|
String |
getState()
The current state of the VPN connection.
|
String |
getTransitGatewayId()
The identifier of the transit gateway that is associated with the VPN connection.
|
String |
getType()
The type of VPN connection.
|
List<AwsEc2VpnConnectionVgwTelemetryDetails> |
getVgwTelemetry()
Information about the VPN tunnel.
|
String |
getVpnConnectionId()
The identifier of the VPN connection.
|
String |
getVpnGatewayId()
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCategory(String category)
The category of the VPN connection.
|
void |
setCustomerGatewayConfiguration(String customerGatewayConfiguration)
The configuration information for the VPN connection's customer gateway, in the native XML format.
|
void |
setCustomerGatewayId(String customerGatewayId)
The identifier of the customer gateway that is at your end of the VPN connection.
|
void |
setOptions(AwsEc2VpnConnectionOptionsDetails options)
The VPN connection options.
|
void |
setRoutes(Collection<AwsEc2VpnConnectionRoutesDetails> routes)
The static routes that are associated with the VPN connection.
|
void |
setState(String state)
The current state of the VPN connection.
|
void |
setTransitGatewayId(String transitGatewayId)
The identifier of the transit gateway that is associated with the VPN connection.
|
void |
setType(String type)
The type of VPN connection.
|
void |
setVgwTelemetry(Collection<AwsEc2VpnConnectionVgwTelemetryDetails> vgwTelemetry)
Information about the VPN tunnel.
|
void |
setVpnConnectionId(String vpnConnectionId)
The identifier of the VPN connection.
|
void |
setVpnGatewayId(String vpnGatewayId)
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2VpnConnectionDetails |
withCategory(String category)
The category of the VPN connection.
|
AwsEc2VpnConnectionDetails |
withCustomerGatewayConfiguration(String customerGatewayConfiguration)
The configuration information for the VPN connection's customer gateway, in the native XML format.
|
AwsEc2VpnConnectionDetails |
withCustomerGatewayId(String customerGatewayId)
The identifier of the customer gateway that is at your end of the VPN connection.
|
AwsEc2VpnConnectionDetails |
withOptions(AwsEc2VpnConnectionOptionsDetails options)
The VPN connection options.
|
AwsEc2VpnConnectionDetails |
withRoutes(AwsEc2VpnConnectionRoutesDetails... routes)
The static routes that are associated with the VPN connection.
|
AwsEc2VpnConnectionDetails |
withRoutes(Collection<AwsEc2VpnConnectionRoutesDetails> routes)
The static routes that are associated with the VPN connection.
|
AwsEc2VpnConnectionDetails |
withState(String state)
The current state of the VPN connection.
|
AwsEc2VpnConnectionDetails |
withTransitGatewayId(String transitGatewayId)
The identifier of the transit gateway that is associated with the VPN connection.
|
AwsEc2VpnConnectionDetails |
withType(String type)
The type of VPN connection.
|
AwsEc2VpnConnectionDetails |
withVgwTelemetry(AwsEc2VpnConnectionVgwTelemetryDetails... vgwTelemetry)
Information about the VPN tunnel.
|
AwsEc2VpnConnectionDetails |
withVgwTelemetry(Collection<AwsEc2VpnConnectionVgwTelemetryDetails> vgwTelemetry)
Information about the VPN tunnel.
|
AwsEc2VpnConnectionDetails |
withVpnConnectionId(String vpnConnectionId)
The identifier of the VPN connection.
|
AwsEc2VpnConnectionDetails |
withVpnGatewayId(String vpnGatewayId)
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
|
public void setVpnConnectionId(String vpnConnectionId)
The identifier of the VPN connection.
vpnConnectionId
- The identifier of the VPN connection.public String getVpnConnectionId()
The identifier of the VPN connection.
public AwsEc2VpnConnectionDetails withVpnConnectionId(String vpnConnectionId)
The identifier of the VPN connection.
vpnConnectionId
- The identifier of the VPN connection.public void setState(String state)
The current state of the VPN connection.
state
- The current state of the VPN connection.public String getState()
The current state of the VPN connection.
public AwsEc2VpnConnectionDetails withState(String state)
The current state of the VPN connection.
state
- The current state of the VPN connection.public void setCustomerGatewayId(String customerGatewayId)
The identifier of the customer gateway that is at your end of the VPN connection.
customerGatewayId
- The identifier of the customer gateway that is at your end of the VPN connection.public String getCustomerGatewayId()
The identifier of the customer gateway that is at your end of the VPN connection.
public AwsEc2VpnConnectionDetails withCustomerGatewayId(String customerGatewayId)
The identifier of the customer gateway that is at your end of the VPN connection.
customerGatewayId
- The identifier of the customer gateway that is at your end of the VPN connection.public void setCustomerGatewayConfiguration(String customerGatewayConfiguration)
The configuration information for the VPN connection's customer gateway, in the native XML format.
customerGatewayConfiguration
- The configuration information for the VPN connection's customer gateway, in the native XML format.public String getCustomerGatewayConfiguration()
The configuration information for the VPN connection's customer gateway, in the native XML format.
public AwsEc2VpnConnectionDetails withCustomerGatewayConfiguration(String customerGatewayConfiguration)
The configuration information for the VPN connection's customer gateway, in the native XML format.
customerGatewayConfiguration
- The configuration information for the VPN connection's customer gateway, in the native XML format.public void setType(String type)
The type of VPN connection.
type
- The type of VPN connection.public String getType()
The type of VPN connection.
public AwsEc2VpnConnectionDetails withType(String type)
The type of VPN connection.
type
- The type of VPN connection.public void setVpnGatewayId(String vpnGatewayId)
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
vpnGatewayId
- The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN
connection.public String getVpnGatewayId()
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
public AwsEc2VpnConnectionDetails withVpnGatewayId(String vpnGatewayId)
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
vpnGatewayId
- The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN
connection.public void setCategory(String category)
The category of the VPN connection. VPN
indicates an Amazon Web Services VPN connection.
VPN-Classic
indicates an Amazon Web Services Classic VPN connection.
category
- The category of the VPN connection. VPN
indicates an Amazon Web Services VPN connection.
VPN-Classic
indicates an Amazon Web Services Classic VPN connection.public String getCategory()
The category of the VPN connection. VPN
indicates an Amazon Web Services VPN connection.
VPN-Classic
indicates an Amazon Web Services Classic VPN connection.
VPN
indicates an Amazon Web Services VPN connection.
VPN-Classic
indicates an Amazon Web Services Classic VPN connection.public AwsEc2VpnConnectionDetails withCategory(String category)
The category of the VPN connection. VPN
indicates an Amazon Web Services VPN connection.
VPN-Classic
indicates an Amazon Web Services Classic VPN connection.
category
- The category of the VPN connection. VPN
indicates an Amazon Web Services VPN connection.
VPN-Classic
indicates an Amazon Web Services Classic VPN connection.public List<AwsEc2VpnConnectionVgwTelemetryDetails> getVgwTelemetry()
Information about the VPN tunnel.
public void setVgwTelemetry(Collection<AwsEc2VpnConnectionVgwTelemetryDetails> vgwTelemetry)
Information about the VPN tunnel.
vgwTelemetry
- Information about the VPN tunnel.public AwsEc2VpnConnectionDetails withVgwTelemetry(AwsEc2VpnConnectionVgwTelemetryDetails... vgwTelemetry)
Information about the VPN tunnel.
NOTE: This method appends the values to the existing list (if any). Use
setVgwTelemetry(java.util.Collection)
or withVgwTelemetry(java.util.Collection)
if you want to
override the existing values.
vgwTelemetry
- Information about the VPN tunnel.public AwsEc2VpnConnectionDetails withVgwTelemetry(Collection<AwsEc2VpnConnectionVgwTelemetryDetails> vgwTelemetry)
Information about the VPN tunnel.
vgwTelemetry
- Information about the VPN tunnel.public void setOptions(AwsEc2VpnConnectionOptionsDetails options)
The VPN connection options.
options
- The VPN connection options.public AwsEc2VpnConnectionOptionsDetails getOptions()
The VPN connection options.
public AwsEc2VpnConnectionDetails withOptions(AwsEc2VpnConnectionOptionsDetails options)
The VPN connection options.
options
- The VPN connection options.public List<AwsEc2VpnConnectionRoutesDetails> getRoutes()
The static routes that are associated with the VPN connection.
public void setRoutes(Collection<AwsEc2VpnConnectionRoutesDetails> routes)
The static routes that are associated with the VPN connection.
routes
- The static routes that are associated with the VPN connection.public AwsEc2VpnConnectionDetails withRoutes(AwsEc2VpnConnectionRoutesDetails... routes)
The static routes that are associated with the VPN connection.
NOTE: This method appends the values to the existing list (if any). Use
setRoutes(java.util.Collection)
or withRoutes(java.util.Collection)
if you want to override the
existing values.
routes
- The static routes that are associated with the VPN connection.public AwsEc2VpnConnectionDetails withRoutes(Collection<AwsEc2VpnConnectionRoutesDetails> routes)
The static routes that are associated with the VPN connection.
routes
- The static routes that are associated with the VPN connection.public void setTransitGatewayId(String transitGatewayId)
The identifier of the transit gateway that is associated with the VPN connection.
transitGatewayId
- The identifier of the transit gateway that is associated with the VPN connection.public String getTransitGatewayId()
The identifier of the transit gateway that is associated with the VPN connection.
public AwsEc2VpnConnectionDetails withTransitGatewayId(String transitGatewayId)
The identifier of the transit gateway that is associated with the VPN connection.
transitGatewayId
- The identifier of the transit gateway that is associated with the VPN connection.public String toString()
toString
in class Object
Object.toString()
public AwsEc2VpnConnectionDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.