Interface TransitGatewayNatRule.Builder

  • Method Details

    • ruleNumber

      TransitGatewayNatRule.Builder ruleNumber(Integer ruleNumber)

      The rule number.

      Parameters:
      ruleNumber - The rule number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchSourceCidr

      TransitGatewayNatRule.Builder matchSourceCidr(String matchSourceCidr)

      The IPv4 CIDR block of the source addresses to translate.

      Parameters:
      matchSourceCidr - The IPv4 CIDR block of the source addresses to translate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • natCidr

      The IPv4 CIDR block that the transit gateway translates the source addresses to.

      Parameters:
      natCidr - The IPv4 CIDR block that the transit gateway translates the source addresses to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the NAT gateway rule. The possible values are:

      • pending - The transit gateway is applying a change to the rule.

      • activated - The rule is in effect because NAT gateway support is enabled for the attachment.

      • deactivated - The rule isn't in effect because NAT gateway support is disabled for the attachment.

      Parameters:
      state - The state of the NAT gateway rule. The possible values are:

      • pending - The transit gateway is applying a change to the rule.

      • activated - The rule is in effect because NAT gateway support is enabled for the attachment.

      • deactivated - The rule isn't in effect because NAT gateway support is disabled for the attachment.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the NAT gateway rule. The possible values are:

      • pending - The transit gateway is applying a change to the rule.

      • activated - The rule is in effect because NAT gateway support is enabled for the attachment.

      • deactivated - The rule isn't in effect because NAT gateway support is disabled for the attachment.

      Parameters:
      state - The state of the NAT gateway rule. The possible values are:

      • pending - The transit gateway is applying a change to the rule.

      • activated - The rule is in effect because NAT gateway support is enabled for the attachment.

      • deactivated - The rule isn't in effect because NAT gateway support is disabled for the attachment.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: