All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.sdk.mixin.SparkVersionSelector Maven / Gradle / Ivy

There is a newer version: 0.38.0
Show newest version
package com.databricks.sdk.mixin;

public class SparkVersionSelector {
  boolean longTermSupport;
  boolean beta;
  boolean latest;
  boolean ml;
  boolean genomics;
  boolean gpu;
  String scala;
  String sparkVersion;
  boolean photon;
  boolean graviton;

  public SparkVersionSelector withLongTermSupport() {
    this.longTermSupport = true;
    return this;
  }

  public SparkVersionSelector withBeta() {
    this.beta = true;
    return this;
  }

  public SparkVersionSelector withLatest() {
    this.latest = true;
    return this;
  }

  public SparkVersionSelector withML() {
    this.ml = true;
    return this;
  }

  public SparkVersionSelector withGenomics() {
    this.genomics = true;
    return this;
  }

  public SparkVersionSelector withGPU() {
    this.gpu = true;
    return this;
  }

  public SparkVersionSelector withScala(String scala) {
    this.scala = scala;
    return this;
  }

  public SparkVersionSelector withSparkVersion(String sparkVersion) {
    this.sparkVersion = sparkVersion;
    return this;
  }

  public SparkVersionSelector withPhoton() {
    this.photon = true;
    return this;
  }

  public SparkVersionSelector withGraviton() {
    this.graviton = true;
    return this;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy