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

com.databricks.sdk.service.pipelines.PipelineDeployment Maven / Gradle / Ivy

There is a newer version: 0.38.0
Show newest version
// 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 PipelineDeployment {
  /** The deployment method that manages the pipeline. */
  @JsonProperty("kind")
  private DeploymentKind kind;

  /** The path to the file containing metadata about the deployment. */
  @JsonProperty("metadata_file_path")
  private String metadataFilePath;

  public PipelineDeployment setKind(DeploymentKind kind) {
    this.kind = kind;
    return this;
  }

  public DeploymentKind getKind() {
    return kind;
  }

  public PipelineDeployment setMetadataFilePath(String metadataFilePath) {
    this.metadataFilePath = metadataFilePath;
    return this;
  }

  public String getMetadataFilePath() {
    return metadataFilePath;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    PipelineDeployment that = (PipelineDeployment) o;
    return Objects.equals(kind, that.kind)
        && Objects.equals(metadataFilePath, that.metadataFilePath);
  }

  @Override
  public int hashCode() {
    return Objects.hash(kind, metadataFilePath);
  }

  @Override
  public String toString() {
    return new ToStringer(PipelineDeployment.class)
        .add("kind", kind)
        .add("metadataFilePath", metadataFilePath)
        .toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy