Class PolicyArgs.Builder

  • Enclosing class:
    PolicyArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(PolicyArgs defaults)
    • Method Detail

      • audited

        public PolicyArgs.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 PolicyArgs.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 PolicyArgs.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 PolicyArgs.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 PolicyArgs.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 PolicyArgs.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 PolicyArgs.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 PolicyArgs.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 PolicyArgs.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 PolicyArgs.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 PolicyArgs.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 PolicyArgs.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 PolicyArgs.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 PolicyArgs.Builder tenantId​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> tenantId)
      • valueSpecs

        public PolicyArgs.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 PolicyArgs.Builder valueSpecs​(java.util.Map<java.lang.String,​java.lang.Object> valueSpecs)
        Parameters:
        valueSpecs - Map of additional options.
        Returns:
        builder