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

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

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;

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

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

ModifyApiGroupInstanceRequest

*/ public class ModifyApiGroupInstanceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Remark") private String remark; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List < Tag> tag; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetInstanceId") @com.aliyun.core.annotation.Validation(required = true) private String targetInstanceId; private ModifyApiGroupInstanceRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.remark = builder.remark; this.securityToken = builder.securityToken; this.tag = builder.tag; this.targetInstanceId = builder.targetInstanceId; } public static Builder builder() { return new Builder(); } public static ModifyApiGroupInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return remark */ public String getRemark() { return this.remark; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return tag */ public java.util.List < Tag> getTag() { return this.tag; } /** * @return targetInstanceId */ public String getTargetInstanceId() { return this.targetInstanceId; } public static final class Builder extends Request.Builder { private String groupId; private String remark; private String securityToken; private java.util.List < Tag> tag; private String targetInstanceId; private Builder() { super(); } private Builder(ModifyApiGroupInstanceRequest request) { super(request); this.groupId = request.groupId; this.remark = request.remark; this.securityToken = request.securityToken; this.tag = request.tag; this.targetInstanceId = request.targetInstanceId; } /** * GroupId. */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * Remark. */ public Builder remark(String remark) { this.putQueryParameter("Remark", remark); this.remark = remark; 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; } /** * TargetInstanceId. */ public Builder targetInstanceId(String targetInstanceId) { this.putQueryParameter("TargetInstanceId", targetInstanceId); this.targetInstanceId = targetInstanceId; return this; } @Override public ModifyApiGroupInstanceRequest build() { return new ModifyApiGroupInstanceRequest(this); } } public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") @com.aliyun.core.annotation.Validation(required = true) private String key; @com.aliyun.core.annotation.NameInMap("Value") @com.aliyun.core.annotation.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 - 2025 Weber Informatics LLC | Privacy Policy