Class PoolState.Builder

  • Enclosing class:
    PoolState

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

      • Builder

        public Builder()
      • Builder

        public Builder​(PoolState defaults)
    • Method Detail

      • adminStateUp

        public PoolState.Builder adminStateUp​(@Nullable
                                              com.pulumi.core.Output<java.lang.Boolean> adminStateUp)
        Parameters:
        adminStateUp - The administrative state of the pool. A valid value is true (UP) or false (DOWN).
        Returns:
        builder
      • adminStateUp

        public PoolState.Builder adminStateUp​(java.lang.Boolean adminStateUp)
        Parameters:
        adminStateUp - The administrative state of the pool. A valid value is true (UP) or false (DOWN).
        Returns:
        builder
      • description

        public PoolState.Builder description​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Human-readable description for the pool.
        Returns:
        builder
      • description

        public PoolState.Builder description​(java.lang.String description)
        Parameters:
        description - Human-readable description for the pool.
        Returns:
        builder
      • lbMethod

        public PoolState.Builder lbMethod​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> lbMethod)
        Parameters:
        lbMethod - The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT (supported only in Octavia).
        Returns:
        builder
      • lbMethod

        public PoolState.Builder lbMethod​(java.lang.String lbMethod)
        Parameters:
        lbMethod - The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT (supported only in Octavia).
        Returns:
        builder
      • listenerId

        public PoolState.Builder listenerId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> listenerId)
        Parameters:
        listenerId - The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
        Returns:
        builder
      • listenerId

        public PoolState.Builder listenerId​(java.lang.String listenerId)
        Parameters:
        listenerId - The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
        Returns:
        builder
      • loadbalancerId

        public PoolState.Builder loadbalancerId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> loadbalancerId)
        Parameters:
        loadbalancerId - The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
        Returns:
        builder
      • loadbalancerId

        public PoolState.Builder loadbalancerId​(java.lang.String loadbalancerId)
        Parameters:
        loadbalancerId - The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
        Returns:
        builder
      • name

        public PoolState.Builder name​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Human-readable name for the pool.
        Returns:
        builder
      • name

        public PoolState.Builder name​(java.lang.String name)
        Parameters:
        name - Human-readable name for the pool.
        Returns:
        builder
      • persistence

        public PoolState.Builder persistence​(@Nullable
                                             com.pulumi.core.Output<PoolPersistenceArgs> persistence)
        Parameters:
        persistence - Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
        Returns:
        builder
      • persistence

        public PoolState.Builder persistence​(PoolPersistenceArgs persistence)
        Parameters:
        persistence - Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
        Returns:
        builder
      • protocol

        public PoolState.Builder protocol​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> protocol)
        Parameters:
        protocol - The protocol - can either be TCP, HTTP, HTTPS, PROXY, UDP (supported only in Octavia), PROXYV2 (**Octavia minor version >= 2.22**) or SCTP (**Octavia minor version >= 2.23**). Changing this creates a new pool.
        Returns:
        builder
      • protocol

        public PoolState.Builder protocol​(java.lang.String protocol)
        Parameters:
        protocol - The protocol - can either be TCP, HTTP, HTTPS, PROXY, UDP (supported only in Octavia), PROXYV2 (**Octavia minor version >= 2.22**) or SCTP (**Octavia minor version >= 2.23**). Changing this creates a new pool.
        Returns:
        builder
      • region

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

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

        public PoolState.Builder tenantId​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> tenantId)
        Parameters:
        tenantId - Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
        Returns:
        builder
      • tenantId

        public PoolState.Builder tenantId​(java.lang.String tenantId)
        Parameters:
        tenantId - Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
        Returns:
        builder