@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2VpnConnectionOptionsDetails extends Object implements Serializable, Cloneable, StructuredPojo
VPN connection options.
Constructor and Description |
---|
AwsEc2VpnConnectionOptionsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2VpnConnectionOptionsDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getStaticRoutesOnly()
Whether the VPN connection uses static routes only.
|
List<AwsEc2VpnConnectionOptionsTunnelOptionsDetails> |
getTunnelOptions()
The VPN tunnel options.
|
int |
hashCode() |
Boolean |
isStaticRoutesOnly()
Whether the VPN connection uses static routes only.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStaticRoutesOnly(Boolean staticRoutesOnly)
Whether the VPN connection uses static routes only.
|
void |
setTunnelOptions(Collection<AwsEc2VpnConnectionOptionsTunnelOptionsDetails> tunnelOptions)
The VPN tunnel options.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2VpnConnectionOptionsDetails |
withStaticRoutesOnly(Boolean staticRoutesOnly)
Whether the VPN connection uses static routes only.
|
AwsEc2VpnConnectionOptionsDetails |
withTunnelOptions(AwsEc2VpnConnectionOptionsTunnelOptionsDetails... tunnelOptions)
The VPN tunnel options.
|
AwsEc2VpnConnectionOptionsDetails |
withTunnelOptions(Collection<AwsEc2VpnConnectionOptionsTunnelOptionsDetails> tunnelOptions)
The VPN tunnel options.
|
public void setStaticRoutesOnly(Boolean staticRoutesOnly)
Whether the VPN connection uses static routes only.
staticRoutesOnly
- Whether the VPN connection uses static routes only.public Boolean getStaticRoutesOnly()
Whether the VPN connection uses static routes only.
public AwsEc2VpnConnectionOptionsDetails withStaticRoutesOnly(Boolean staticRoutesOnly)
Whether the VPN connection uses static routes only.
staticRoutesOnly
- Whether the VPN connection uses static routes only.public Boolean isStaticRoutesOnly()
Whether the VPN connection uses static routes only.
public List<AwsEc2VpnConnectionOptionsTunnelOptionsDetails> getTunnelOptions()
The VPN tunnel options.
public void setTunnelOptions(Collection<AwsEc2VpnConnectionOptionsTunnelOptionsDetails> tunnelOptions)
The VPN tunnel options.
tunnelOptions
- The VPN tunnel options.public AwsEc2VpnConnectionOptionsDetails withTunnelOptions(AwsEc2VpnConnectionOptionsTunnelOptionsDetails... tunnelOptions)
The VPN tunnel options.
NOTE: This method appends the values to the existing list (if any). Use
setTunnelOptions(java.util.Collection)
or withTunnelOptions(java.util.Collection)
if you want
to override the existing values.
tunnelOptions
- The VPN tunnel options.public AwsEc2VpnConnectionOptionsDetails withTunnelOptions(Collection<AwsEc2VpnConnectionOptionsTunnelOptionsDetails> tunnelOptions)
The VPN tunnel options.
tunnelOptions
- The VPN tunnel options.public String toString()
toString
in class Object
Object.toString()
public AwsEc2VpnConnectionOptionsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.