Class PoolArgs.Builder

  • Enclosing class:
    PoolArgs

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

      • Builder

        public Builder()
      • Builder

        public Builder​(PoolArgs defaults)
    • Method Detail

      • adminStateUp

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

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

        public PoolArgs.Builder lbMethod​(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 PoolArgs.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 PoolArgs.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 PoolArgs.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 PoolArgs.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 PoolArgs.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 PoolArgs.Builder name​(@Nullable
                                     com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Human-readable name for the pool.
        Returns:
        builder
      • name

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

        public PoolArgs.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 PoolArgs.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 PoolArgs.Builder protocol​(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 PoolArgs.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 PoolArgs.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 PoolArgs.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 PoolArgs.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 PoolArgs.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