Interface UpdateAttachmentNatConfigurationResponse.Builder

  • 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

      UpdateAttachmentNatConfigurationResponse.Builder natGatewaySupport(String natGatewaySupport)

      The state of NAT gateway support on the attachment. The transitional states ENABLING and DISABLING change to ENABLED or DISABLED after the update is applied. The state is PENDING_ATTACHMENT_ACCEPTANCE when 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 states ENABLING and DISABLING change to ENABLED or DISABLED after the update is applied. The state is PENDING_ATTACHMENT_ACCEPTANCE when 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

      The state of NAT gateway support on the attachment. The transitional states ENABLING and DISABLING change to ENABLED or DISABLED after the update is applied. The state is PENDING_ATTACHMENT_ACCEPTANCE when 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 states ENABLING and DISABLING change to ENABLED or DISABLED after the update is applied. The state is PENDING_ATTACHMENT_ACCEPTANCE when 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

      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(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.

      This is a convenience method that creates an instance of the NatRule.Builder avoiding the need to create one manually via NatRule.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to natGatewayRules(List<NatRule>).

      Parameters:
      natGatewayRules - a consumer that will call methods on NatRule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: