public final class SparkJob 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 |
---|
SparkJob() |
Modifier and Type | Method and Description |
---|---|
SparkJob |
clone() |
List<String> |
getArchiveUris()
Optional.
|
List<String> |
getArgs()
Optional.
|
List<String> |
getFileUris()
Optional.
|
List<String> |
getJarFileUris()
Optional.
|
LoggingConfig |
getLoggingConfig()
Optional.
|
String |
getMainClass()
The name of the driver's main class.
|
String |
getMainJarFileUri()
The HCFS URI of the jar file that contains the main class.
|
Map<String,String> |
getProperties()
Optional.
|
SparkJob |
set(String fieldName,
Object value) |
SparkJob |
setArchiveUris(List<String> archiveUris)
Optional.
|
SparkJob |
setArgs(List<String> args)
Optional.
|
SparkJob |
setFileUris(List<String> fileUris)
Optional.
|
SparkJob |
setJarFileUris(List<String> jarFileUris)
Optional.
|
SparkJob |
setLoggingConfig(LoggingConfig loggingConfig)
Optional.
|
SparkJob |
setMainClass(String mainClass)
The name of the driver's main class.
|
SparkJob |
setMainJarFileUri(String mainJarFileUri)
The HCFS URI of the jar file that contains the main class.
|
SparkJob |
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 SparkJob setArchiveUris(List<String> archiveUris)
archiveUris
- archiveUris or null
for nonepublic List<String> getArgs()
null
for nonepublic SparkJob setArgs(List<String> args)
args
- args or null
for nonepublic List<String> getFileUris()
null
for nonepublic SparkJob setFileUris(List<String> fileUris)
fileUris
- fileUris or null
for nonepublic List<String> getJarFileUris()
null
for nonepublic SparkJob setJarFileUris(List<String> jarFileUris)
jarFileUris
- jarFileUris or null
for nonepublic LoggingConfig getLoggingConfig()
null
for nonepublic SparkJob setLoggingConfig(LoggingConfig loggingConfig)
loggingConfig
- loggingConfig or null
for nonepublic String getMainClass()
null
for nonepublic SparkJob setMainClass(String mainClass)
mainClass
- mainClass or null
for nonepublic String getMainJarFileUri()
null
for nonepublic SparkJob setMainJarFileUri(String mainJarFileUri)
mainJarFileUri
- mainJarFileUri or null
for nonepublic Map<String,String> getProperties()
null
for nonepublic SparkJob setProperties(Map<String,String> properties)
properties
- properties or null
for nonepublic SparkJob set(String fieldName, Object value)
set
in class GenericJson
public SparkJob clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.