com.aliyun.cs20151215.models.CleanUserPermissionsShrinkRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cs20151215 Show documentation
Show all versions of cs20151215 Show documentation
Alibaba Cloud CS (20151215) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;
import com.aliyun.tea.*;
public class CleanUserPermissionsShrinkRequest extends TeaModel {
/**
* The cluster IDs.
*
* - If cluster IDs are specified, only the kubeconfig files of the specified clusters and the relevant RBAC permissions are deleted and revoked.
*
*/
@NameInMap("ClusterIds")
public String clusterIdsShrink;
/**
* Specifies whether to forcefully delete the specified kubeconfig files. Valid values:
*
* - false (default): checks the cluster access records within the previous seven days before deleting the kubeconfig files. The kubeconfig files are not deleted if cluster access records are found or fail to be retrieved.
* - true: forcefully deletes the kubeconfig files without checking cluster access records.
*
*
* example:
* false
*/
@NameInMap("Force")
public Boolean force;
public static CleanUserPermissionsShrinkRequest build(java.util.Map map) throws Exception {
CleanUserPermissionsShrinkRequest self = new CleanUserPermissionsShrinkRequest();
return TeaModel.build(map, self);
}
public CleanUserPermissionsShrinkRequest setClusterIdsShrink(String clusterIdsShrink) {
this.clusterIdsShrink = clusterIdsShrink;
return this;
}
public String getClusterIdsShrink() {
return this.clusterIdsShrink;
}
public CleanUserPermissionsShrinkRequest setForce(Boolean force) {
this.force = force;
return this;
}
public Boolean getForce() {
return this.force;
}
}