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

cn.com.antcloud.api.catronus.v1_0.model.Cluster Maven / Gradle / Ivy

//
//  Copyright (c) 2020-present antgroup.com, https://www.antgroup.com
//
//  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 cn.com.antcloud.api.catronus.v1_0.model;

import java.lang.String;
import java.util.List;
import javax.validation.constraints.NotNull;

/**
 * 集群 */
public class Cluster {
  @NotNull
  private String id;

  @NotNull
  private String clusterName;

  @NotNull
  private String env;

  @NotNull
  private String status;

  @NotNull
  private String source;

  @NotNull
  private List namespaceWhitelist;

  /**
   * id */
  public String getId() {
    return this.id;
  }

  /**
   * id */
  public void setId(String id) {
    this.id = id;
  }

  /**
   * 集群名称 */
  public String getClusterName() {
    return this.clusterName;
  }

  /**
   * 集群名称 */
  public void setClusterName(String clusterName) {
    this.clusterName = clusterName;
  }

  /**
   * 环境 */
  public String getEnv() {
    return this.env;
  }

  /**
   * 环境 */
  public void setEnv(String env) {
    this.env = env;
  }

  /**
   * 纳管状态(imported已纳管/unimported未纳管) */
  public String getStatus() {
    return this.status;
  }

  /**
   * 纳管状态(imported已纳管/unimported未纳管) */
  public void setStatus(String status) {
    this.status = status;
  }

  /**
   * 导入方式 */
  public String getSource() {
    return this.source;
  }

  /**
   * 导入方式 */
  public void setSource(String source) {
    this.source = source;
  }

  /**
   * 白名单 */
  public List getNamespaceWhitelist() {
    return this.namespaceWhitelist;
  }

  /**
   * 白名单 */
  public void setNamespaceWhitelist(List namespaceWhitelist) {
    this.namespaceWhitelist = namespaceWhitelist;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy