Class PolicyV2State.Builder
- java.lang.Object
-
- com.pulumi.openstack.firewall.inputs.PolicyV2State.Builder
-
- Enclosing class:
- PolicyV2State
public static final class PolicyV2State.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(PolicyV2State defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyV2State.Builderaudited(com.pulumi.core.Output<java.lang.Boolean> audited)PolicyV2State.Builderaudited(java.lang.Boolean audited)PolicyV2Statebuild()PolicyV2State.Builderdescription(com.pulumi.core.Output<java.lang.String> description)PolicyV2State.Builderdescription(java.lang.String description)PolicyV2State.Buildername(com.pulumi.core.Output<java.lang.String> name)PolicyV2State.Buildername(java.lang.String name)PolicyV2State.BuilderprojectId(com.pulumi.core.Output<java.lang.String> projectId)PolicyV2State.BuilderprojectId(java.lang.String projectId)PolicyV2State.Builderregion(com.pulumi.core.Output<java.lang.String> region)PolicyV2State.Builderregion(java.lang.String region)PolicyV2State.Builderrules(com.pulumi.core.Output<java.util.List<java.lang.String>> rules)PolicyV2State.Builderrules(java.lang.String... rules)PolicyV2State.Builderrules(java.util.List<java.lang.String> rules)PolicyV2State.Buildershared(com.pulumi.core.Output<java.lang.Boolean> shared)PolicyV2State.Buildershared(java.lang.Boolean shared)PolicyV2State.BuildertenantId(com.pulumi.core.Output<java.lang.String> tenantId)PolicyV2State.BuildertenantId(java.lang.String tenantId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PolicyV2State defaults)
-
-
Method Detail
-
audited
public PolicyV2State.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 PolicyV2State.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 PolicyV2State.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 PolicyV2State.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 PolicyV2State.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 PolicyV2State.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
-
projectId
public PolicyV2State.Builder projectId(@Nullable com.pulumi.core.Output<java.lang.String> projectId)
- Parameters:
projectId- This argument conflicts and is interchangeable with `tenant_id`. The owner of the firewall policy. Required if admin wants to create a firewall policy for another project. Changing this creates a new firewall policy.- Returns:
- builder
-
projectId
public PolicyV2State.Builder projectId(java.lang.String projectId)
- Parameters:
projectId- This argument conflicts and is interchangeable with `tenant_id`. The owner of the firewall policy. Required if admin wants to create a firewall policy for another project. Changing this creates a new firewall policy.- Returns:
- builder
-
region
public PolicyV2State.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- The region in which to obtain the v2 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 PolicyV2State.Builder region(java.lang.String region)
- Parameters:
region- The region in which to obtain the v2 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 PolicyV2State.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 PolicyV2State.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 PolicyV2State.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 PolicyV2State.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 PolicyV2State.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 PolicyV2State.Builder tenantId(@Nullable com.pulumi.core.Output<java.lang.String> tenantId)
- Parameters:
tenantId- This argument conflicts and is interchangeable with `project_id`. The owner of the firewall policy. Required if admin wants to create a firewall policy for another tenant. Changing this creates a new firewall policy.- Returns:
- builder
-
tenantId
public PolicyV2State.Builder tenantId(java.lang.String tenantId)
- Parameters:
tenantId- This argument conflicts and is interchangeable with `project_id`. The owner of the firewall policy. Required if admin wants to create a firewall policy for another tenant. Changing this creates a new firewall policy.- Returns:
- builder
-
build
public PolicyV2State build()
-
-