com.databricks.sdk.service.workspace.Mkdirs Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.workspace;
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 Mkdirs {
/**
* The absolute path of the directory. If the parent directories do not exist, it will also create
* them. If the directory already exists, this command will do nothing and succeed.
*/
@JsonProperty("path")
private String path;
public Mkdirs setPath(String path) {
this.path = path;
return this;
}
public String getPath() {
return path;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Mkdirs that = (Mkdirs) o;
return Objects.equals(path, that.path);
}
@Override
public int hashCode() {
return Objects.hash(path);
}
@Override
public String toString() {
return new ToStringer(Mkdirs.class).add("path", path).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy