com.databricks.sdk.service.pipelines.Sequencing Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.pipelines;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
@Generated
public class Sequencing {
/** A sequence number, unique and increasing within the control plane. */
@JsonProperty("control_plane_seq_no")
private Long controlPlaneSeqNo;
/** the ID assigned by the data plane. */
@JsonProperty("data_plane_id")
private DataPlaneId dataPlaneId;
public Sequencing setControlPlaneSeqNo(Long controlPlaneSeqNo) {
this.controlPlaneSeqNo = controlPlaneSeqNo;
return this;
}
public Long getControlPlaneSeqNo() {
return controlPlaneSeqNo;
}
public Sequencing setDataPlaneId(DataPlaneId dataPlaneId) {
this.dataPlaneId = dataPlaneId;
return this;
}
public DataPlaneId getDataPlaneId() {
return dataPlaneId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Sequencing that = (Sequencing) o;
return Objects.equals(controlPlaneSeqNo, that.controlPlaneSeqNo)
&& Objects.equals(dataPlaneId, that.dataPlaneId);
}
@Override
public int hashCode() {
return Objects.hash(controlPlaneSeqNo, dataPlaneId);
}
@Override
public String toString() {
return new ToStringer(Sequencing.class)
.add("controlPlaneSeqNo", controlPlaneSeqNo)
.add("dataPlaneId", dataPlaneId)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy