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

com.jdcloud.sdk.service.kubernetes.model.AddonConfig Maven / Gradle / Ivy

/*
 * Copyright 2018 JDCLOUD.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.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */

package com.jdcloud.sdk.service.kubernetes.model;


/**
 * 集群组件配置
 */
public class AddonConfig  implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 组件名称
     */
    private String name;

    /**
     * 组件是否开启
     */
    private Boolean enabled;


    /**
     * get 组件名称
     *
     * @return
     */
    public String getName() {
        return name;
    }

    /**
     * set 组件名称
     *
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * get 组件是否开启
     *
     * @return
     */
    public Boolean getEnabled() {
        return enabled;
    }

    /**
     * set 组件是否开启
     *
     * @param enabled
     */
    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }


    /**
     * set 组件名称
     *
     * @param name
     */
    public AddonConfig name(String name) {
        this.name = name;
        return this;
    }

    /**
     * set 组件是否开启
     *
     * @param enabled
     */
    public AddonConfig enabled(Boolean enabled) {
        this.enabled = enabled;
        return this;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy