public final class Constraint 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 Resource Manager 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 |
|---|
Constraint() |
| Modifier and Type | Method and Description |
|---|---|
Constraint |
clone() |
BooleanConstraint |
getBooleanConstraint()
Defines this constraint as being a BooleanConstraint.
|
String |
getConstraintDefault()
The evaluation behavior of this constraint in the absence of 'Policy'.
|
String |
getDescription()
Detailed description of what this `Constraint` controls as well as how and where it is
enforced.
|
String |
getDisplayName()
The human readable name.
|
ListConstraint |
getListConstraint()
Defines this constraint as being a ListConstraint.
|
String |
getName()
Immutable value, required to globally be unique.
|
Integer |
getVersion()
Version of the `Constraint`.
|
Constraint |
set(String fieldName,
Object value) |
Constraint |
setBooleanConstraint(BooleanConstraint booleanConstraint)
Defines this constraint as being a BooleanConstraint.
|
Constraint |
setConstraintDefault(String constraintDefault)
The evaluation behavior of this constraint in the absence of 'Policy'.
|
Constraint |
setDescription(String description)
Detailed description of what this `Constraint` controls as well as how and where it is
enforced.
|
Constraint |
setDisplayName(String displayName)
The human readable name.
|
Constraint |
setListConstraint(ListConstraint listConstraint)
Defines this constraint as being a ListConstraint.
|
Constraint |
setName(String name)
Immutable value, required to globally be unique.
|
Constraint |
setVersion(Integer version)
Version of the `Constraint`.
|
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 BooleanConstraint getBooleanConstraint()
null for nonepublic Constraint setBooleanConstraint(BooleanConstraint booleanConstraint)
booleanConstraint - booleanConstraint or null for nonepublic String getConstraintDefault()
null for nonepublic Constraint setConstraintDefault(String constraintDefault)
constraintDefault - constraintDefault or null for nonepublic String getDescription()
null for nonepublic Constraint setDescription(String description)
description - description or null for nonepublic String getDisplayName()
null for nonepublic Constraint setDisplayName(String displayName)
displayName - displayName or null for nonepublic ListConstraint getListConstraint()
null for nonepublic Constraint setListConstraint(ListConstraint listConstraint)
listConstraint - listConstraint or null for nonepublic String getName()
null for nonepublic Constraint setName(String name)
name - name or null for nonepublic Integer getVersion()
null for nonepublic Constraint setVersion(Integer version)
version - version or null for nonepublic Constraint set(String fieldName, Object value)
set in class GenericJsonpublic Constraint clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.