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

com.qubole.qds.sdk.java.entities.ClusterState Maven / Gradle / Ivy

Go to download

A Java library that provides the tools you need to authenticate with, and use the Qubole Data Service API.

There is a newer version: 1.3.0
Show newest version
/**
 * Copyright 2014- Qubole 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.qubole.qds.sdk.java.entities;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class ClusterState
{
    private String state;
    private String last_health_check_action_at;
    private String start_at;
    private String down_at;
    private int cluster_id;
    private String terminate_reason;
    private List nodes;
    private String last_health_check_action;
    private int config_id;

    public ClusterState()
    {
    }

    public ClusterState(String state, String last_health_check_action_at, String start_at, String down_at, int cluster_id, String terminate_reason, List nodes, String last_health_check_action, int config_id)
    {
        this.state = state;
        this.last_health_check_action_at = last_health_check_action_at;
        this.start_at = start_at;
        this.down_at = down_at;
        this.cluster_id = cluster_id;
        this.terminate_reason = terminate_reason;
        this.nodes = nodes;
        this.last_health_check_action = last_health_check_action;
        this.config_id = config_id;
    }

    public String getState()
    {
        return state;
    }

    public void setState(String state)
    {
        this.state = state;
    }

    public String getLast_health_check_action_at()
    {
        return last_health_check_action_at;
    }

    public void setLast_health_check_action_at(String last_health_check_action_at)
    {
        this.last_health_check_action_at = last_health_check_action_at;
    }

    public String getStart_at()
    {
        return start_at;
    }

    public void setStart_at(String start_at)
    {
        this.start_at = start_at;
    }

    public String getDown_at()
    {
        return down_at;
    }

    public void setDown_at(String down_at)
    {
        this.down_at = down_at;
    }

    public int getCluster_id()
    {
        return cluster_id;
    }

    public void setCluster_id(int cluster_id)
    {
        this.cluster_id = cluster_id;
    }

    public String getTerminate_reason()
    {
        return terminate_reason;
    }

    public void setTerminate_reason(String terminate_reason)
    {
        this.terminate_reason = terminate_reason;
    }

    public List getNodes()
    {
        return nodes;
    }

    public void setNodes(List nodes)
    {
        this.nodes = nodes;
    }

    public String getLast_health_check_action()
    {
        return last_health_check_action;
    }

    public void setLast_health_check_action(String last_health_check_action)
    {
        this.last_health_check_action = last_health_check_action;
    }

    public int getConfig_id()
    {
        return config_id;
    }

    public void setConfig_id(int config_id)
    {
        this.config_id = config_id;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy