com.aliyun.sdk.service.cs20151215.models.DescribeUserPermissionRequest 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 DescribeUserPermissionRequest} extends {@link RequestModel}
*
* DescribeUserPermissionRequest
*/
public class DescribeUserPermissionRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("uid")
@com.aliyun.core.annotation.Validation(required = true)
private String uid;
private DescribeUserPermissionRequest(Builder builder) {
super(builder);
this.uid = builder.uid;
}
public static Builder builder() {
return new Builder();
}
public static DescribeUserPermissionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return uid
*/
public String getUid() {
return this.uid;
}
public static final class Builder extends Request.Builder {
private String uid;
private Builder() {
super();
}
private Builder(DescribeUserPermissionRequest request) {
super(request);
this.uid = request.uid;
}
/**
* The ID of the RAM user or RAM role.
*
*
* > If you want to grant permissions to a RAM role, enter the ID of the RAM role.
*/
public Builder uid(String uid) {
this.putPathParameter("uid", uid);
this.uid = uid;
return this;
}
@Override
public DescribeUserPermissionRequest build() {
return new DescribeUserPermissionRequest(this);
}
}
}