Class FirewallRuleState.Builder

  • Enclosing class:
    FirewallRuleState

    public static final class FirewallRuleState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • action

        public FirewallRuleState.Builder action​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> action)
        Parameters:
        action - The action to take if this rule matches. Possible values are: `UNSPECIFIED_ACTION`, `ALLOW`, `DENY`. ***
        Returns:
        builder
      • action

        public FirewallRuleState.Builder action​(java.lang.String action)
        Parameters:
        action - The action to take if this rule matches. Possible values are: `UNSPECIFIED_ACTION`, `ALLOW`, `DENY`. ***
        Returns:
        builder
      • description

        public FirewallRuleState.Builder description​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - An optional string description of this rule.
        Returns:
        builder
      • description

        public FirewallRuleState.Builder description​(java.lang.String description)
        Parameters:
        description - An optional string description of this rule.
        Returns:
        builder
      • priority

        public FirewallRuleState.Builder priority​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Integer> priority)
        Parameters:
        priority - A positive integer that defines the order of rule evaluation. Rules with the lowest priority are evaluated first. A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the user.
        Returns:
        builder
      • priority

        public FirewallRuleState.Builder priority​(java.lang.Integer priority)
        Parameters:
        priority - A positive integer that defines the order of rule evaluation. Rules with the lowest priority are evaluated first. A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the user.
        Returns:
        builder
      • project

        public FirewallRuleState.Builder project​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public FirewallRuleState.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • sourceRange

        public FirewallRuleState.Builder sourceRange​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> sourceRange)
        Parameters:
        sourceRange - IP address or range, defined using CIDR notation, of requests that this rule applies to.
        Returns:
        builder
      • sourceRange

        public FirewallRuleState.Builder sourceRange​(java.lang.String sourceRange)
        Parameters:
        sourceRange - IP address or range, defined using CIDR notation, of requests that this rule applies to.
        Returns:
        builder