com.databricks.sdk.service.jobs.SparkSubmitTask Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.jobs;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collection;
import java.util.Objects;
@Generated
public class SparkSubmitTask {
/**
* Command-line parameters passed to spark submit.
*
* Use [Task parameter variables] to set parameters containing information about job runs.
*
*
[Task parameter variables]: https://docs.databricks.com/jobs.html#parameter-variables
*/
@JsonProperty("parameters")
private Collection parameters;
public SparkSubmitTask setParameters(Collection parameters) {
this.parameters = parameters;
return this;
}
public Collection getParameters() {
return parameters;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
SparkSubmitTask that = (SparkSubmitTask) o;
return Objects.equals(parameters, that.parameters);
}
@Override
public int hashCode() {
return Objects.hash(parameters);
}
@Override
public String toString() {
return new ToStringer(SparkSubmitTask.class).add("parameters", parameters).toString();
}
}