public static class BackendServiceOptions.Builder extends Object
Constructor and Description |
---|
BackendServiceOptions.Builder()
Empty builder for use when patching or updating and existing BackendService
Otherwise use the other
builder |
BackendServiceOptions.Builder(String name,
List<URI> healthChecks) |
Modifier and Type | Method and Description |
---|---|
BackendServiceOptions.Builder |
backends(List<BackendService.Backend> backends)
The list of backends that serve this BackendService.
|
BackendServiceOptions |
build() |
BackendServiceOptions.Builder |
description(String description)
An optional textual description of the BackendService.
|
BackendServiceOptions.Builder |
fingerprint(String fingerprint)
Fingerprint of this resource.
|
BackendServiceOptions.Builder |
healthChecks(List<URI> healthChecks)
HealthChecks - The list of
Links to the HttpHealthCheck
resource for health checking this BackendService. |
BackendServiceOptions.Builder |
port(Integer port)
The TCP port to connect on the backend.
|
BackendServiceOptions.Builder |
portName(String portName) |
BackendServiceOptions.Builder |
protocol(String protocol)
The protocol for incoming requests.
|
BackendServiceOptions.Builder |
timeoutSec(Integer timeoutSec)
How many seconds to wait for the backend before considering it a failed request.
|
public BackendServiceOptions.Builder(String name, List<URI> healthChecks)
name,
- provided by the client.healthChecks
- The list of Links
to the HttpHealthCheck
resource for health checking this BackendService.
Currently at most one health check can be specified, and a health check is required.public BackendServiceOptions.Builder()
builder
public BackendServiceOptions.Builder description(String description)
public BackendServiceOptions.Builder healthChecks(List<URI> healthChecks)
Links
to the HttpHealthCheck
resource for health checking this BackendService.
Currently at most one health check can be specified, and a health check is required.public BackendServiceOptions.Builder backends(List<BackendService.Backend> backends)
public BackendServiceOptions.Builder timeoutSec(Integer timeoutSec)
public BackendServiceOptions.Builder port(Integer port)
public BackendServiceOptions.Builder protocol(String protocol)
public BackendServiceOptions.Builder fingerprint(String fingerprint)
public BackendServiceOptions.Builder portName(String portName)
public BackendServiceOptions build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.