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

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

There is a newer version: 3.0.24
Show newest version
// 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 DescribeApiGroupRequest} extends {@link RequestModel}
 *
 * 

DescribeApiGroupRequest

*/ public class DescribeApiGroupRequest 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("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List < Tag> tag; private DescribeApiGroupRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.securityToken = builder.securityToken; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static DescribeApiGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @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 groupId; private String securityToken; private java.util.List < Tag> tag; private Builder() { super(); } private Builder(DescribeApiGroupRequest request) { super(request); this.groupId = request.groupId; this.securityToken = request.securityToken; this.tag = request.tag; } /** * The ID of the API group. This ID is generated by the system and globally unique. */ 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 object tags that match the lifecycle rule. You can specify multiple tags. */ public Builder tag(java.util.List < Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public DescribeApiGroupRequest build() { return new DescribeApiGroupRequest(this); } } public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") 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; /** * The key of the tag. */ public Builder key(String key) { this.key = key; return this; } /** * The value of the tag. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy