Class SparkUIProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.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.Sets the value ofSparkUIProps.getEnabled()Sets the value ofSparkUIProps.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofSparkUIProps.getEnabled()- Parameters:
enabled- Enable Spark UI. This parameter is required.- Returns:
this
-
bucket
Sets the value ofSparkUIProps.getBucket()- Parameters:
bucket- The bucket where the Glue job stores the logs.- Returns:
this
-
prefix
Sets the value ofSparkUIProps.getPrefix()- Parameters:
prefix- The path inside the bucket (objects prefix) where the Glue job stores the logs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SparkUIProps>- Returns:
- a new instance of
SparkUIProps - Throws:
NullPointerException- if any required attribute was not provided
-