Interface TransitGatewayOptions.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TransitGatewayOptions.Builder,TransitGatewayOptions>
,SdkBuilder<TransitGatewayOptions.Builder,TransitGatewayOptions>
,SdkPojo
- Enclosing class:
- TransitGatewayOptions
public static interface TransitGatewayOptions.Builder extends SdkPojo, CopyableBuilder<TransitGatewayOptions.Builder,TransitGatewayOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransitGatewayOptions.Builder
amazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.TransitGatewayOptions.Builder
associationDefaultRouteTableId(String associationDefaultRouteTableId)
The ID of the default association route table.TransitGatewayOptions.Builder
autoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Indicates whether attachment requests are automatically accepted.TransitGatewayOptions.Builder
autoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Indicates whether attachment requests are automatically accepted.TransitGatewayOptions.Builder
defaultRouteTableAssociation(String defaultRouteTableAssociation)
Indicates whether resource attachments are automatically associated with the default association route table.TransitGatewayOptions.Builder
defaultRouteTableAssociation(DefaultRouteTableAssociationValue defaultRouteTableAssociation)
Indicates whether resource attachments are automatically associated with the default association route table.TransitGatewayOptions.Builder
defaultRouteTablePropagation(String defaultRouteTablePropagation)
Indicates whether resource attachments automatically propagate routes to the default propagation route table.TransitGatewayOptions.Builder
defaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation)
Indicates whether resource attachments automatically propagate routes to the default propagation route table.TransitGatewayOptions.Builder
dnsSupport(String dnsSupport)
Indicates whether DNS support is enabled.TransitGatewayOptions.Builder
dnsSupport(DnsSupportValue dnsSupport)
Indicates whether DNS support is enabled.TransitGatewayOptions.Builder
multicastSupport(String multicastSupport)
Indicates whether multicast is enabled on the transit gatewayTransitGatewayOptions.Builder
multicastSupport(MulticastSupportValue multicastSupport)
Indicates whether multicast is enabled on the transit gatewayTransitGatewayOptions.Builder
propagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.TransitGatewayOptions.Builder
securityGroupReferencingSupport(String securityGroupReferencingSupport)
TransitGatewayOptions.Builder
securityGroupReferencingSupport(SecurityGroupReferencingSupportValue securityGroupReferencingSupport)
TransitGatewayOptions.Builder
transitGatewayCidrBlocks(String... transitGatewayCidrBlocks)
The transit gateway CIDR blocks.TransitGatewayOptions.Builder
transitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
The transit gateway CIDR blocks.TransitGatewayOptions.Builder
vpnEcmpSupport(String vpnEcmpSupport)
Indicates whether Equal Cost Multipath Protocol support is enabled.TransitGatewayOptions.Builder
vpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Indicates whether Equal Cost Multipath Protocol support is enabled.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
amazonSideAsn
TransitGatewayOptions.Builder amazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
- Parameters:
amazonSideAsn
- A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayCidrBlocks
TransitGatewayOptions.Builder transitGatewayCidrBlocks(Collection<String> transitGatewayCidrBlocks)
The transit gateway CIDR blocks.
- Parameters:
transitGatewayCidrBlocks
- The transit gateway CIDR blocks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayCidrBlocks
TransitGatewayOptions.Builder transitGatewayCidrBlocks(String... transitGatewayCidrBlocks)
The transit gateway CIDR blocks.
- Parameters:
transitGatewayCidrBlocks
- The transit gateway CIDR blocks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoAcceptSharedAttachments
TransitGatewayOptions.Builder autoAcceptSharedAttachments(String autoAcceptSharedAttachments)
Indicates whether attachment requests are automatically accepted.
- Parameters:
autoAcceptSharedAttachments
- Indicates whether attachment requests are automatically accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoAcceptSharedAttachmentsValue
,AutoAcceptSharedAttachmentsValue
-
autoAcceptSharedAttachments
TransitGatewayOptions.Builder autoAcceptSharedAttachments(AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments)
Indicates whether attachment requests are automatically accepted.
- Parameters:
autoAcceptSharedAttachments
- Indicates whether attachment requests are automatically accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoAcceptSharedAttachmentsValue
,AutoAcceptSharedAttachmentsValue
-
defaultRouteTableAssociation
TransitGatewayOptions.Builder defaultRouteTableAssociation(String defaultRouteTableAssociation)
Indicates whether resource attachments are automatically associated with the default association route table.
- Parameters:
defaultRouteTableAssociation
- Indicates whether resource attachments are automatically associated with the default association route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DefaultRouteTableAssociationValue
,DefaultRouteTableAssociationValue
-
defaultRouteTableAssociation
TransitGatewayOptions.Builder defaultRouteTableAssociation(DefaultRouteTableAssociationValue defaultRouteTableAssociation)
Indicates whether resource attachments are automatically associated with the default association route table.
- Parameters:
defaultRouteTableAssociation
- Indicates whether resource attachments are automatically associated with the default association route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DefaultRouteTableAssociationValue
,DefaultRouteTableAssociationValue
-
associationDefaultRouteTableId
TransitGatewayOptions.Builder associationDefaultRouteTableId(String associationDefaultRouteTableId)
The ID of the default association route table.
- Parameters:
associationDefaultRouteTableId
- The ID of the default association route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultRouteTablePropagation
TransitGatewayOptions.Builder defaultRouteTablePropagation(String defaultRouteTablePropagation)
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
- Parameters:
defaultRouteTablePropagation
- Indicates whether resource attachments automatically propagate routes to the default propagation route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DefaultRouteTablePropagationValue
,DefaultRouteTablePropagationValue
-
defaultRouteTablePropagation
TransitGatewayOptions.Builder defaultRouteTablePropagation(DefaultRouteTablePropagationValue defaultRouteTablePropagation)
Indicates whether resource attachments automatically propagate routes to the default propagation route table.
- Parameters:
defaultRouteTablePropagation
- Indicates whether resource attachments automatically propagate routes to the default propagation route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DefaultRouteTablePropagationValue
,DefaultRouteTablePropagationValue
-
propagationDefaultRouteTableId
TransitGatewayOptions.Builder propagationDefaultRouteTableId(String propagationDefaultRouteTableId)
The ID of the default propagation route table.
- Parameters:
propagationDefaultRouteTableId
- The ID of the default propagation route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpnEcmpSupport
TransitGatewayOptions.Builder vpnEcmpSupport(String vpnEcmpSupport)
Indicates whether Equal Cost Multipath Protocol support is enabled.
- Parameters:
vpnEcmpSupport
- Indicates whether Equal Cost Multipath Protocol support is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VpnEcmpSupportValue
,VpnEcmpSupportValue
-
vpnEcmpSupport
TransitGatewayOptions.Builder vpnEcmpSupport(VpnEcmpSupportValue vpnEcmpSupport)
Indicates whether Equal Cost Multipath Protocol support is enabled.
- Parameters:
vpnEcmpSupport
- Indicates whether Equal Cost Multipath Protocol support is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VpnEcmpSupportValue
,VpnEcmpSupportValue
-
dnsSupport
TransitGatewayOptions.Builder dnsSupport(String dnsSupport)
Indicates whether DNS support is enabled.
- Parameters:
dnsSupport
- Indicates whether DNS support is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DnsSupportValue
,DnsSupportValue
-
dnsSupport
TransitGatewayOptions.Builder dnsSupport(DnsSupportValue dnsSupport)
Indicates whether DNS support is enabled.
- Parameters:
dnsSupport
- Indicates whether DNS support is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DnsSupportValue
,DnsSupportValue
-
securityGroupReferencingSupport
TransitGatewayOptions.Builder securityGroupReferencingSupport(String securityGroupReferencingSupport)
This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. 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.
- Parameters:
securityGroupReferencingSupport
-This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecurityGroupReferencingSupportValue
,SecurityGroupReferencingSupportValue
-
securityGroupReferencingSupport
TransitGatewayOptions.Builder securityGroupReferencingSupport(SecurityGroupReferencingSupportValue securityGroupReferencingSupport)
This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. 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.
- Parameters:
securityGroupReferencingSupport
-This parameter is in preview and may not be available for your account.
Enables you to reference a security group across VPCs attached to a transit gateway. 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecurityGroupReferencingSupportValue
,SecurityGroupReferencingSupportValue
-
multicastSupport
TransitGatewayOptions.Builder multicastSupport(String multicastSupport)
Indicates whether multicast is enabled on the transit gateway
- Parameters:
multicastSupport
- Indicates whether multicast is enabled on the transit gateway- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MulticastSupportValue
,MulticastSupportValue
-
multicastSupport
TransitGatewayOptions.Builder multicastSupport(MulticastSupportValue multicastSupport)
Indicates whether multicast is enabled on the transit gateway
- Parameters:
multicastSupport
- Indicates whether multicast is enabled on the transit gateway- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MulticastSupportValue
,MulticastSupportValue
-
-