Class SparkUILoggingLocation.Builder
java.lang.Object
software.amazon.awscdk.services.glue.SparkUILoggingLocation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SparkUILoggingLocation>
- Enclosing interface:
- SparkUILoggingLocation
@Stability(Experimental)
public static final class SparkUILoggingLocation.Builder
extends Object
implements software.amazon.jsii.Builder<SparkUILoggingLocation>
A builder for
SparkUILoggingLocation-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofSparkUILoggingLocation.getBucket()build()Builds the configured instance.Sets the value ofSparkUILoggingLocation.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofSparkUILoggingLocation.getBucket()- Parameters:
bucket- The bucket where the Glue job stores the logs. This parameter is required.- Returns:
this
-
prefix
Sets the value ofSparkUILoggingLocation.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<SparkUILoggingLocation>- Returns:
- a new instance of
SparkUILoggingLocation - Throws:
NullPointerException- if any required attribute was not provided
-