![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.model.BackendServiceLocalityLoadBalancingPolicyConfigPolicy.html Maven / Gradle / Ivy
BackendServiceLocalityLoadBalancingPolicyConfigPolicy (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute.model
Class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.BackendServiceLocalityLoadBalancingPolicyConfigPolicy
-
public final class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
extends GenericJson
The configuration for a built-in load balancing policy.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
BackendServiceLocalityLoadBalancingPolicyConfigPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
BackendServiceLocalityLoadBalancingPolicyConfigPolicy
clone()
String
getName()
The name of a locality load balancer policy to be used.
BackendServiceLocalityLoadBalancingPolicyConfigPolicy
set(String fieldName,
Object value)
BackendServiceLocalityLoadBalancingPolicyConfigPolicy
setName(String name)
The name of a locality load balancer policy to be used.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
BackendServiceLocalityLoadBalancingPolicyConfigPolicy
public BackendServiceLocalityLoadBalancingPolicyConfigPolicy()
-
Method Detail
-
getName
public String getName()
The name of a locality load balancer policy to be used. The value should be one of the
predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is
supported. This field should only be populated when the customPolicy field is not used. Note
that specifying the same policy more than once for a backend is not a valid configuration and
will be rejected.
- Returns:
- value or
null
for none
-
setName
public BackendServiceLocalityLoadBalancingPolicyConfigPolicy setName(String name)
The name of a locality load balancer policy to be used. The value should be one of the
predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is
supported. This field should only be populated when the customPolicy field is not used. Note
that specifying the same policy more than once for a backend is not a valid configuration and
will be rejected.
- Parameters:
name
- name or null
for none
-
set
public BackendServiceLocalityLoadBalancingPolicyConfigPolicy set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public BackendServiceLocalityLoadBalancingPolicyConfigPolicy clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy