Class PolicyTableEntryPolicyRuleArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2transitgateway.inputs.PolicyTableEntryPolicyRuleArgs.Builder
-
- Enclosing class:
- PolicyTableEntryPolicyRuleArgs
public static final class PolicyTableEntryPolicyRuleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(PolicyTableEntryPolicyRuleArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PolicyTableEntryPolicyRuleArgs defaults)
-
-
Method Detail
-
destinationCidrBlock
public PolicyTableEntryPolicyRuleArgs.Builder destinationCidrBlock(@Nullable com.pulumi.core.Output<java.lang.String> destinationCidrBlock)
- Parameters:
destinationCidrBlock- Destination CIDR block to match. If not specified, all destination CIDR blocks are matched.- Returns:
- builder
-
destinationCidrBlock
public PolicyTableEntryPolicyRuleArgs.Builder destinationCidrBlock(java.lang.String destinationCidrBlock)
- Parameters:
destinationCidrBlock- Destination CIDR block to match. If not specified, all destination CIDR blocks are matched.- Returns:
- builder
-
destinationPortRange
public PolicyTableEntryPolicyRuleArgs.Builder destinationPortRange(@Nullable com.pulumi.core.Output<java.lang.String> destinationPortRange)
- Parameters:
destinationPortRange- Destination port or port range to match (e.g., `443` or `1024-65535`). Only valid when `protocol` is `6` (TCP) or `17` (UDP).- Returns:
- builder
-
destinationPortRange
public PolicyTableEntryPolicyRuleArgs.Builder destinationPortRange(java.lang.String destinationPortRange)
- Parameters:
destinationPortRange- Destination port or port range to match (e.g., `443` or `1024-65535`). Only valid when `protocol` is `6` (TCP) or `17` (UDP).- Returns:
- builder
-
metadata
public PolicyTableEntryPolicyRuleArgs.Builder metadata(@Nullable com.pulumi.core.Output<PolicyTableEntryPolicyRuleMetadataArgs> metadata)
- Parameters:
metadata- Metadata key/value tag associated with the policy rule. See below.- Returns:
- builder
-
metadata
public PolicyTableEntryPolicyRuleArgs.Builder metadata(PolicyTableEntryPolicyRuleMetadataArgs metadata)
- Parameters:
metadata- Metadata key/value tag associated with the policy rule. See below.- Returns:
- builder
-
protocol
public PolicyTableEntryPolicyRuleArgs.Builder protocol(@Nullable com.pulumi.core.Output<java.lang.String> protocol)
- Parameters:
protocol- Protocol number to match (e.g., `6` for TCP, `17` for UDP). If not specified, all protocols are matched.- Returns:
- builder
-
protocol
public PolicyTableEntryPolicyRuleArgs.Builder protocol(java.lang.String protocol)
- Parameters:
protocol- Protocol number to match (e.g., `6` for TCP, `17` for UDP). If not specified, all protocols are matched.- Returns:
- builder
-
sourceCidrBlock
public PolicyTableEntryPolicyRuleArgs.Builder sourceCidrBlock(@Nullable com.pulumi.core.Output<java.lang.String> sourceCidrBlock)
- Parameters:
sourceCidrBlock- Source CIDR block to match. If not specified, all source CIDR blocks are matched.- Returns:
- builder
-
sourceCidrBlock
public PolicyTableEntryPolicyRuleArgs.Builder sourceCidrBlock(java.lang.String sourceCidrBlock)
- Parameters:
sourceCidrBlock- Source CIDR block to match. If not specified, all source CIDR blocks are matched.- Returns:
- builder
-
sourcePortRange
public PolicyTableEntryPolicyRuleArgs.Builder sourcePortRange(@Nullable com.pulumi.core.Output<java.lang.String> sourcePortRange)
- Parameters:
sourcePortRange- Source port or port range to match (e.g., `443` or `1024-65535`). Only valid when `protocol` is `6` (TCP) or `17` (UDP).- Returns:
- builder
-
sourcePortRange
public PolicyTableEntryPolicyRuleArgs.Builder sourcePortRange(java.lang.String sourcePortRange)
- Parameters:
sourcePortRange- Source port or port range to match (e.g., `443` or `1024-65535`). Only valid when `protocol` is `6` (TCP) or `17` (UDP).- Returns:
- builder
-
build
public PolicyTableEntryPolicyRuleArgs build()
-
-