public final class TemplateParameter 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 |
|---|
TemplateParameter() |
| Modifier and Type | Method and Description |
|---|---|
TemplateParameter |
clone() |
String |
getDescription()
Optional.
|
List<String> |
getFields()
Required.
|
String |
getName()
Required.
|
ParameterValidation |
getValidation()
Optional.
|
TemplateParameter |
set(String fieldName,
Object value) |
TemplateParameter |
setDescription(String description)
Optional.
|
TemplateParameter |
setFields(List<String> fields)
Required.
|
TemplateParameter |
setName(String name)
Required.
|
TemplateParameter |
setValidation(ParameterValidation validation)
Optional.
|
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 String getDescription()
null for nonepublic TemplateParameter setDescription(String description)
description - description or null for nonepublic List<String> getFields()
null for nonepublic TemplateParameter setFields(List<String> fields)
fields - fields or null for nonepublic String getName()
null for nonepublic TemplateParameter setName(String name)
name - name or null for nonepublic ParameterValidation getValidation()
null for nonepublic TemplateParameter setValidation(ParameterValidation validation)
validation - validation or null for nonepublic TemplateParameter set(String fieldName, Object value)
set in class GenericJsonpublic TemplateParameter clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.