Interface CreateConnectAttachmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateConnectAttachmentRequest.Builder,,CreateConnectAttachmentRequest> NetworkManagerRequest.Builder,SdkBuilder<CreateConnectAttachmentRequest.Builder,,CreateConnectAttachmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateConnectAttachmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The client token associated with the request.coreNetworkId(String coreNetworkId) The ID of a core network where you want to create the attachment.edgeLocation(String edgeLocation) The Region where the edge is located.natGatewayRules(Collection<NatRuleRequest> natGatewayRules) The NAT rules for the Connect attachment, up to 50 rules.natGatewayRules(Consumer<NatRuleRequest.Builder>... natGatewayRules) The NAT rules for the Connect attachment, up to 50 rules.natGatewayRules(NatRuleRequest... natGatewayRules) The NAT rules for the Connect attachment, up to 50 rules.natGatewaySupport(String natGatewaySupport) Specifies whether to enable NAT gateway support on the Connect attachment.natGatewaySupport(NatGatewaySupportValue natGatewaySupport) Specifies whether to enable NAT gateway support on the Connect attachment.options(Consumer<ConnectAttachmentOptions.Builder> options) Options for creating an attachment.options(ConnectAttachmentOptions options) Options for creating an attachment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.routingPolicyLabel(String routingPolicyLabel) The routing policy label to apply to the Connect attachment for traffic routing decisions.tags(Collection<Tag> tags) The list of key-value tags associated with the request.tags(Consumer<Tag.Builder>... tags) The list of key-value tags associated with the request.The list of key-value tags associated with the request.transportAttachmentId(String transportAttachmentId) The ID of the attachment between the two connections.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
coreNetworkId
The ID of a core network where you want to create the attachment.
- Parameters:
coreNetworkId- The ID of a core network where you want to create the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edgeLocation
The Region where the edge is located.
- Parameters:
edgeLocation- The Region where the edge is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transportAttachmentId
The ID of the attachment between the two connections.
- Parameters:
transportAttachmentId- The ID of the attachment between the two connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingPolicyLabel
The routing policy label to apply to the Connect attachment for traffic routing decisions.
- Parameters:
routingPolicyLabel- The routing policy label to apply to the Connect attachment for traffic routing decisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewaySupport
Specifies whether to enable NAT gateway support on the Connect attachment. NAT is supported only on Connect attachments that use the GRE tunnel protocol. Tunnel-less Connect attachments aren't supported. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.
- Parameters:
natGatewaySupport- Specifies whether to enable NAT gateway support on the Connect attachment. NAT is supported only on Connect attachments that use the GRE tunnel protocol. Tunnel-less Connect attachments aren't supported. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natGatewaySupport
Specifies whether to enable NAT gateway support on the Connect attachment. NAT is supported only on Connect attachments that use the GRE tunnel protocol. Tunnel-less Connect attachments aren't supported. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.
- Parameters:
natGatewaySupport- Specifies whether to enable NAT gateway support on the Connect attachment. NAT is supported only on Connect attachments that use the GRE tunnel protocol. Tunnel-less Connect attachments aren't supported. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natGatewayRules
The NAT rules for the Connect attachment, up to 50 rules.
- Parameters:
natGatewayRules- The NAT rules for the Connect attachment, up to 50 rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayRules
The NAT rules for the Connect attachment, up to 50 rules.
- Parameters:
natGatewayRules- The NAT rules for the Connect attachment, up to 50 rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayRules
CreateConnectAttachmentRequest.Builder natGatewayRules(Consumer<NatRuleRequest.Builder>... natGatewayRules) The NAT rules for the Connect attachment, up to 50 rules.
This is a convenience method that creates an instance of theNatRuleRequest.Builderavoiding the need to create one manually viaNatRuleRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonatGatewayRules(List<NatRuleRequest>).- Parameters:
natGatewayRules- a consumer that will call methods onNatRuleRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
options
Options for creating an attachment.
- Parameters:
options- Options for creating an attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
default CreateConnectAttachmentRequest.Builder options(Consumer<ConnectAttachmentOptions.Builder> options) Options for creating an attachment.
This is a convenience method that creates an instance of theConnectAttachmentOptions.Builderavoiding the need to create one manually viaConnectAttachmentOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptions(ConnectAttachmentOptions).- Parameters:
options- a consumer that will call methods onConnectAttachmentOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The list of key-value tags associated with the request.
- Parameters:
tags- The list of key-value tags associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of key-value tags associated with the request.
- Parameters:
tags- The list of key-value tags associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of key-value tags associated with the request.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
The client token associated with the request.
- Parameters:
clientToken- The client token associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateConnectAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateConnectAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-