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

com.aliyun.sdk.service.cloudapi20160714.models.ModifyPluginRequest 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 ModifyPluginRequest} extends {@link RequestModel}
 *
 * 

ModifyPluginRequest

*/ public class ModifyPluginRequest extends Request { @Query @NameInMap("Description") private String description; @Query @NameInMap("PluginData") private String pluginData; @Query @NameInMap("PluginId") @Validation(required = true) private String pluginId; @Query @NameInMap("PluginName") private String pluginName; @Query @NameInMap("SecurityToken") private String securityToken; @Query @NameInMap("Tag") private java.util.List < Tag> tag; private ModifyPluginRequest(Builder builder) { super(builder); this.description = builder.description; this.pluginData = builder.pluginData; this.pluginId = builder.pluginId; this.pluginName = builder.pluginName; this.securityToken = builder.securityToken; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static ModifyPluginRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return description */ public String getDescription() { return this.description; } /** * @return pluginData */ public String getPluginData() { return this.pluginData; } /** * @return pluginId */ public String getPluginId() { return this.pluginId; } /** * @return pluginName */ public String getPluginName() { return this.pluginName; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return tag */ public java.util.List < Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder { private String description; private String pluginData; private String pluginId; private String pluginName; private String securityToken; private java.util.List < Tag> tag; private Builder() { super(); } private Builder(ModifyPluginRequest request) { super(request); this.description = request.description; this.pluginData = request.pluginData; this.pluginId = request.pluginId; this.pluginName = request.pluginName; this.securityToken = request.securityToken; this.tag = request.tag; } /** * Description. */ public Builder description(String description) { this.putQueryParameter("Description", description); this.description = description; return this; } /** * PluginData. */ public Builder pluginData(String pluginData) { this.putQueryParameter("PluginData", pluginData); this.pluginData = pluginData; return this; } /** * PluginId. */ public Builder pluginId(String pluginId) { this.putQueryParameter("PluginId", pluginId); this.pluginId = pluginId; return this; } /** * PluginName. */ public Builder pluginName(String pluginName) { this.putQueryParameter("PluginName", pluginName); this.pluginName = pluginName; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * Tag. */ public Builder tag(java.util.List < Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public ModifyPluginRequest build() { return new ModifyPluginRequest(this); } } public static class Tag extends TeaModel { @NameInMap("Key") @Validation(required = true) private String key; @NameInMap("Value") @Validation(required = true) private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy