public final class Binding extends GenericJson
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 Cloud Dataproc API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Binding() |
| Modifier and Type | Method and Description |
|---|---|
Binding |
clone() |
Expr |
getCondition()
The condition that is associated with this binding.If the condition evaluates to true, then
this binding applies to the current request.If the condition evaluates to false, then this
binding does not apply to the current request.
|
List<String> |
getMembers()
Specifies the identities requesting access for a Cloud Platform resource.
|
String |
getRole()
Role that is assigned to members.
|
Binding |
set(String fieldName,
Object value) |
Binding |
setCondition(Expr condition)
The condition that is associated with this binding.If the condition evaluates to true, then
this binding applies to the current request.If the condition evaluates to false, then this
binding does not apply to the current request.
|
Binding |
setMembers(List<String> members)
Specifies the identities requesting access for a Cloud Platform resource.
|
Binding |
setRole(String role)
Role that is assigned to members.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Expr getCondition()
null for nonepublic Binding setCondition(Expr condition)
condition - condition or null for nonepublic List<String> getMembers()
null for nonepublic Binding setMembers(List<String> members)
members - members or null for nonepublic String getRole()
null for nonepublic Binding setRole(String role)
role - role or null for nonepublic Binding set(String fieldName, Object value)
set in class GenericJsonpublic Binding clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.