Class PolicyV2Args.Builder

  • Enclosing class:
    PolicyV2Args

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

      • Builder

        public Builder()
    • Method Detail

      • audited

        public PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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 PolicyV2Args.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