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 Details

    • Builder

      public Builder()
  • Method Details

    • bucket

      @Stability(Experimental) public SparkUIProps.Builder bucket(IBucket bucket)
      Sets the value of SparkUIProps.getBucket()
      Parameters:
      bucket - The bucket where the Glue job stores the logs.
      Returns:
      this
    • jobRunQueuingEnabled

      @Stability(Experimental) public SparkUIProps.Builder jobRunQueuingEnabled(Boolean jobRunQueuingEnabled)
      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

      @Stability(Experimental) public SparkUIProps.Builder prefix(String prefix)
      Sets the value of SparkUIProps.getPrefix()
      Parameters:
      prefix - The path inside the bucket (objects prefix) where the Glue job stores the logs. Use format '/foo/bar'
      Returns:
      this
    • build

      @Stability(Experimental) public SparkUIProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<SparkUIProps>
      Returns:
      a new instance of SparkUIProps
      Throws:
      NullPointerException - if any required attribute was not provided