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

com.aliyun.sdk.service.ess20220222.models.VerifyAuthenticationRequest Maven / Gradle / Ivy

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

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

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

VerifyAuthenticationRequest

*/ public class VerifyAuthenticationRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OnlyCheck") private Boolean onlyCheck; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uid") private Long uid; private VerifyAuthenticationRequest(Builder builder) { super(builder); this.onlyCheck = builder.onlyCheck; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.uid = builder.uid; } public static Builder builder() { return new Builder(); } public static VerifyAuthenticationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return onlyCheck */ public Boolean getOnlyCheck() { return this.onlyCheck; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return uid */ public Long getUid() { return this.uid; } public static final class Builder extends Request.Builder { private Boolean onlyCheck; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private Long uid; private Builder() { super(); } private Builder(VerifyAuthenticationRequest request) { super(request); this.onlyCheck = request.onlyCheck; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.uid = request.uid; } /** * Specifies whether to check only the authorization status. Valid values: *

* * * true: checks only the authorization status. The service-linked role is not created. * * false (default): checks the authorization status and resource usage. */ public Builder onlyCheck(Boolean onlyCheck) { this.putQueryParameter("OnlyCheck", onlyCheck); this.onlyCheck = onlyCheck; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * The ID of your Alibaba Cloud account. */ public Builder uid(Long uid) { this.putQueryParameter("Uid", uid); this.uid = uid; return this; } @Override public VerifyAuthenticationRequest build() { return new VerifyAuthenticationRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy