com.aliyun.sdk.service.edas20170801.models.DeleteRoleRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-edas20170801 Show documentation
Show all versions of alibabacloud-edas20170801 Show documentation
Alibaba Cloud Edas (20170801) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.edas20170801.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteRoleRequest} extends {@link RequestModel}
*
* DeleteRoleRequest
*/
public class DeleteRoleRequest extends Request {
@Query
@NameInMap("RoleId")
@Validation(required = true)
private Integer roleId;
private DeleteRoleRequest(Builder builder) {
super(builder);
this.roleId = builder.roleId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRoleRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return roleId
*/
public Integer getRoleId() {
return this.roleId;
}
public static final class Builder extends Request.Builder {
private Integer roleId;
private Builder() {
super();
}
private Builder(DeleteRoleRequest request) {
super(request);
this.roleId = request.roleId;
}
/**
* The ID of the RAM role.
*/
public Builder roleId(Integer roleId) {
this.putQueryParameter("RoleId", roleId);
this.roleId = roleId;
return this;
}
@Override
public DeleteRoleRequest build() {
return new DeleteRoleRequest(this);
}
}
}