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

com.aliyun.sdk.service.cloudapi20160714.models.SetSignatureApisRequest Maven / Gradle / Ivy

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

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

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

SetSignatureApisRequest

*/ public class SetSignatureApisRequest extends Request { @Query @NameInMap("ApiIds") @Validation(required = true) private String apiIds; @Query @NameInMap("GroupId") @Validation(required = true) private String groupId; @Query @NameInMap("SecurityToken") private String securityToken; @Query @NameInMap("SignatureId") @Validation(required = true) private String signatureId; @Query @NameInMap("StageName") @Validation(required = true) private String stageName; private SetSignatureApisRequest(Builder builder) { super(builder); this.apiIds = builder.apiIds; this.groupId = builder.groupId; this.securityToken = builder.securityToken; this.signatureId = builder.signatureId; this.stageName = builder.stageName; } public static Builder builder() { return new Builder(); } public static SetSignatureApisRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiIds */ public String getApiIds() { return this.apiIds; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return signatureId */ public String getSignatureId() { return this.signatureId; } /** * @return stageName */ public String getStageName() { return this.stageName; } public static final class Builder extends Request.Builder { private String apiIds; private String groupId; private String securityToken; private String signatureId; private String stageName; private Builder() { super(); } private Builder(SetSignatureApisRequest request) { super(request); this.apiIds = request.apiIds; this.groupId = request.groupId; this.securityToken = request.securityToken; this.signatureId = request.signatureId; this.stageName = request.stageName; } /** * The ID of the request. */ public Builder apiIds(String apiIds) { this.putQueryParameter("ApiIds", apiIds); this.apiIds = apiIds; return this; } /** * The name of the runtime environment. Valid values: *

* * * **RELEASE** * * **PRE** * * **TEST** */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * The API ID for the specified operation. Separate multiple API IDs with commas (,). A maximum of 100 API IDs can be entered. */ public Builder signatureId(String signatureId) { this.putQueryParameter("SignatureId", signatureId); this.signatureId = signatureId; return this; } /** * * This API is intended for API providers. *

* * This operation allows you to bind a signature key to an API. You can bind signature keys for up to 100 APIs at a time. */ public Builder stageName(String stageName) { this.putQueryParameter("StageName", stageName); this.stageName = stageName; return this; } @Override public SetSignatureApisRequest build() { return new SetSignatureApisRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy