Interface TransitGatewayNatRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TransitGatewayNatRule.Builder,,TransitGatewayNatRule> SdkBuilder<TransitGatewayNatRule.Builder,,TransitGatewayNatRule> SdkPojo
- Enclosing class:
TransitGatewayNatRule
-
Method Summary
Modifier and TypeMethodDescriptionmatchSourceCidr(String matchSourceCidr) The IPv4 CIDR block of the source addresses to translate.The IPv4 CIDR block that the transit gateway translates the source addresses to.ruleNumber(Integer ruleNumber) The rule number.The state of the NAT gateway rule.state(TransitGatewayNatRuleState state) The state of the NAT gateway rule.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
-
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
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:
-
-