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

com.aliyun.sdk.service.emr20210320.models.ListTagResourcesResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.emr20210320.models;

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

/**
 * {@link ListTagResourcesResponseBody} extends {@link TeaModel}
 *
 * 

ListTagResourcesResponseBody

*/ public class ListTagResourcesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("MaxResults") private Integer maxResults; @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TagResources") private java.util.List < TagResources> tagResources; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private ListTagResourcesResponseBody(Builder builder) { this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.requestId = builder.requestId; this.tagResources = builder.tagResources; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static ListTagResourcesResponseBody create() { return builder().build(); } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return tagResources */ public java.util.List < TagResources> getTagResources() { return this.tagResources; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer maxResults; private String nextToken; private String requestId; private java.util.List < TagResources> tagResources; private Integer totalCount; /** * The maximum number of entries returned. */ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; return this; } /** * Returns the location of the data that was read. Empty indicates that the data has been read. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The details about the tag. Contains the resource ID, resource type, and tag key-value information. */ public Builder tagResources(java.util.List < TagResources> tagResources) { this.tagResources = tagResources; return this; } /** * The total number of entries returned. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public ListTagResourcesResponseBody build() { return new ListTagResourcesResponseBody(this); } } public static class TagResources extends TeaModel { @com.aliyun.core.annotation.NameInMap("ResourceId") private String resourceId; @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; @com.aliyun.core.annotation.NameInMap("TagKey") private String tagKey; @com.aliyun.core.annotation.NameInMap("TagValue") private String tagValue; private TagResources(Builder builder) { this.resourceId = builder.resourceId; this.resourceType = builder.resourceType; this.tagKey = builder.tagKey; this.tagValue = builder.tagValue; } public static Builder builder() { return new Builder(); } public static TagResources create() { return builder().build(); } /** * @return resourceId */ public String getResourceId() { return this.resourceId; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return tagKey */ public String getTagKey() { return this.tagKey; } /** * @return tagValue */ public String getTagValue() { return this.tagValue; } public static final class Builder { private String resourceId; private String resourceType; private String tagKey; private String tagValue; /** * Indicates the ID of a resource. */ public Builder resourceId(String resourceId) { this.resourceId = resourceId; return this; } /** * The resource type. */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } /** * The tag key of the ENI. */ public Builder tagKey(String tagKey) { this.tagKey = tagKey; return this; } /** * The tag value of the ENI. */ public Builder tagValue(String tagValue) { this.tagValue = tagValue; return this; } public TagResources build() { return new TagResources(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy