@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2VpnConnectionRoutesDetails extends Object implements Serializable, Cloneable, StructuredPojo
A static routes associated with the VPN connection.
| Constructor and Description |
|---|
AwsEc2VpnConnectionRoutesDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsEc2VpnConnectionRoutesDetails |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationCidrBlock()
The CIDR block associated with the local subnet of the customer data center.
|
String |
getState()
The current state of the static route.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDestinationCidrBlock(String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer data center.
|
void |
setState(String state)
The current state of the static route.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2VpnConnectionRoutesDetails |
withDestinationCidrBlock(String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer data center.
|
AwsEc2VpnConnectionRoutesDetails |
withState(String state)
The current state of the static route.
|
public void setDestinationCidrBlock(String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer data center.
destinationCidrBlock - The CIDR block associated with the local subnet of the customer data center.public String getDestinationCidrBlock()
The CIDR block associated with the local subnet of the customer data center.
public AwsEc2VpnConnectionRoutesDetails withDestinationCidrBlock(String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer data center.
destinationCidrBlock - The CIDR block associated with the local subnet of the customer data center.public void setState(String state)
The current state of the static route.
state - The current state of the static route.public String getState()
The current state of the static route.
public AwsEc2VpnConnectionRoutesDetails withState(String state)
The current state of the static route.
state - The current state of the static route.public String toString()
toString in class ObjectObject.toString()public AwsEc2VpnConnectionRoutesDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.