public final class SparkRJob 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 |
---|
SparkRJob() |
Modifier and Type | Method and Description |
---|---|
SparkRJob |
clone() |
List<String> |
getArchiveUris()
Optional.
|
List<String> |
getArgs()
Optional.
|
List<String> |
getFileUris()
Optional.
|
LoggingConfig |
getLoggingConfig()
Optional.
|
String |
getMainRFileUri()
Required.
|
Map<String,String> |
getProperties()
Optional.
|
SparkRJob |
set(String fieldName,
Object value) |
SparkRJob |
setArchiveUris(List<String> archiveUris)
Optional.
|
SparkRJob |
setArgs(List<String> args)
Optional.
|
SparkRJob |
setFileUris(List<String> fileUris)
Optional.
|
SparkRJob |
setLoggingConfig(LoggingConfig loggingConfig)
Optional.
|
SparkRJob |
setMainRFileUri(String mainRFileUri)
Required.
|
SparkRJob |
setProperties(Map<String,String> properties)
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 List<String> getArchiveUris()
null
for nonepublic SparkRJob setArchiveUris(List<String> archiveUris)
archiveUris
- archiveUris or null
for nonepublic List<String> getArgs()
null
for nonepublic SparkRJob setArgs(List<String> args)
args
- args or null
for nonepublic List<String> getFileUris()
null
for nonepublic SparkRJob setFileUris(List<String> fileUris)
fileUris
- fileUris or null
for nonepublic LoggingConfig getLoggingConfig()
null
for nonepublic SparkRJob setLoggingConfig(LoggingConfig loggingConfig)
loggingConfig
- loggingConfig or null
for nonepublic String getMainRFileUri()
null
for nonepublic SparkRJob setMainRFileUri(String mainRFileUri)
mainRFileUri
- mainRFileUri or null
for nonepublic Map<String,String> getProperties()
null
for nonepublic SparkRJob setProperties(Map<String,String> properties)
properties
- properties or null
for nonepublic SparkRJob set(String fieldName, Object value)
set
in class GenericJson
public SparkRJob clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.