Package com.pulumi.gcp.dataproc.inputs
Class JobPysparkConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.dataproc.inputs.JobPysparkConfigArgs.Builder
-
- Enclosing class:
- JobPysparkConfigArgs
public static final class JobPysparkConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(JobPysparkConfigArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobPysparkConfigArgs.Builder
archiveUris(com.pulumi.core.Output<java.util.List<java.lang.String>> archiveUris)
JobPysparkConfigArgs.Builder
archiveUris(java.lang.String... archiveUris)
JobPysparkConfigArgs.Builder
archiveUris(java.util.List<java.lang.String> archiveUris)
JobPysparkConfigArgs.Builder
args(com.pulumi.core.Output<java.util.List<java.lang.String>> args)
JobPysparkConfigArgs.Builder
args(java.lang.String... args)
JobPysparkConfigArgs.Builder
args(java.util.List<java.lang.String> args)
JobPysparkConfigArgs
build()
JobPysparkConfigArgs.Builder
fileUris(com.pulumi.core.Output<java.util.List<java.lang.String>> fileUris)
JobPysparkConfigArgs.Builder
fileUris(java.lang.String... fileUris)
JobPysparkConfigArgs.Builder
fileUris(java.util.List<java.lang.String> fileUris)
JobPysparkConfigArgs.Builder
jarFileUris(com.pulumi.core.Output<java.util.List<java.lang.String>> jarFileUris)
JobPysparkConfigArgs.Builder
jarFileUris(java.lang.String... jarFileUris)
JobPysparkConfigArgs.Builder
jarFileUris(java.util.List<java.lang.String> jarFileUris)
JobPysparkConfigArgs.Builder
loggingConfig(com.pulumi.core.Output<JobPysparkConfigLoggingConfigArgs> loggingConfig)
JobPysparkConfigArgs.Builder
loggingConfig(JobPysparkConfigLoggingConfigArgs loggingConfig)
JobPysparkConfigArgs.Builder
mainPythonFileUri(com.pulumi.core.Output<java.lang.String> mainPythonFileUri)
JobPysparkConfigArgs.Builder
mainPythonFileUri(java.lang.String mainPythonFileUri)
JobPysparkConfigArgs.Builder
properties(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> properties)
JobPysparkConfigArgs.Builder
properties(java.util.Map<java.lang.String,java.lang.String> properties)
JobPysparkConfigArgs.Builder
pythonFileUris(com.pulumi.core.Output<java.util.List<java.lang.String>> pythonFileUris)
JobPysparkConfigArgs.Builder
pythonFileUris(java.lang.String... pythonFileUris)
JobPysparkConfigArgs.Builder
pythonFileUris(java.util.List<java.lang.String> pythonFileUris)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(JobPysparkConfigArgs defaults)
-
-
Method Detail
-
archiveUris
public JobPysparkConfigArgs.Builder archiveUris(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> archiveUris)
- Parameters:
archiveUris
- HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.- Returns:
- builder
-
archiveUris
public JobPysparkConfigArgs.Builder archiveUris(java.util.List<java.lang.String> archiveUris)
- Parameters:
archiveUris
- HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.- Returns:
- builder
-
archiveUris
public JobPysparkConfigArgs.Builder archiveUris(java.lang.String... archiveUris)
- Parameters:
archiveUris
- HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.- Returns:
- builder
-
args
public JobPysparkConfigArgs.Builder args(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> args)
- Parameters:
args
- The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.- Returns:
- builder
-
args
public JobPysparkConfigArgs.Builder args(java.util.List<java.lang.String> args)
- Parameters:
args
- The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.- Returns:
- builder
-
args
public JobPysparkConfigArgs.Builder args(java.lang.String... args)
- Parameters:
args
- The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.- Returns:
- builder
-
fileUris
public JobPysparkConfigArgs.Builder fileUris(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> fileUris)
- Parameters:
fileUris
- HCFS URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.- Returns:
- builder
-
fileUris
public JobPysparkConfigArgs.Builder fileUris(java.util.List<java.lang.String> fileUris)
- Parameters:
fileUris
- HCFS URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.- Returns:
- builder
-
fileUris
public JobPysparkConfigArgs.Builder fileUris(java.lang.String... fileUris)
- Parameters:
fileUris
- HCFS URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.- Returns:
- builder
-
jarFileUris
public JobPysparkConfigArgs.Builder jarFileUris(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> jarFileUris)
- Parameters:
jarFileUris
- HCFS URIs of jar files to be added to the Spark CLASSPATH.- Returns:
- builder
-
jarFileUris
public JobPysparkConfigArgs.Builder jarFileUris(java.util.List<java.lang.String> jarFileUris)
- Parameters:
jarFileUris
- HCFS URIs of jar files to be added to the Spark CLASSPATH.- Returns:
- builder
-
jarFileUris
public JobPysparkConfigArgs.Builder jarFileUris(java.lang.String... jarFileUris)
- Parameters:
jarFileUris
- HCFS URIs of jar files to be added to the Spark CLASSPATH.- Returns:
- builder
-
loggingConfig
public JobPysparkConfigArgs.Builder loggingConfig(@Nullable com.pulumi.core.Output<JobPysparkConfigLoggingConfigArgs> loggingConfig)
-
loggingConfig
public JobPysparkConfigArgs.Builder loggingConfig(JobPysparkConfigLoggingConfigArgs loggingConfig)
-
mainPythonFileUri
public JobPysparkConfigArgs.Builder mainPythonFileUri(com.pulumi.core.Output<java.lang.String> mainPythonFileUri)
- Parameters:
mainPythonFileUri
- The HCFS URI of the main Python file to use as the driver. Must be a .py file.- Returns:
- builder
-
mainPythonFileUri
public JobPysparkConfigArgs.Builder mainPythonFileUri(java.lang.String mainPythonFileUri)
- Parameters:
mainPythonFileUri
- The HCFS URI of the main Python file to use as the driver. Must be a .py file.- Returns:
- builder
-
properties
public JobPysparkConfigArgs.Builder properties(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> properties)
- Parameters:
properties
- A mapping of property names to values. Used to set Presto session properties Equivalent to using the --session flag in the Presto CLI.- Returns:
- builder
-
properties
public JobPysparkConfigArgs.Builder properties(java.util.Map<java.lang.String,java.lang.String> properties)
- Parameters:
properties
- A mapping of property names to values. Used to set Presto session properties Equivalent to using the --session flag in the Presto CLI.- Returns:
- builder
-
pythonFileUris
public JobPysparkConfigArgs.Builder pythonFileUris(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> pythonFileUris)
- Parameters:
pythonFileUris
- HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.- Returns:
- builder
-
pythonFileUris
public JobPysparkConfigArgs.Builder pythonFileUris(java.util.List<java.lang.String> pythonFileUris)
- Parameters:
pythonFileUris
- HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.- Returns:
- builder
-
pythonFileUris
public JobPysparkConfigArgs.Builder pythonFileUris(java.lang.String... pythonFileUris)
- Parameters:
pythonFileUris
- HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.- Returns:
- builder
-
build
public JobPysparkConfigArgs build()
-
-