/* * Copyright 2014 Baidu, 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.baidubce.services.bmr.model; import java.util.List; /** * Represent a BMR cluster. */ public class Cluster { private String id; private String name; private String imageType; private String imageVersion; private String logUri; private boolean autoTerminate; private List<Application> applications; private ClusterStatus status; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getImageType() { return imageType; } public void setImageType(String imageType) { this.imageType = imageType; } public String getImageVersion() { return imageVersion; } public void setImageVersion(String imageVersion) { this.imageVersion = imageVersion; } public boolean getAutoTerminate() { return autoTerminate; } public void setAutoTerminate(boolean autoTerminate) { this.autoTerminate = autoTerminate; } public String getLogUri() { return logUri; } public void setLogUri(String logUri) { this.logUri = logUri; } public ClusterStatus getStatus() { return status; } public void setStatus(ClusterStatus status) { this.status = status; } public List<Application> getApplications() { return applications; } public void setApplications(List<Application> applications) { this.applications = applications; } }