Interface AttachmentNatConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AttachmentNatConfiguration.Builder,,AttachmentNatConfiguration> SdkBuilder<AttachmentNatConfiguration.Builder,,AttachmentNatConfiguration> SdkPojo
- Enclosing class:
AttachmentNatConfiguration
@Mutable
@NotThreadSafe
public static interface AttachmentNatConfiguration.Builder
extends SdkPojo, CopyableBuilder<AttachmentNatConfiguration.Builder,AttachmentNatConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionattachmentId(String attachmentId) The ID of the attachment.natGatewayRules(Collection<NatRule> natGatewayRules) The NAT rules of the attachment.natGatewayRules(Consumer<NatRule.Builder>... natGatewayRules) The NAT rules of the attachment.natGatewayRules(NatRule... natGatewayRules) The NAT rules of the attachment.natGatewaySupport(String natGatewaySupport) The state of NAT gateway support on the attachment.natGatewaySupport(NatGatewaySupportState natGatewaySupport) The state of NAT gateway support on the attachment.natSystemRouteSupport(Boolean natSystemRouteSupport) Indicates whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
attachmentId
The ID of the attachment.
- Parameters:
attachmentId- The ID of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewaySupport
The state of NAT gateway support on the attachment.
- Parameters:
natGatewaySupport- The state of NAT gateway support on the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natGatewaySupport
The state of NAT gateway support on the attachment.
- Parameters:
natGatewaySupport- The state of NAT gateway support on the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natSystemRouteSupport
Indicates whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules.
- Parameters:
natSystemRouteSupport- Indicates whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayRules
The NAT rules of the attachment.
- Parameters:
natGatewayRules- The NAT rules of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayRules
The NAT rules of the attachment.
- Parameters:
natGatewayRules- The NAT rules of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayRules
The NAT rules of the attachment.
This is a convenience method that creates an instance of theNatRule.Builderavoiding the need to create one manually viaNatRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonatGatewayRules(List<NatRule>).- Parameters:
natGatewayRules- a consumer that will call methods onNatRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-