Class GroupV2State.Builder

  • Enclosing class:
    GroupV2State

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

      • Builder

        public Builder()
    • Method Detail

      • adminStateUp

        public GroupV2State.Builder adminStateUp​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Boolean> adminStateUp)
        Parameters:
        adminStateUp - Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the `admin_state_up` of an existing firewall group.
        Returns:
        builder
      • adminStateUp

        public GroupV2State.Builder adminStateUp​(java.lang.Boolean adminStateUp)
        Parameters:
        adminStateUp - Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the `admin_state_up` of an existing firewall group.
        Returns:
        builder
      • description

        public GroupV2State.Builder description​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A description for the firewall group. Changing this updates the `description` of an existing firewall group.
        Returns:
        builder
      • description

        public GroupV2State.Builder description​(java.lang.String description)
        Parameters:
        description - A description for the firewall group. Changing this updates the `description` of an existing firewall group.
        Returns:
        builder
      • egressFirewallPolicyId

        public GroupV2State.Builder egressFirewallPolicyId​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> egressFirewallPolicyId)
        Parameters:
        egressFirewallPolicyId - The egress firewall policy resource id for the firewall group. Changing this updates the `egress_firewall_policy_id` of an existing firewall group.
        Returns:
        builder
      • egressFirewallPolicyId

        public GroupV2State.Builder egressFirewallPolicyId​(java.lang.String egressFirewallPolicyId)
        Parameters:
        egressFirewallPolicyId - The egress firewall policy resource id for the firewall group. Changing this updates the `egress_firewall_policy_id` of an existing firewall group.
        Returns:
        builder
      • ingressFirewallPolicyId

        public GroupV2State.Builder ingressFirewallPolicyId​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> ingressFirewallPolicyId)
        Parameters:
        ingressFirewallPolicyId - The ingress firewall policy resource id for the firewall group. Changing this updates the `ingress_firewall_policy_id` of an existing firewall group.
        Returns:
        builder
      • ingressFirewallPolicyId

        public GroupV2State.Builder ingressFirewallPolicyId​(java.lang.String ingressFirewallPolicyId)
        Parameters:
        ingressFirewallPolicyId - The ingress firewall policy resource id for the firewall group. Changing this updates the `ingress_firewall_policy_id` of an existing firewall group.
        Returns:
        builder
      • name

        public GroupV2State.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A name for the firewall group. Changing this updates the `name` of an existing firewall.
        Returns:
        builder
      • name

        public GroupV2State.Builder name​(java.lang.String name)
        Parameters:
        name - A name for the firewall group. Changing this updates the `name` of an existing firewall.
        Returns:
        builder
      • ports

        public GroupV2State.Builder ports​(@Nullable
                                          com.pulumi.core.Output<java.util.List<java.lang.String>> ports)
        Parameters:
        ports - Port(s) to associate this firewall group with. Must be a list of strings. Changing this updates the associated ports of an existing firewall group.
        Returns:
        builder
      • ports

        public GroupV2State.Builder ports​(java.util.List<java.lang.String> ports)
        Parameters:
        ports - Port(s) to associate this firewall group with. Must be a list of strings. Changing this updates the associated ports of an existing firewall group.
        Returns:
        builder
      • ports

        public GroupV2State.Builder ports​(java.lang.String... ports)
        Parameters:
        ports - Port(s) to associate this firewall group with. Must be a list of strings. Changing this updates the associated ports of an existing firewall group.
        Returns:
        builder
      • projectId

        public GroupV2State.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 group. Required if admin wants to create a firewall group for another project. Changing this creates a new firewall group.
        Returns:
        builder
      • projectId

        public GroupV2State.Builder projectId​(java.lang.String projectId)
        Parameters:
        projectId - This argument conflicts and is interchangeable with `tenant_id`. The owner of the firewall group. Required if admin wants to create a firewall group for another project. Changing this creates a new firewall group.
        Returns:
        builder
      • region

        public GroupV2State.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 group. If omitted, the `region` argument of the provider is used. Changing this creates a new firewall group.
        Returns:
        builder
      • region

        public GroupV2State.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 group. If omitted, the `region` argument of the provider is used. Changing this creates a new firewall group.
        Returns:
        builder
      • shared

        public GroupV2State.Builder shared​(@Nullable
                                           com.pulumi.core.Output<java.lang.Boolean> shared)
        Parameters:
        shared - Sharing status of the firewall group (must be "true" or "false" if provided). If this is "true" the firewall group is visible to, and can be used in, firewalls in other tenants. Changing this updates the `shared` status of an existing firewall group. Only administrative users can specify if the firewall group should be shared.
        Returns:
        builder
      • shared

        public GroupV2State.Builder shared​(java.lang.Boolean shared)
        Parameters:
        shared - Sharing status of the firewall group (must be "true" or "false" if provided). If this is "true" the firewall group is visible to, and can be used in, firewalls in other tenants. Changing this updates the `shared` status of an existing firewall group. Only administrative users can specify if the firewall group should be shared.
        Returns:
        builder
      • status

        public GroupV2State.Builder status​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - The status of the firewall group.
        Returns:
        builder
      • status

        public GroupV2State.Builder status​(java.lang.String status)
        Parameters:
        status - The status of the firewall group.
        Returns:
        builder
      • tenantId

        public GroupV2State.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 group. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
        Returns:
        builder
      • tenantId

        public GroupV2State.Builder tenantId​(java.lang.String tenantId)
        Parameters:
        tenantId - This argument conflicts and is interchangeable with `project_id`. The owner of the firewall group. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
        Returns:
        builder