com.aliyun.sdk.service.cs20151215.models.KubeletConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cs20151215 Show documentation
Show all versions of alibabacloud-cs20151215 Show documentation
Alibaba Cloud CS (20151215) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cs20151215.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link KubeletConfig} extends {@link TeaModel}
*
* KubeletConfig
*/
public class KubeletConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("allowedUnsafeSysctls")
private java.util.List < String > allowedUnsafeSysctls;
@com.aliyun.core.annotation.NameInMap("containerLogMaxFiles")
private Long containerLogMaxFiles;
@com.aliyun.core.annotation.NameInMap("containerLogMaxSize")
private String containerLogMaxSize;
@com.aliyun.core.annotation.NameInMap("cpuManagerPolicy")
private String cpuManagerPolicy;
@com.aliyun.core.annotation.NameInMap("eventBurst")
private Long eventBurst;
@com.aliyun.core.annotation.NameInMap("eventRecordQPS")
private Long eventRecordQPS;
@com.aliyun.core.annotation.NameInMap("evictionHard")
private java.util.Map < String, ? > evictionHard;
@com.aliyun.core.annotation.NameInMap("evictionSoft")
private java.util.Map < String, ? > evictionSoft;
@com.aliyun.core.annotation.NameInMap("evictionSoftGracePeriod")
private java.util.Map < String, ? > evictionSoftGracePeriod;
@com.aliyun.core.annotation.NameInMap("featureGates")
private java.util.Map < String, ? > featureGates;
@com.aliyun.core.annotation.NameInMap("kubeAPIBurst")
private Long kubeAPIBurst;
@com.aliyun.core.annotation.NameInMap("kubeAPIQPS")
private Long kubeAPIQPS;
@com.aliyun.core.annotation.NameInMap("kubeReserved")
private java.util.Map < String, ? > kubeReserved;
@com.aliyun.core.annotation.NameInMap("maxPods")
private Long maxPods;
@com.aliyun.core.annotation.NameInMap("readOnlyPort")
private Long readOnlyPort;
@com.aliyun.core.annotation.NameInMap("registryBurst")
private Long registryBurst;
@com.aliyun.core.annotation.NameInMap("registryPullQPS")
private Long registryPullQPS;
@com.aliyun.core.annotation.NameInMap("serializeImagePulls")
private Boolean serializeImagePulls;
@com.aliyun.core.annotation.NameInMap("systemReserved")
private java.util.Map < String, ? > systemReserved;
private KubeletConfig(Builder builder) {
this.allowedUnsafeSysctls = builder.allowedUnsafeSysctls;
this.containerLogMaxFiles = builder.containerLogMaxFiles;
this.containerLogMaxSize = builder.containerLogMaxSize;
this.cpuManagerPolicy = builder.cpuManagerPolicy;
this.eventBurst = builder.eventBurst;
this.eventRecordQPS = builder.eventRecordQPS;
this.evictionHard = builder.evictionHard;
this.evictionSoft = builder.evictionSoft;
this.evictionSoftGracePeriod = builder.evictionSoftGracePeriod;
this.featureGates = builder.featureGates;
this.kubeAPIBurst = builder.kubeAPIBurst;
this.kubeAPIQPS = builder.kubeAPIQPS;
this.kubeReserved = builder.kubeReserved;
this.maxPods = builder.maxPods;
this.readOnlyPort = builder.readOnlyPort;
this.registryBurst = builder.registryBurst;
this.registryPullQPS = builder.registryPullQPS;
this.serializeImagePulls = builder.serializeImagePulls;
this.systemReserved = builder.systemReserved;
}
public static Builder builder() {
return new Builder();
}
public static KubeletConfig create() {
return builder().build();
}
/**
* @return allowedUnsafeSysctls
*/
public java.util.List < String > getAllowedUnsafeSysctls() {
return this.allowedUnsafeSysctls;
}
/**
* @return containerLogMaxFiles
*/
public Long getContainerLogMaxFiles() {
return this.containerLogMaxFiles;
}
/**
* @return containerLogMaxSize
*/
public String getContainerLogMaxSize() {
return this.containerLogMaxSize;
}
/**
* @return cpuManagerPolicy
*/
public String getCpuManagerPolicy() {
return this.cpuManagerPolicy;
}
/**
* @return eventBurst
*/
public Long getEventBurst() {
return this.eventBurst;
}
/**
* @return eventRecordQPS
*/
public Long getEventRecordQPS() {
return this.eventRecordQPS;
}
/**
* @return evictionHard
*/
public java.util.Map < String, ? > getEvictionHard() {
return this.evictionHard;
}
/**
* @return evictionSoft
*/
public java.util.Map < String, ? > getEvictionSoft() {
return this.evictionSoft;
}
/**
* @return evictionSoftGracePeriod
*/
public java.util.Map < String, ? > getEvictionSoftGracePeriod() {
return this.evictionSoftGracePeriod;
}
/**
* @return featureGates
*/
public java.util.Map < String, ? > getFeatureGates() {
return this.featureGates;
}
/**
* @return kubeAPIBurst
*/
public Long getKubeAPIBurst() {
return this.kubeAPIBurst;
}
/**
* @return kubeAPIQPS
*/
public Long getKubeAPIQPS() {
return this.kubeAPIQPS;
}
/**
* @return kubeReserved
*/
public java.util.Map < String, ? > getKubeReserved() {
return this.kubeReserved;
}
/**
* @return maxPods
*/
public Long getMaxPods() {
return this.maxPods;
}
/**
* @return readOnlyPort
*/
public Long getReadOnlyPort() {
return this.readOnlyPort;
}
/**
* @return registryBurst
*/
public Long getRegistryBurst() {
return this.registryBurst;
}
/**
* @return registryPullQPS
*/
public Long getRegistryPullQPS() {
return this.registryPullQPS;
}
/**
* @return serializeImagePulls
*/
public Boolean getSerializeImagePulls() {
return this.serializeImagePulls;
}
/**
* @return systemReserved
*/
public java.util.Map < String, ? > getSystemReserved() {
return this.systemReserved;
}
public static final class Builder {
private java.util.List < String > allowedUnsafeSysctls;
private Long containerLogMaxFiles;
private String containerLogMaxSize;
private String cpuManagerPolicy;
private Long eventBurst;
private Long eventRecordQPS;
private java.util.Map < String, ? > evictionHard;
private java.util.Map < String, ? > evictionSoft;
private java.util.Map < String, ? > evictionSoftGracePeriod;
private java.util.Map < String, ? > featureGates;
private Long kubeAPIBurst;
private Long kubeAPIQPS;
private java.util.Map < String, ? > kubeReserved;
private Long maxPods;
private Long readOnlyPort;
private Long registryBurst;
private Long registryPullQPS;
private Boolean serializeImagePulls;
private java.util.Map < String, ? > systemReserved;
/**
* allowedUnsafeSysctls.
*/
public Builder allowedUnsafeSysctls(java.util.List < String > allowedUnsafeSysctls) {
this.allowedUnsafeSysctls = allowedUnsafeSysctls;
return this;
}
/**
* containerLogMaxFiles.
*/
public Builder containerLogMaxFiles(Long containerLogMaxFiles) {
this.containerLogMaxFiles = containerLogMaxFiles;
return this;
}
/**
* containerLogMaxSize.
*/
public Builder containerLogMaxSize(String containerLogMaxSize) {
this.containerLogMaxSize = containerLogMaxSize;
return this;
}
/**
* cpuManagerPolicy.
*/
public Builder cpuManagerPolicy(String cpuManagerPolicy) {
this.cpuManagerPolicy = cpuManagerPolicy;
return this;
}
/**
* eventBurst.
*/
public Builder eventBurst(Long eventBurst) {
this.eventBurst = eventBurst;
return this;
}
/**
* eventRecordQPS.
*/
public Builder eventRecordQPS(Long eventRecordQPS) {
this.eventRecordQPS = eventRecordQPS;
return this;
}
/**
* evictionHard.
*/
public Builder evictionHard(java.util.Map < String, ? > evictionHard) {
this.evictionHard = evictionHard;
return this;
}
/**
* evictionSoft.
*/
public Builder evictionSoft(java.util.Map < String, ? > evictionSoft) {
this.evictionSoft = evictionSoft;
return this;
}
/**
* evictionSoftGracePeriod.
*/
public Builder evictionSoftGracePeriod(java.util.Map < String, ? > evictionSoftGracePeriod) {
this.evictionSoftGracePeriod = evictionSoftGracePeriod;
return this;
}
/**
* featureGates.
*/
public Builder featureGates(java.util.Map < String, ? > featureGates) {
this.featureGates = featureGates;
return this;
}
/**
* kubeAPIBurst.
*/
public Builder kubeAPIBurst(Long kubeAPIBurst) {
this.kubeAPIBurst = kubeAPIBurst;
return this;
}
/**
* kubeAPIQPS.
*/
public Builder kubeAPIQPS(Long kubeAPIQPS) {
this.kubeAPIQPS = kubeAPIQPS;
return this;
}
/**
* kubeReserved.
*/
public Builder kubeReserved(java.util.Map < String, ? > kubeReserved) {
this.kubeReserved = kubeReserved;
return this;
}
/**
* maxPods.
*/
public Builder maxPods(Long maxPods) {
this.maxPods = maxPods;
return this;
}
/**
* readOnlyPort.
*/
public Builder readOnlyPort(Long readOnlyPort) {
this.readOnlyPort = readOnlyPort;
return this;
}
/**
* registryBurst.
*/
public Builder registryBurst(Long registryBurst) {
this.registryBurst = registryBurst;
return this;
}
/**
* registryPullQPS.
*/
public Builder registryPullQPS(Long registryPullQPS) {
this.registryPullQPS = registryPullQPS;
return this;
}
/**
* serializeImagePulls.
*/
public Builder serializeImagePulls(Boolean serializeImagePulls) {
this.serializeImagePulls = serializeImagePulls;
return this;
}
/**
* systemReserved.
*/
public Builder systemReserved(java.util.Map < String, ? > systemReserved) {
this.systemReserved = systemReserved;
return this;
}
public KubeletConfig build() {
return new KubeletConfig(this);
}
}
}