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

com.aliyun.cs20151215.models.UpdateControlPlaneLogRequest Maven / Gradle / Ivy

There is a newer version: 4.8.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;

import com.aliyun.tea.*;

public class UpdateControlPlaneLogRequest extends TeaModel {
    /**
     * 

The ID of the Alibaba Cloud account.

* * example: *

162981*****

* * if can be null: *

true

*/ @NameInMap("aliuid") public String aliuid; /** *

The control plane components for which you want to enable log collection.

*/ @NameInMap("components") public java.util.List components; /** *

The name of the Simple Log Service project that you want to use to store the logs of control plane components.

*

Default value: k8s-log-$Cluster ID.

* * example: *

k8s-log-c5b5e80b0b64a4bf6939d2d8fbbc5****

* * if can be null: *

true

*/ @NameInMap("log_project") public String logProject; /** *

The retention period of the log data stored in the Logstore. Valid values: 1 to 3000. Unit: days.

*

Default value: 30.

* * example: *

30

* * if can be null: *

true

*/ @NameInMap("log_ttl") public String logTtl; public static UpdateControlPlaneLogRequest build(java.util.Map map) throws Exception { UpdateControlPlaneLogRequest self = new UpdateControlPlaneLogRequest(); return TeaModel.build(map, self); } public UpdateControlPlaneLogRequest setAliuid(String aliuid) { this.aliuid = aliuid; return this; } public String getAliuid() { return this.aliuid; } public UpdateControlPlaneLogRequest setComponents(java.util.List components) { this.components = components; return this; } public java.util.List getComponents() { return this.components; } public UpdateControlPlaneLogRequest setLogProject(String logProject) { this.logProject = logProject; return this; } public String getLogProject() { return this.logProject; } public UpdateControlPlaneLogRequest setLogTtl(String logTtl) { this.logTtl = logTtl; return this; } public String getLogTtl() { return this.logTtl; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy