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

com.aliyun.sdk.service.dataphin_public20230630.models.GetMyRolesRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dataphin_public20230630.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link GetMyRolesRequest} extends {@link RequestModel}
 *
 * 

GetMyRolesRequest

*/ public class GetMyRolesRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OpTenantId") @com.aliyun.core.annotation.Validation(required = true) private Long opTenantId; private GetMyRolesRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.opTenantId = builder.opTenantId; } public static Builder builder() { return new Builder(); } public static GetMyRolesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return opTenantId */ public Long getOpTenantId() { return this.opTenantId; } public static final class Builder extends Request.Builder { private String regionId; private Long opTenantId; private Builder() { super(); } private Builder(GetMyRolesRequest request) { super(request); this.regionId = request.regionId; this.opTenantId = request.opTenantId; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** *

This parameter is required.

* * example: *

30001011

*/ public Builder opTenantId(Long opTenantId) { this.putQueryParameter("OpTenantId", opTenantId); this.opTenantId = opTenantId; return this; } @Override public GetMyRolesRequest build() { return new GetMyRolesRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy