Class PolicyState.Builder

  • Enclosing class:
    PolicyState

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

      • Builder

        public Builder()
    • 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)
      • 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