Class PoolV1State.Builder

  • Enclosing class:
    PoolV1State

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

      • Builder

        public Builder()
    • Method Detail

      • lbMethod

        public PoolV1State.Builder lbMethod​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> lbMethod)
        Parameters:
        lbMethod - The algorithm used to distribute load between the members of the pool. The current specification supports 'ROUND_ROBIN' and 'LEAST_CONNECTIONS' as valid values for this attribute.
        Returns:
        builder
      • lbMethod

        public PoolV1State.Builder lbMethod​(java.lang.String lbMethod)
        Parameters:
        lbMethod - The algorithm used to distribute load between the members of the pool. The current specification supports 'ROUND_ROBIN' and 'LEAST_CONNECTIONS' as valid values for this attribute.
        Returns:
        builder
      • lbProvider

        public PoolV1State.Builder lbProvider​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> lbProvider)
        Parameters:
        lbProvider - The backend load balancing provider. For example: `haproxy`, `F5`, etc.
        Returns:
        builder
      • lbProvider

        public PoolV1State.Builder lbProvider​(java.lang.String lbProvider)
        Parameters:
        lbProvider - The backend load balancing provider. For example: `haproxy`, `F5`, etc.
        Returns:
        builder
      • members

        @Deprecated
        public PoolV1State.Builder members​(@Nullable
                                           com.pulumi.core.Output<java.util.List<java.lang.String>> members)
        Deprecated.
        Use openstack_lb_member_v1 instead
        Parameters:
        members - An existing node to add to the pool. Changing this updates the members of the pool. The member object structure is documented below. Please note that the `member` block is deprecated in favor of the `openstack.loadbalancer.MemberV1` resource.
        Returns:
        builder
      • members

        @Deprecated
        public PoolV1State.Builder members​(java.util.List<java.lang.String> members)
        Deprecated.
        Use openstack_lb_member_v1 instead
        Parameters:
        members - An existing node to add to the pool. Changing this updates the members of the pool. The member object structure is documented below. Please note that the `member` block is deprecated in favor of the `openstack.loadbalancer.MemberV1` resource.
        Returns:
        builder
      • members

        @Deprecated
        public PoolV1State.Builder members​(java.lang.String... members)
        Deprecated.
        Use openstack_lb_member_v1 instead
        Parameters:
        members - An existing node to add to the pool. Changing this updates the members of the pool. The member object structure is documented below. Please note that the `member` block is deprecated in favor of the `openstack.loadbalancer.MemberV1` resource.
        Returns:
        builder
      • monitorIds

        public PoolV1State.Builder monitorIds​(@Nullable
                                              com.pulumi.core.Output<java.util.List<java.lang.String>> monitorIds)
        Parameters:
        monitorIds - A list of IDs of monitors to associate with the pool.
        Returns:
        builder
      • monitorIds

        public PoolV1State.Builder monitorIds​(java.util.List<java.lang.String> monitorIds)
        Parameters:
        monitorIds - A list of IDs of monitors to associate with the pool.
        Returns:
        builder
      • monitorIds

        public PoolV1State.Builder monitorIds​(java.lang.String... monitorIds)
        Parameters:
        monitorIds - A list of IDs of monitors to associate with the pool.
        Returns:
        builder
      • name

        public PoolV1State.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the pool. Changing this updates the name of the existing pool.
        Returns:
        builder
      • name

        public PoolV1State.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the pool. Changing this updates the name of the existing pool.
        Returns:
        builder
      • protocol

        public PoolV1State.Builder protocol​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> protocol)
        Parameters:
        protocol - The protocol used by the pool members, you can use either 'TCP, 'HTTP', or 'HTTPS'. Changing this creates a new pool.
        Returns:
        builder
      • protocol

        public PoolV1State.Builder protocol​(java.lang.String protocol)
        Parameters:
        protocol - The protocol used by the pool members, you can use either 'TCP, 'HTTP', or 'HTTPS'. Changing this creates a new pool.
        Returns:
        builder
      • region

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

        public PoolV1State.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 an LB pool. If omitted, the `region` argument of the provider is used. Changing this creates a new LB pool.
        Returns:
        builder
      • subnetId

        public PoolV1State.Builder subnetId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> subnetId)
        Parameters:
        subnetId - The network on which the members of the pool will be located. Only members that are on this network can be added to the pool. Changing this creates a new pool.
        Returns:
        builder
      • subnetId

        public PoolV1State.Builder subnetId​(java.lang.String subnetId)
        Parameters:
        subnetId - The network on which the members of the pool will be located. Only members that are on this network can be added to the pool. Changing this creates a new pool.
        Returns:
        builder
      • tenantId

        public PoolV1State.Builder tenantId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> tenantId)
        Parameters:
        tenantId - The owner of the pool. Required if admin wants to create a pool member for another tenant. Changing this creates a new pool.
        Returns:
        builder
      • tenantId

        public PoolV1State.Builder tenantId​(java.lang.String tenantId)
        Parameters:
        tenantId - The owner of the pool. Required if admin wants to create a pool member for another tenant. Changing this creates a new pool.
        Returns:
        builder