com.databricks.sdk.service.jobs.TriggerInfo 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.Objects;
/** Additional details about what triggered the run */
@Generated
public class TriggerInfo {
/** The run id of the Run Job task run */
@JsonProperty("run_id")
private Long runId;
public TriggerInfo setRunId(Long runId) {
this.runId = runId;
return this;
}
public Long getRunId() {
return runId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
TriggerInfo that = (TriggerInfo) o;
return Objects.equals(runId, that.runId);
}
@Override
public int hashCode() {
return Objects.hash(runId);
}
@Override
public String toString() {
return new ToStringer(TriggerInfo.class).add("runId", runId).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy