@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTransitGatewayVpcAttachmentRequestOptions extends Object implements Serializable, Cloneable
Describes the options for a VPC attachment.
Constructor and Description |
---|
CreateTransitGatewayVpcAttachmentRequestOptions() |
Modifier and Type | Method and Description |
---|---|
CreateTransitGatewayVpcAttachmentRequestOptions |
clone() |
boolean |
equals(Object obj) |
String |
getApplianceModeSupport()
Enable or disable support for appliance mode.
|
String |
getDnsSupport()
Enable or disable DNS support.
|
String |
getIpv6Support()
Enable or disable IPv6 support.
|
int |
hashCode() |
void |
setApplianceModeSupport(String applianceModeSupport)
Enable or disable support for appliance mode.
|
void |
setDnsSupport(String dnsSupport)
Enable or disable DNS support.
|
void |
setIpv6Support(String ipv6Support)
Enable or disable IPv6 support.
|
String |
toString()
Returns a string representation of this object.
|
CreateTransitGatewayVpcAttachmentRequestOptions |
withApplianceModeSupport(ApplianceModeSupportValue applianceModeSupport)
Enable or disable support for appliance mode.
|
CreateTransitGatewayVpcAttachmentRequestOptions |
withApplianceModeSupport(String applianceModeSupport)
Enable or disable support for appliance mode.
|
CreateTransitGatewayVpcAttachmentRequestOptions |
withDnsSupport(DnsSupportValue dnsSupport)
Enable or disable DNS support.
|
CreateTransitGatewayVpcAttachmentRequestOptions |
withDnsSupport(String dnsSupport)
Enable or disable DNS support.
|
CreateTransitGatewayVpcAttachmentRequestOptions |
withIpv6Support(Ipv6SupportValue ipv6Support)
Enable or disable IPv6 support.
|
CreateTransitGatewayVpcAttachmentRequestOptions |
withIpv6Support(String ipv6Support)
Enable or disable IPv6 support.
|
public CreateTransitGatewayVpcAttachmentRequestOptions()
public void setDnsSupport(String dnsSupport)
Enable or disable DNS support. The default is enable
.
dnsSupport
- Enable or disable DNS support. The default is enable
.DnsSupportValue
public String getDnsSupport()
Enable or disable DNS support. The default is enable
.
enable
.DnsSupportValue
public CreateTransitGatewayVpcAttachmentRequestOptions withDnsSupport(String dnsSupport)
Enable or disable DNS support. The default is enable
.
dnsSupport
- Enable or disable DNS support. The default is enable
.DnsSupportValue
public CreateTransitGatewayVpcAttachmentRequestOptions withDnsSupport(DnsSupportValue dnsSupport)
Enable or disable DNS support. The default is enable
.
dnsSupport
- Enable or disable DNS support. The default is enable
.DnsSupportValue
public void setIpv6Support(String ipv6Support)
Enable or disable IPv6 support. The default is disable
.
ipv6Support
- Enable or disable IPv6 support. The default is disable
.Ipv6SupportValue
public String getIpv6Support()
Enable or disable IPv6 support. The default is disable
.
disable
.Ipv6SupportValue
public CreateTransitGatewayVpcAttachmentRequestOptions withIpv6Support(String ipv6Support)
Enable or disable IPv6 support. The default is disable
.
ipv6Support
- Enable or disable IPv6 support. The default is disable
.Ipv6SupportValue
public CreateTransitGatewayVpcAttachmentRequestOptions withIpv6Support(Ipv6SupportValue ipv6Support)
Enable or disable IPv6 support. The default is disable
.
ipv6Support
- Enable or disable IPv6 support. The default is disable
.Ipv6SupportValue
public void setApplianceModeSupport(String applianceModeSupport)
Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses
the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is
disable
.
applianceModeSupport
- Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination
uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is
disable
.ApplianceModeSupportValue
public String getApplianceModeSupport()
Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses
the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is
disable
.
disable
.ApplianceModeSupportValue
public CreateTransitGatewayVpcAttachmentRequestOptions withApplianceModeSupport(String applianceModeSupport)
Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses
the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is
disable
.
applianceModeSupport
- Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination
uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is
disable
.ApplianceModeSupportValue
public CreateTransitGatewayVpcAttachmentRequestOptions withApplianceModeSupport(ApplianceModeSupportValue applianceModeSupport)
Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses
the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is
disable
.
applianceModeSupport
- Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination
uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is
disable
.ApplianceModeSupportValue
public String toString()
toString
in class Object
Object.toString()
public CreateTransitGatewayVpcAttachmentRequestOptions clone()