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.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public TemplateParameter clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.