Interface ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder,,ModifyTransitGatewayAttachmentNatConfigurationResponse> Ec2Response.Builder,SdkBuilder<ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder,,ModifyTransitGatewayAttachmentNatConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ModifyTransitGatewayAttachmentNatConfigurationResponse
@Mutable
@NotThreadSafe
public static interface ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder,ModifyTransitGatewayAttachmentNatConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnatGatewayRules(Collection<TransitGatewayNatRule> natGatewayRules) The NAT gateway rules for the attachment.natGatewayRules(Consumer<TransitGatewayNatRule.Builder>... natGatewayRules) The NAT gateway rules for the attachment.natGatewayRules(TransitGatewayNatRule... natGatewayRules) The NAT gateway rules for the attachment.natGatewaySupport(String natGatewaySupport) The state of NAT gateway support for the attachment.natGatewaySupport(TransitGatewayAttachmentNatGatewaySupportState natGatewaySupport) The state of NAT gateway support for the attachment.natSystemRouteSupport(String natSystemRouteSupport) Specifies whether the transit gateway installs routes for the NAT CIDRs in the route tables to which the attachment propagates.natSystemRouteSupport(TransitGatewayAttachmentNatSystemRouteSupportValue natSystemRouteSupport) Specifies whether the transit gateway installs routes for the NAT CIDRs in the route tables to which the attachment propagates.transitGatewayAttachmentId(String transitGatewayAttachmentId) The ID of the transit gateway attachment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
transitGatewayAttachmentId
ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId) The ID of the transit gateway attachment.
- Parameters:
transitGatewayAttachmentId- The ID of the transit gateway attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewaySupport
ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder natGatewaySupport(String natGatewaySupport) The state of NAT gateway support for the attachment.
- Parameters:
natGatewaySupport- The state of NAT gateway support for the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natGatewaySupport
ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder natGatewaySupport(TransitGatewayAttachmentNatGatewaySupportState natGatewaySupport) The state of NAT gateway support for the attachment.
- Parameters:
natGatewaySupport- The state of NAT gateway support for the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natSystemRouteSupport
ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder natSystemRouteSupport(String natSystemRouteSupport) Specifies whether the transit gateway installs routes for the NAT CIDRs in the route tables to which the attachment propagates.
- Parameters:
natSystemRouteSupport- Specifies whether the transit gateway installs routes for the NAT CIDRs in the route tables to which the attachment propagates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natSystemRouteSupport
ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder natSystemRouteSupport(TransitGatewayAttachmentNatSystemRouteSupportValue natSystemRouteSupport) Specifies whether the transit gateway installs routes for the NAT CIDRs in the route tables to which the attachment propagates.
- Parameters:
natSystemRouteSupport- Specifies whether the transit gateway installs routes for the NAT CIDRs in the route tables to which the attachment propagates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natGatewayRules
ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder natGatewayRules(Collection<TransitGatewayNatRule> natGatewayRules) The NAT gateway rules for the attachment.
- Parameters:
natGatewayRules- The NAT gateway rules for the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayRules
ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder natGatewayRules(TransitGatewayNatRule... natGatewayRules) The NAT gateway rules for the attachment.
- Parameters:
natGatewayRules- The NAT gateway rules for the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayRules
ModifyTransitGatewayAttachmentNatConfigurationResponse.Builder natGatewayRules(Consumer<TransitGatewayNatRule.Builder>... natGatewayRules) The NAT gateway rules for the attachment.
This is a convenience method that creates an instance of theTransitGatewayNatRule.Builderavoiding the need to create one manually viaTransitGatewayNatRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonatGatewayRules(List<TransitGatewayNatRule>).- Parameters:
natGatewayRules- a consumer that will call methods onTransitGatewayNatRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-