public static class TargetPoolCreationOptions.Builder extends Object
Constructor and Description |
---|
TargetPoolCreationOptions.Builder(String name) |
Modifier and Type | Method and Description |
---|---|
TargetPoolCreationOptions.Builder |
backupPool(URI backupPool)
This field is applicable only when the target pool is serving a forwarding rule as the primary pool
(e.g.
|
TargetPoolCreationOptions |
build() |
TargetPoolCreationOptions.Builder |
description(String description)
An optional textual description of the TargetPool.
|
TargetPoolCreationOptions.Builder |
failoverRatio(float failoverRatio)
This field is applicable only when the target pool is serving a forwarding rule as the primary pool
(e.g.
|
TargetPoolCreationOptions.Builder |
healthChecks(List<URI> healthChecks)
The set of HealthChecks
|
TargetPoolCreationOptions.Builder |
instances(List<URI> instances)
A List of resource URIs to the member VMs serving this pool.
|
TargetPoolCreationOptions.Builder |
sessionAffinity(TargetPoolCreationOptions.SessionAffinityValue sessionAffinity)
Defines the session affinity option.
|
public TargetPoolCreationOptions.Builder(String name)
public TargetPoolCreationOptions.Builder healthChecks(List<URI> healthChecks)
public TargetPoolCreationOptions.Builder instances(List<URI> instances)
public TargetPoolCreationOptions.Builder sessionAffinity(TargetPoolCreationOptions.SessionAffinityValue sessionAffinity)
public TargetPoolCreationOptions.Builder failoverRatio(float failoverRatio)
public TargetPoolCreationOptions.Builder backupPool(URI backupPool)
public TargetPoolCreationOptions.Builder description(String description)
public TargetPoolCreationOptions build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.