Class TargetPoolCreationOptions.Builder
java.lang.Object
org.jclouds.googlecomputeengine.options.TargetPoolCreationOptions.Builder
- Enclosing class:
 TargetPoolCreationOptions
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbackupPool(URI backupPool) This field is applicable only when the target pool is serving a forwarding rule as the primary pool (e.g.build()description(String description) An optional textual description of the TargetPool.failoverRatio(float failoverRatio) This field is applicable only when the target pool is serving a forwarding rule as the primary pool (e.g.healthChecks(List<URI> healthChecks) The set of HealthChecksA List of resource URIs to the member VMs serving this pool.sessionAffinity(TargetPoolCreationOptions.SessionAffinityValue sessionAffinity) Defines the session affinity option. 
- 
Constructor Details
- 
Builder
 
 - 
 - 
Method Details
- 
healthChecks
The set of HealthChecks - 
instances
A List of resource URIs to the member VMs serving this pool. They must live in zones contained in the same region as this pool. - 
sessionAffinity
public TargetPoolCreationOptions.Builder sessionAffinity(TargetPoolCreationOptions.SessionAffinityValue sessionAffinity) Defines the session affinity option. Session affinity determines the hash method that Google Compute Engine uses to distribute traffic. - 
failoverRatio
This field is applicable only when the target pool is serving a forwarding rule as the primary pool (e.g. not as a backup pool to some other target pool). The value of the a float between [0, 1]. If set, backupPool must also be set.- Returns:
 - failoverRatio, a float between [0, 1]
 
 - 
backupPool
This field is applicable only when the target pool is serving a forwarding rule as the primary pool (e.g. not as a backup pool to some other target pool). Must be a fully-qualified URL to a target pool that is in the same region as the primary target pool. If set, failoverRatio must also be set- Returns:
 - backupPool, Fully-qualified URI to a target pool in the same region as primary target pool
 
 - 
description
An optional textual description of the TargetPool.- Returns:
 - description, provided by the client.
 
 - 
build
 
 -