public static class BackendSet.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BackendSet.Builder |
backendMaxConnections(Integer backendMaxConnections)
The maximum number of simultaneous connections the load balancer can make to any backend
in the backend set unless the backend has its own maxConnections setting.
|
BackendSet.Builder |
backends(List<Backend> backends) |
BackendSet |
build() |
BackendSet.Builder |
copy(BackendSet model) |
BackendSet.Builder |
healthChecker(HealthChecker healthChecker) |
BackendSet.Builder |
lbCookieSessionPersistenceConfiguration(LBCookieSessionPersistenceConfigurationDetails lbCookieSessionPersistenceConfiguration) |
BackendSet.Builder |
name(String name)
A friendly name for the backend set.
|
BackendSet.Builder |
policy(String policy)
The load balancer policy for the backend set.
|
BackendSet.Builder |
sessionPersistenceConfiguration(SessionPersistenceConfigurationDetails sessionPersistenceConfiguration) |
BackendSet.Builder |
sslConfiguration(SSLConfiguration sslConfiguration) |
public BackendSet.Builder name(String name)
A friendly name for the backend set. It must be unique and it cannot be changed.
Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot contain spaces. Avoid entering confidential information.
Example: example_backend_set
name
- the value to setpublic BackendSet.Builder policy(String policy)
The load balancer policy for the backend set. To get a list of available policies, use
the listPolicies
operation.
Example: LEAST_CONNECTIONS
policy
- the value to setpublic BackendSet.Builder backends(List<Backend> backends)
public BackendSet.Builder backendMaxConnections(Integer backendMaxConnections)
The maximum number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting. If this is not set then the number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting is unlimited.
Example: 300
backendMaxConnections
- the value to setpublic BackendSet.Builder healthChecker(HealthChecker healthChecker)
public BackendSet.Builder sslConfiguration(SSLConfiguration sslConfiguration)
public BackendSet.Builder sessionPersistenceConfiguration(SessionPersistenceConfigurationDetails sessionPersistenceConfiguration)
public BackendSet.Builder lbCookieSessionPersistenceConfiguration(LBCookieSessionPersistenceConfigurationDetails lbCookieSessionPersistenceConfiguration)
public BackendSet build()
public BackendSet.Builder copy(BackendSet model)
Copyright © 2016–2024. All rights reserved.