Class PolicyState.Builder
- java.lang.Object
-
- com.pulumi.openstack.firewall.inputs.PolicyState.Builder
-
- Enclosing class:
- PolicyState
public static final class PolicyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(PolicyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyState.Builderaudited(com.pulumi.core.Output<java.lang.Boolean> audited)PolicyState.Builderaudited(java.lang.Boolean audited)PolicyStatebuild()PolicyState.Builderdescription(com.pulumi.core.Output<java.lang.String> description)PolicyState.Builderdescription(java.lang.String description)PolicyState.Buildername(com.pulumi.core.Output<java.lang.String> name)PolicyState.Buildername(java.lang.String name)PolicyState.Builderregion(com.pulumi.core.Output<java.lang.String> region)PolicyState.Builderregion(java.lang.String region)PolicyState.Builderrules(com.pulumi.core.Output<java.util.List<java.lang.String>> rules)PolicyState.Builderrules(java.lang.String... rules)PolicyState.Builderrules(java.util.List<java.lang.String> rules)PolicyState.Buildershared(com.pulumi.core.Output<java.lang.Boolean> shared)PolicyState.Buildershared(java.lang.Boolean shared)PolicyState.BuildertenantId(com.pulumi.core.Output<java.lang.String> tenantId)PolicyState.BuildertenantId(java.lang.String tenantId)PolicyState.BuildervalueSpecs(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> valueSpecs)PolicyState.BuildervalueSpecs(java.util.Map<java.lang.String,java.lang.Object> valueSpecs)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PolicyState defaults)
-
-
Method Detail
-
audited
public PolicyState.Builder audited(@Nullable com.pulumi.core.Output<java.lang.Boolean> audited)
- Parameters:
audited- Audit status of the firewall policy (must be "true" or "false" if provided - defaults to "false"). This status is set to "false" whenever the firewall policy or any of its rules are changed. Changing this updates the `audited` status of an existing firewall policy.- Returns:
- builder
-
audited
public PolicyState.Builder audited(java.lang.Boolean audited)
- Parameters:
audited- Audit status of the firewall policy (must be "true" or "false" if provided - defaults to "false"). This status is set to "false" whenever the firewall policy or any of its rules are changed. Changing this updates the `audited` status of an existing firewall policy.- Returns:
- builder
-
description
public PolicyState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- A description for the firewall policy. Changing this updates the `description` of an existing firewall policy.- Returns:
- builder
-
description
public PolicyState.Builder description(java.lang.String description)
- Parameters:
description- A description for the firewall policy. Changing this updates the `description` of an existing firewall policy.- Returns:
- builder
-
name
public PolicyState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- A name for the firewall policy. Changing this updates the `name` of an existing firewall policy.- Returns:
- builder
-
name
public PolicyState.Builder name(java.lang.String name)
- Parameters:
name- A name for the firewall policy. Changing this updates the `name` of an existing firewall policy.- Returns:
- builder
-
region
public PolicyState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- The region in which to obtain the v1 networking client. A networking client is needed to create a firewall policy. If omitted, the `region` argument of the provider is used. Changing this creates a new firewall policy.- Returns:
- builder
-
region
public PolicyState.Builder region(java.lang.String region)
- Parameters:
region- The region in which to obtain the v1 networking client. A networking client is needed to create a firewall policy. If omitted, the `region` argument of the provider is used. Changing this creates a new firewall policy.- Returns:
- builder
-
rules
public PolicyState.Builder rules(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> rules)
- Parameters:
rules- An array of one or more firewall rules that comprise the policy. Changing this results in adding/removing rules from the existing firewall policy.- Returns:
- builder
-
rules
public PolicyState.Builder rules(java.util.List<java.lang.String> rules)
- Parameters:
rules- An array of one or more firewall rules that comprise the policy. Changing this results in adding/removing rules from the existing firewall policy.- Returns:
- builder
-
rules
public PolicyState.Builder rules(java.lang.String... rules)
- Parameters:
rules- An array of one or more firewall rules that comprise the policy. Changing this results in adding/removing rules from the existing firewall policy.- Returns:
- builder
-
shared
public PolicyState.Builder shared(@Nullable com.pulumi.core.Output<java.lang.Boolean> shared)
- Parameters:
shared- Sharing status of the firewall policy (must be "true" or "false" if provided). If this is "true" the policy is visible to, and can be used in, firewalls in other tenants. Changing this updates the `shared` status of an existing firewall policy. Only administrative users can specify if the policy should be shared.- Returns:
- builder
-
shared
public PolicyState.Builder shared(java.lang.Boolean shared)
- Parameters:
shared- Sharing status of the firewall policy (must be "true" or "false" if provided). If this is "true" the policy is visible to, and can be used in, firewalls in other tenants. Changing this updates the `shared` status of an existing firewall policy. Only administrative users can specify if the policy should be shared.- Returns:
- builder
-
tenantId
public PolicyState.Builder tenantId(@Nullable com.pulumi.core.Output<java.lang.String> tenantId)
-
tenantId
public PolicyState.Builder tenantId(java.lang.String tenantId)
-
valueSpecs
public PolicyState.Builder valueSpecs(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> valueSpecs)
- Parameters:
valueSpecs- Map of additional options.- Returns:
- builder
-
valueSpecs
public PolicyState.Builder valueSpecs(java.util.Map<java.lang.String,java.lang.Object> valueSpecs)
- Parameters:
valueSpecs- Map of additional options.- Returns:
- builder
-
build
public PolicyState build()
-
-