com.databricks.sdk.service.pipelines.CreatePipelineResponse 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 CreatePipelineResponse {
/** Only returned when dry_run is true. */
@JsonProperty("effective_settings")
private PipelineSpec effectiveSettings;
/** The unique identifier for the newly created pipeline. Only returned when dry_run is false. */
@JsonProperty("pipeline_id")
private String pipelineId;
public CreatePipelineResponse setEffectiveSettings(PipelineSpec effectiveSettings) {
this.effectiveSettings = effectiveSettings;
return this;
}
public PipelineSpec getEffectiveSettings() {
return effectiveSettings;
}
public CreatePipelineResponse setPipelineId(String pipelineId) {
this.pipelineId = pipelineId;
return this;
}
public String getPipelineId() {
return pipelineId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CreatePipelineResponse that = (CreatePipelineResponse) o;
return Objects.equals(effectiveSettings, that.effectiveSettings)
&& Objects.equals(pipelineId, that.pipelineId);
}
@Override
public int hashCode() {
return Objects.hash(effectiveSettings, pipelineId);
}
@Override
public String toString() {
return new ToStringer(CreatePipelineResponse.class)
.add("effectiveSettings", effectiveSettings)
.add("pipelineId", pipelineId)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy