com.edmunds.rest.databricks.DTO.clusters.ClusterAttributesDTO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of databricks-rest-client Show documentation
Show all versions of databricks-rest-client Show documentation
A simple java rest client to interact with the Databricks Rest Service
https://docs.databricks.com/api/latest/index.html
/*
* Copyright 2018 Edmunds.com, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.edmunds.rest.databricks.DTO.clusters;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.Map;
import lombok.Data;
/**
*
*/
@Data
public class ClusterAttributesDTO implements Serializable {
@JsonProperty("cluster_name")
private String clusterName;
@JsonProperty("spark_version")
private String sparkVersion;
@JsonProperty("spark_conf")
private Map sparkConf;
@JsonProperty("aws_attributes")
private AwsAttributesDTO awsAttributes;
@JsonProperty("node_type_id")
private String nodeTypeId;
@JsonProperty("driver_node_type_id")
private String driverNodeTypeId;
@JsonProperty("ssh_public_keys")
private String[] sshPublicKeys;
@JsonProperty("custom_tags")
private Map customTags;
@JsonProperty("cluster_log_conf")
private ClusterLogConfDTO clusterLogConf;
@JsonProperty("init_scripts")
private InitScriptInfoDTO[] initScripts;
@JsonProperty("spark_env_vars")
private Map sparkEnvVars;
@JsonProperty("autotermination_minutes")
private int autoTerminationMinutes;
@JsonProperty("enable_elastic_disk")
private boolean enableElasticDisk;
@JsonProperty("instance_pool_id")
private String instancePoolId;
@JsonProperty("cluster_source")
private ClusterSourceDTO clusterSource;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy