Class SparkUIProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.SparkUIProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SparkUIProps>
- Enclosing interface:
SparkUIProps
@Stability(Experimental)
public static final class SparkUIProps.Builder
extends Object
implements software.amazon.jsii.Builder<SparkUIProps>
A builder for
SparkUIProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofSparkUIProps.getBucket()
build()
Builds the configured instance.jobRunQueuingEnabled
(Boolean jobRunQueuingEnabled) Sets the value ofSparkUIProps.getJobRunQueuingEnabled()
Sets the value ofSparkUIProps.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofSparkUIProps.getBucket()
- Parameters:
bucket
- The bucket where the Glue job stores the logs.- Returns:
this
-
jobRunQueuingEnabled
@Stability(Experimental) public SparkUIProps.Builder jobRunQueuingEnabled(Boolean jobRunQueuingEnabled) Sets the value ofSparkUIProps.getJobRunQueuingEnabled()
- Parameters:
jobRunQueuingEnabled
- Specifies whether job run queuing is enabled for the job runs for this job. A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing. If this field does not match the value set in the job run, then the value from the job run field will be used. This property must be set to false for flex jobs. If this property is enabled, maxRetries must be set to zero.- Returns:
this
-
prefix
Sets the value ofSparkUIProps.getPrefix()
- Parameters:
prefix
- The path inside the bucket (objects prefix) where the Glue job stores the logs. Use format'/foo/bar'
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SparkUIProps>
- Returns:
- a new instance of
SparkUIProps
- Throws:
NullPointerException
- if any required attribute was not provided
-