@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() |
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 ObjectObject.toString()public AwsEc2VpnConnectionOptionsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.