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

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

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.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 AttachPluginRequest} extends {@link RequestModel}
 *
 * 

AttachPluginRequest

*/ public class AttachPluginRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiId") private String apiId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiIds") private String apiIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PluginId") @com.aliyun.core.annotation.Validation(required = true) private String pluginId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StageName") @com.aliyun.core.annotation.Validation(required = true) private String stageName; private AttachPluginRequest(Builder builder) { super(builder); this.apiId = builder.apiId; this.apiIds = builder.apiIds; this.groupId = builder.groupId; this.pluginId = builder.pluginId; this.securityToken = builder.securityToken; this.stageName = builder.stageName; } public static Builder builder() { return new Builder(); } public static AttachPluginRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiId */ public String getApiId() { return this.apiId; } /** * @return apiIds */ public String getApiIds() { return this.apiIds; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return pluginId */ public String getPluginId() { return this.pluginId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return stageName */ public String getStageName() { return this.stageName; } public static final class Builder extends Request.Builder { private String apiId; private String apiIds; private String groupId; private String pluginId; private String securityToken; private String stageName; private Builder() { super(); } private Builder(AttachPluginRequest request) { super(request); this.apiId = request.apiId; this.apiIds = request.apiIds; this.groupId = request.groupId; this.pluginId = request.pluginId; this.securityToken = request.securityToken; this.stageName = request.stageName; } /** *

The number of the API to be bound.

* * example: *

8afff6c8c4c6447abb035812e4d66b65

*/ public Builder apiId(String apiId) { this.putQueryParameter("ApiId", apiId); this.apiId = apiId; return this; } /** *

The number of the API to be operated. Separate multiple numbers with commas (,). A maximum of 100 numbers can be entered.

* * example: *

xxx

*/ public Builder apiIds(String apiIds) { this.putQueryParameter("ApiIds", apiIds); this.apiIds = apiIds; return this; } /** *

The ID of the API group that contains the API to which the plug-in is to be bound.

* * example: *

285bb759342649a1b70c2093a772e087

*/ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** *

The ID of the plug-in to be bound.

*

This parameter is required.

* * example: *

9a3f1a5279434f2ba74ccd91c295af9f

*/ public Builder pluginId(String pluginId) { this.putQueryParameter("PluginId", pluginId); this.pluginId = pluginId; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** *

The name of the runtime environment. Valid values:

*
    *
  • RELEASE
  • *
  • PRE: the pre-release environment
  • *
  • TEST
  • *
*

This parameter is required.

* * example: *

TEST

*/ public Builder stageName(String stageName) { this.putQueryParameter("StageName", stageName); this.stageName = stageName; return this; } @Override public AttachPluginRequest build() { return new AttachPluginRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy