Package com.pulumi.gcp.appengine.inputs
Class FirewallRuleState.Builder
- java.lang.Object
-
- com.pulumi.gcp.appengine.inputs.FirewallRuleState.Builder
-
- Enclosing class:
- FirewallRuleState
public static final class FirewallRuleState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(FirewallRuleState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FirewallRuleState.Builder
action(com.pulumi.core.Output<java.lang.String> action)
FirewallRuleState.Builder
action(java.lang.String action)
FirewallRuleState
build()
FirewallRuleState.Builder
description(com.pulumi.core.Output<java.lang.String> description)
FirewallRuleState.Builder
description(java.lang.String description)
FirewallRuleState.Builder
priority(com.pulumi.core.Output<java.lang.Integer> priority)
FirewallRuleState.Builder
priority(java.lang.Integer priority)
FirewallRuleState.Builder
project(com.pulumi.core.Output<java.lang.String> project)
FirewallRuleState.Builder
project(java.lang.String project)
FirewallRuleState.Builder
sourceRange(com.pulumi.core.Output<java.lang.String> sourceRange)
FirewallRuleState.Builder
sourceRange(java.lang.String sourceRange)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FirewallRuleState defaults)
-
-
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
-
build
public FirewallRuleState build()
-
-