Interface UpdateAttachmentNatConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateAttachmentNatConfigurationResponse.Builder,,UpdateAttachmentNatConfigurationResponse> NetworkManagerResponse.Builder,SdkBuilder<UpdateAttachmentNatConfigurationResponse.Builder,,UpdateAttachmentNatConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAttachmentNatConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptionattachmentId(String attachmentId) The ID of the attachment.natGatewayRules(Collection<NatRule> natGatewayRules) The NAT rules of the attachment, including rules that are being deleted.natGatewayRules(Consumer<NatRule.Builder>... natGatewayRules) The NAT rules of the attachment, including rules that are being deleted.natGatewayRules(NatRule... natGatewayRules) The NAT rules of the attachment, including rules that are being deleted.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.services.networkmanager.model.NetworkManagerResponse.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
-
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. The transitional states
ENABLINGandDISABLINGchange toENABLEDorDISABLEDafter the update is applied. The state isPENDING_ATTACHMENT_ACCEPTANCEwhen NAT gateway support is enabled on an attachment that is pending acceptance.- Parameters:
natGatewaySupport- The state of NAT gateway support on the attachment. The transitional statesENABLINGandDISABLINGchange toENABLEDorDISABLEDafter the update is applied. The state isPENDING_ATTACHMENT_ACCEPTANCEwhen NAT gateway support is enabled on an attachment that is pending acceptance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natGatewaySupport
UpdateAttachmentNatConfigurationResponse.Builder natGatewaySupport(NatGatewaySupportState natGatewaySupport) The state of NAT gateway support on the attachment. The transitional states
ENABLINGandDISABLINGchange toENABLEDorDISABLEDafter the update is applied. The state isPENDING_ATTACHMENT_ACCEPTANCEwhen NAT gateway support is enabled on an attachment that is pending acceptance.- Parameters:
natGatewaySupport- The state of NAT gateway support on the attachment. The transitional statesENABLINGandDISABLINGchange toENABLEDorDISABLEDafter the update is applied. The state isPENDING_ATTACHMENT_ACCEPTANCEwhen NAT gateway support is enabled on an attachment that is pending acceptance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natSystemRouteSupport
UpdateAttachmentNatConfigurationResponse.Builder natSystemRouteSupport(Boolean 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
UpdateAttachmentNatConfigurationResponse.Builder natGatewayRules(Collection<NatRule> natGatewayRules) The NAT rules of the attachment, including rules that are being deleted.
- Parameters:
natGatewayRules- The NAT rules of the attachment, including rules that are being deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayRules
The NAT rules of the attachment, including rules that are being deleted.
- Parameters:
natGatewayRules- The NAT rules of the attachment, including rules that are being deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayRules
UpdateAttachmentNatConfigurationResponse.Builder natGatewayRules(Consumer<NatRule.Builder>... natGatewayRules) The NAT rules of the attachment, including rules that are being deleted.
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:
-