@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.
|
String |
getSecurityGroupReferencingSupport()
Enables you to reference a security group across VPCs attached to a transit gateway (TGW).
|
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.
|
void |
setSecurityGroupReferencingSupport(String securityGroupReferencingSupport)
Enables you to reference a security group across VPCs attached to a transit gateway (TGW).
|
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.
|
CreateTransitGatewayVpcAttachmentRequestOptions |
withSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue securityGroupReferencingSupport)
Enables you to reference a security group across VPCs attached to a transit gateway (TGW).
|
CreateTransitGatewayVpcAttachmentRequestOptions |
withSecurityGroupReferencingSupport(String securityGroupReferencingSupport)
Enables you to reference a security group across VPCs attached to a transit gateway (TGW).
|
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 setSecurityGroupReferencingSupport(String securityGroupReferencingSupport)
Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
securityGroupReferencingSupport
- Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option
to simplify security group management and control of instance-to-instance traffic across VPCs that are
connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only
option that supported security group referencing) to transit gateways (which now also support security
group referencing). This option is disabled by default and there are no additional costs to use this
feature.
If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
SecurityGroupReferencingSupportValue
public String getSecurityGroupReferencingSupport()
Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
SecurityGroupReferencingSupportValue
public CreateTransitGatewayVpcAttachmentRequestOptions withSecurityGroupReferencingSupport(String securityGroupReferencingSupport)
Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
securityGroupReferencingSupport
- Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option
to simplify security group management and control of instance-to-instance traffic across VPCs that are
connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only
option that supported security group referencing) to transit gateways (which now also support security
group referencing). This option is disabled by default and there are no additional costs to use this
feature.
If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
SecurityGroupReferencingSupportValue
public CreateTransitGatewayVpcAttachmentRequestOptions withSecurityGroupReferencingSupport(SecurityGroupReferencingSupportValue securityGroupReferencingSupport)
Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
securityGroupReferencingSupport
- Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option
to simplify security group management and control of instance-to-instance traffic across VPCs that are
connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only
option that supported security group referencing) to transit gateways (which now also support security
group referencing). This option is disabled by default and there are no additional costs to use this
feature.
If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.
For important information about this feature, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.
SecurityGroupReferencingSupportValue
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()