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