index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/EnableMultiAccountResourceCenterRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 EnableMultiAccountResourceCenterRequest} extends {@link RequestModel}
*
* <p>EnableMultiAccountResourceCenterRequest</p>
*/
public class EnableMultiAccountResourceCenterRequest extends Request {
private EnableMultiAccountResourceCenterRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static EnableMultiAccountResourceCenterRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<EnableMultiAccountResourceCenterRequest, Builder> {
private Builder() {
super();
}
private Builder(EnableMultiAccountResourceCenterRequest request) {
super(request);
}
@Override
public EnableMultiAccountResourceCenterRequest build() {
return new EnableMultiAccountResourceCenterRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/EnableMultiAccountResourceCenterResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 EnableMultiAccountResourceCenterResponse} extends {@link TeaModel}
*
* <p>EnableMultiAccountResourceCenterResponse</p>
*/
public class EnableMultiAccountResourceCenterResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private EnableMultiAccountResourceCenterResponseBody body;
private EnableMultiAccountResourceCenterResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static EnableMultiAccountResourceCenterResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public EnableMultiAccountResourceCenterResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<EnableMultiAccountResourceCenterResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(EnableMultiAccountResourceCenterResponseBody body);
@Override
EnableMultiAccountResourceCenterResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<EnableMultiAccountResourceCenterResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private EnableMultiAccountResourceCenterResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(EnableMultiAccountResourceCenterResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(EnableMultiAccountResourceCenterResponseBody body) {
this.body = body;
return this;
}
@Override
public EnableMultiAccountResourceCenterResponse build() {
return new EnableMultiAccountResourceCenterResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/EnableMultiAccountResourceCenterResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 EnableMultiAccountResourceCenterResponseBody} extends {@link TeaModel}
*
* <p>EnableMultiAccountResourceCenterResponseBody</p>
*/
public class EnableMultiAccountResourceCenterResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private EnableMultiAccountResourceCenterResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static EnableMultiAccountResourceCenterResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String requestId;
private String status;
private Builder() {
}
private Builder(EnableMultiAccountResourceCenterResponseBody model) {
this.requestId = model.requestId;
this.status = model.status;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>767038B7-2027-5508-858B-E213232D57D5</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The status of the feature. Valid values:</p>
* <ul>
* <li>Pending: The feature is being enabled.</li>
* <li>Enabled: The feature is enabled.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Pending</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public EnableMultiAccountResourceCenterResponseBody build() {
return new EnableMultiAccountResourceCenterResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/EnableResourceCenterRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 EnableResourceCenterRequest} extends {@link RequestModel}
*
* <p>EnableResourceCenterRequest</p>
*/
public class EnableResourceCenterRequest extends Request {
private EnableResourceCenterRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static EnableResourceCenterRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<EnableResourceCenterRequest, Builder> {
private Builder() {
super();
}
private Builder(EnableResourceCenterRequest request) {
super(request);
}
@Override
public EnableResourceCenterRequest build() {
return new EnableResourceCenterRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/EnableResourceCenterResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 EnableResourceCenterResponse} extends {@link TeaModel}
*
* <p>EnableResourceCenterResponse</p>
*/
public class EnableResourceCenterResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private EnableResourceCenterResponseBody body;
private EnableResourceCenterResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static EnableResourceCenterResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public EnableResourceCenterResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<EnableResourceCenterResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(EnableResourceCenterResponseBody body);
@Override
EnableResourceCenterResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<EnableResourceCenterResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private EnableResourceCenterResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(EnableResourceCenterResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(EnableResourceCenterResponseBody body) {
this.body = body;
return this;
}
@Override
public EnableResourceCenterResponse build() {
return new EnableResourceCenterResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/EnableResourceCenterResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 EnableResourceCenterResponseBody} extends {@link TeaModel}
*
* <p>EnableResourceCenterResponseBody</p>
*/
public class EnableResourceCenterResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private EnableResourceCenterResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static EnableResourceCenterResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String requestId;
private String status;
private Builder() {
}
private Builder(EnableResourceCenterResponseBody model) {
this.requestId = model.requestId;
this.status = model.status;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>45357BEF-AB50-5E4D-B05D-5A882A4BE924</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The activation status of the service. Valid values:</p>
* <ul>
* <li>Pending: The service is being activated.</li>
* <li>Enabled: The service is activated.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Pending</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public EnableResourceCenterResponseBody build() {
return new EnableResourceCenterResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ExecuteMultiAccountSQLQueryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ExecuteMultiAccountSQLQueryRequest} extends {@link RequestModel}
*
* <p>ExecuteMultiAccountSQLQueryRequest</p>
*/
public class ExecuteMultiAccountSQLQueryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Expression")
@com.aliyun.core.annotation.Validation(required = true)
private String expression;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
@com.aliyun.core.annotation.Validation(maximum = 1000, minimum = 1)
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Scope")
@com.aliyun.core.annotation.Validation(required = true)
private String scope;
private ExecuteMultiAccountSQLQueryRequest(Builder builder) {
super(builder);
this.expression = builder.expression;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.scope = builder.scope;
}
public static Builder builder() {
return new Builder();
}
public static ExecuteMultiAccountSQLQueryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return expression
*/
public String getExpression() {
return this.expression;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return scope
*/
public String getScope() {
return this.scope;
}
public static final class Builder extends Request.Builder<ExecuteMultiAccountSQLQueryRequest, Builder> {
private String expression;
private Integer maxResults;
private String nextToken;
private String scope;
private Builder() {
super();
}
private Builder(ExecuteMultiAccountSQLQueryRequest request) {
super(request);
this.expression = request.expression;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.scope = request.scope;
}
/**
* <p>The SQL statement to be executed.</p>
* <p>The number of characters in the SQL statement must be less than 2,000.</p>
* <p>For more information about the SQL syntax, see <a href="https://help.aliyun.com/document_detail/2539395.html">Basic SQL syntax</a>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>SELECT * FROM resources LIMIT 100;</p>
*/
public Builder expression(String expression) {
this.putQueryParameter("Expression", expression);
this.expression = expression;
return this;
}
/**
* <p>The maximum number of entries to return on each page.</p>
* <p>Valid values: 1 to 1000.</p>
* <p>Default value: 1000.</p>
*
* <strong>example:</strong>
* <p>1000</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The search scope. The value of this parameter can be one of the following items:</p>
* <ul>
* <li>ID of a resource directory: Resources within the management account and all members of the resource directory are searched.</li>
* <li>ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched.</li>
* <li>ID of a folder: Resources within all members in the folder are searched.</li>
* <li>ID of a member: Resources within the member are searched.</li>
* <li>ID of a member/ID of a Resource group: Resources within the member in the resource group are searched.</li>
* </ul>
* <p>For more information about how to obtain the ID of a resource directory, the Root folder, a folder, a member, or a resource group, see <a href="https://help.aliyun.com/document_detail/159995.html">GetResourceDirectory</a>, <a href="https://help.aliyun.com/document_detail/159997.html">ListFoldersForParent</a>, <a href="https://help.aliyun.com/document_detail/159997.html">ListFoldersForParent</a>, <a href="https://help.aliyun.com/document_detail/160016.html">ListAccounts</a>, or <a href="https://help.aliyun.com/document_detail/158855.html">ListResourceGroups</a>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rd-r4****</p>
*/
public Builder scope(String scope) {
this.putQueryParameter("Scope", scope);
this.scope = scope;
return this;
}
@Override
public ExecuteMultiAccountSQLQueryRequest build() {
return new ExecuteMultiAccountSQLQueryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ExecuteMultiAccountSQLQueryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ExecuteMultiAccountSQLQueryResponse} extends {@link TeaModel}
*
* <p>ExecuteMultiAccountSQLQueryResponse</p>
*/
public class ExecuteMultiAccountSQLQueryResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ExecuteMultiAccountSQLQueryResponseBody body;
private ExecuteMultiAccountSQLQueryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ExecuteMultiAccountSQLQueryResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ExecuteMultiAccountSQLQueryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ExecuteMultiAccountSQLQueryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ExecuteMultiAccountSQLQueryResponseBody body);
@Override
ExecuteMultiAccountSQLQueryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ExecuteMultiAccountSQLQueryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ExecuteMultiAccountSQLQueryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ExecuteMultiAccountSQLQueryResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ExecuteMultiAccountSQLQueryResponseBody body) {
this.body = body;
return this;
}
@Override
public ExecuteMultiAccountSQLQueryResponse build() {
return new ExecuteMultiAccountSQLQueryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ExecuteMultiAccountSQLQueryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ExecuteMultiAccountSQLQueryResponseBody} extends {@link TeaModel}
*
* <p>ExecuteMultiAccountSQLQueryResponseBody</p>
*/
public class ExecuteMultiAccountSQLQueryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Columns")
private java.util.List<Columns> columns;
@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("Rows")
private java.util.List<?> rows;
private ExecuteMultiAccountSQLQueryResponseBody(Builder builder) {
this.columns = builder.columns;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.rows = builder.rows;
}
public static Builder builder() {
return new Builder();
}
public static ExecuteMultiAccountSQLQueryResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return columns
*/
public java.util.List<Columns> getColumns() {
return this.columns;
}
/**
* @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 rows
*/
public java.util.List<?> getRows() {
return this.rows;
}
public static final class Builder {
private java.util.List<Columns> columns;
private Integer maxResults;
private String nextToken;
private String requestId;
private java.util.List<?> rows;
private Builder() {
}
private Builder(ExecuteMultiAccountSQLQueryResponseBody model) {
this.columns = model.columns;
this.maxResults = model.maxResults;
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.rows = model.rows;
}
/**
* <p>The columns.</p>
*/
public Builder columns(java.util.List<Columns> columns) {
this.columns = columns;
return this;
}
/**
* <p>The number of entries per page.</p>
*
* <strong>example:</strong>
* <p>1000</p>
*/
public Builder maxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
/**
* <p>A pagination token. It can be used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>44C8A952-D6B0-5BC8-82D5-93BA02E26F2E</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>An array of search results.</p>
*/
public Builder rows(java.util.List<?> rows) {
this.rows = rows;
return this;
}
public ExecuteMultiAccountSQLQueryResponseBody build() {
return new ExecuteMultiAccountSQLQueryResponseBody(this);
}
}
/**
*
* {@link ExecuteMultiAccountSQLQueryResponseBody} extends {@link TeaModel}
*
* <p>ExecuteMultiAccountSQLQueryResponseBody</p>
*/
public static class Columns extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private Columns(Builder builder) {
this.name = builder.name;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Columns create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String name;
private String type;
private Builder() {
}
private Builder(Columns model) {
this.name = model.name;
this.type = model.type;
}
/**
* <p>The name of the column.</p>
*
* <strong>example:</strong>
* <p>resource_id</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The type of the column.</p>
*
* <strong>example:</strong>
* <p>varchar</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Columns build() {
return new Columns(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ExecuteSQLQueryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ExecuteSQLQueryRequest} extends {@link RequestModel}
*
* <p>ExecuteSQLQueryRequest</p>
*/
public class ExecuteSQLQueryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Expression")
@com.aliyun.core.annotation.Validation(required = true)
private String expression;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
@com.aliyun.core.annotation.Validation(maximum = 1000, minimum = 1)
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Scope")
private String scope;
private ExecuteSQLQueryRequest(Builder builder) {
super(builder);
this.expression = builder.expression;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.scope = builder.scope;
}
public static Builder builder() {
return new Builder();
}
public static ExecuteSQLQueryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return expression
*/
public String getExpression() {
return this.expression;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return scope
*/
public String getScope() {
return this.scope;
}
public static final class Builder extends Request.Builder<ExecuteSQLQueryRequest, Builder> {
private String expression;
private Integer maxResults;
private String nextToken;
private String scope;
private Builder() {
super();
}
private Builder(ExecuteSQLQueryRequest request) {
super(request);
this.expression = request.expression;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.scope = request.scope;
}
/**
* <p>The SQL statement to be executed.</p>
* <p>The number of characters in the SQL statement must be less than 2,000.</p>
* <p>For more information about the SQL syntax, see <a href="https://help.aliyun.com/document_detail/2539395.html">Basic SQL syntax</a>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>SELECT * FROM resources LIMIT 100;</p>
*/
public Builder expression(String expression) {
this.putQueryParameter("Expression", expression);
this.expression = expression;
return this;
}
/**
* <p>The number of entries per page.</p>
* <ul>
* <li>Valid values: 1 to 1000.</li>
* <li>Default value: 1000.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1000</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The search scope.</p>
* <p>Set this parameter to the ID of a resource group.</p>
* <p>For information about how to obtain the ID of a resource group, see <a href="https://help.aliyun.com/document_detail/158855.html">ListResourceGroups</a>.</p>
*
* <strong>example:</strong>
* <p>rg-acfmzawhxxc****</p>
*/
public Builder scope(String scope) {
this.putQueryParameter("Scope", scope);
this.scope = scope;
return this;
}
@Override
public ExecuteSQLQueryRequest build() {
return new ExecuteSQLQueryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ExecuteSQLQueryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ExecuteSQLQueryResponse} extends {@link TeaModel}
*
* <p>ExecuteSQLQueryResponse</p>
*/
public class ExecuteSQLQueryResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ExecuteSQLQueryResponseBody body;
private ExecuteSQLQueryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ExecuteSQLQueryResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ExecuteSQLQueryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ExecuteSQLQueryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ExecuteSQLQueryResponseBody body);
@Override
ExecuteSQLQueryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ExecuteSQLQueryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ExecuteSQLQueryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ExecuteSQLQueryResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ExecuteSQLQueryResponseBody body) {
this.body = body;
return this;
}
@Override
public ExecuteSQLQueryResponse build() {
return new ExecuteSQLQueryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ExecuteSQLQueryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ExecuteSQLQueryResponseBody} extends {@link TeaModel}
*
* <p>ExecuteSQLQueryResponseBody</p>
*/
public class ExecuteSQLQueryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Columns")
private java.util.List<Columns> columns;
@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("Rows")
private java.util.List<?> rows;
private ExecuteSQLQueryResponseBody(Builder builder) {
this.columns = builder.columns;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.rows = builder.rows;
}
public static Builder builder() {
return new Builder();
}
public static ExecuteSQLQueryResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return columns
*/
public java.util.List<Columns> getColumns() {
return this.columns;
}
/**
* @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 rows
*/
public java.util.List<?> getRows() {
return this.rows;
}
public static final class Builder {
private java.util.List<Columns> columns;
private Integer maxResults;
private String nextToken;
private String requestId;
private java.util.List<?> rows;
private Builder() {
}
private Builder(ExecuteSQLQueryResponseBody model) {
this.columns = model.columns;
this.maxResults = model.maxResults;
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.rows = model.rows;
}
/**
* <p>The columns.</p>
*/
public Builder columns(java.util.List<Columns> columns) {
this.columns = columns;
return this;
}
/**
* <p>The number of entries per page.</p>
*
* <strong>example:</strong>
* <p>1000</p>
*/
public Builder maxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
/**
* <p>A pagination token. It can be used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>D696E6EF-3A6D-5770-801E-4982081FE4D0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>An array of search results.</p>
*/
public Builder rows(java.util.List<?> rows) {
this.rows = rows;
return this;
}
public ExecuteSQLQueryResponseBody build() {
return new ExecuteSQLQueryResponseBody(this);
}
}
/**
*
* {@link ExecuteSQLQueryResponseBody} extends {@link TeaModel}
*
* <p>ExecuteSQLQueryResponseBody</p>
*/
public static class Columns extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private Columns(Builder builder) {
this.name = builder.name;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Columns create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String name;
private String type;
private Builder() {
}
private Builder(Columns model) {
this.name = model.name;
this.type = model.type;
}
/**
* <p>The name of the column.</p>
*
* <strong>example:</strong>
* <p>resource_id</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The type of the column.</p>
*
* <strong>example:</strong>
* <p>varchar</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Columns build() {
return new Columns(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetDeliveryChannelRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetDeliveryChannelRequest} extends {@link RequestModel}
*
* <p>GetDeliveryChannelRequest</p>
*/
public class GetDeliveryChannelRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeliveryChannelId")
private String deliveryChannelId;
private GetDeliveryChannelRequest(Builder builder) {
super(builder);
this.deliveryChannelId = builder.deliveryChannelId;
}
public static Builder builder() {
return new Builder();
}
public static GetDeliveryChannelRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deliveryChannelId
*/
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
public static final class Builder extends Request.Builder<GetDeliveryChannelRequest, Builder> {
private String deliveryChannelId;
private Builder() {
super();
}
private Builder(GetDeliveryChannelRequest request) {
super(request);
this.deliveryChannelId = request.deliveryChannelId;
}
/**
* <p>The ID of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>dc-6q79dm4o9***</p>
*/
public Builder deliveryChannelId(String deliveryChannelId) {
this.putQueryParameter("DeliveryChannelId", deliveryChannelId);
this.deliveryChannelId = deliveryChannelId;
return this;
}
@Override
public GetDeliveryChannelRequest build() {
return new GetDeliveryChannelRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetDeliveryChannelResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetDeliveryChannelResponse} extends {@link TeaModel}
*
* <p>GetDeliveryChannelResponse</p>
*/
public class GetDeliveryChannelResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetDeliveryChannelResponseBody body;
private GetDeliveryChannelResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetDeliveryChannelResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetDeliveryChannelResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetDeliveryChannelResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetDeliveryChannelResponseBody body);
@Override
GetDeliveryChannelResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetDeliveryChannelResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetDeliveryChannelResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetDeliveryChannelResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetDeliveryChannelResponseBody body) {
this.body = body;
return this;
}
@Override
public GetDeliveryChannelResponse build() {
return new GetDeliveryChannelResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetDeliveryChannelResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>GetDeliveryChannelResponseBody</p>
*/
public class GetDeliveryChannelResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DeliveryChannelDescription")
private String deliveryChannelDescription;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelFilter")
private DeliveryChannelFilter deliveryChannelFilter;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelId")
private String deliveryChannelId;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelName")
private String deliveryChannelName;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceChangeDelivery")
private ResourceChangeDelivery resourceChangeDelivery;
@com.aliyun.core.annotation.NameInMap("ResourceSnapshotDelivery")
private ResourceSnapshotDelivery resourceSnapshotDelivery;
private GetDeliveryChannelResponseBody(Builder builder) {
this.deliveryChannelDescription = builder.deliveryChannelDescription;
this.deliveryChannelFilter = builder.deliveryChannelFilter;
this.deliveryChannelId = builder.deliveryChannelId;
this.deliveryChannelName = builder.deliveryChannelName;
this.requestId = builder.requestId;
this.resourceChangeDelivery = builder.resourceChangeDelivery;
this.resourceSnapshotDelivery = builder.resourceSnapshotDelivery;
}
public static Builder builder() {
return new Builder();
}
public static GetDeliveryChannelResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deliveryChannelDescription
*/
public String getDeliveryChannelDescription() {
return this.deliveryChannelDescription;
}
/**
* @return deliveryChannelFilter
*/
public DeliveryChannelFilter getDeliveryChannelFilter() {
return this.deliveryChannelFilter;
}
/**
* @return deliveryChannelId
*/
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
/**
* @return deliveryChannelName
*/
public String getDeliveryChannelName() {
return this.deliveryChannelName;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceChangeDelivery
*/
public ResourceChangeDelivery getResourceChangeDelivery() {
return this.resourceChangeDelivery;
}
/**
* @return resourceSnapshotDelivery
*/
public ResourceSnapshotDelivery getResourceSnapshotDelivery() {
return this.resourceSnapshotDelivery;
}
public static final class Builder {
private String deliveryChannelDescription;
private DeliveryChannelFilter deliveryChannelFilter;
private String deliveryChannelId;
private String deliveryChannelName;
private String requestId;
private ResourceChangeDelivery resourceChangeDelivery;
private ResourceSnapshotDelivery resourceSnapshotDelivery;
private Builder() {
}
private Builder(GetDeliveryChannelResponseBody model) {
this.deliveryChannelDescription = model.deliveryChannelDescription;
this.deliveryChannelFilter = model.deliveryChannelFilter;
this.deliveryChannelId = model.deliveryChannelId;
this.deliveryChannelName = model.deliveryChannelName;
this.requestId = model.requestId;
this.resourceChangeDelivery = model.resourceChangeDelivery;
this.resourceSnapshotDelivery = model.resourceSnapshotDelivery;
}
/**
* <p>The description of the delivery channel.</p>
*/
public Builder deliveryChannelDescription(String deliveryChannelDescription) {
this.deliveryChannelDescription = deliveryChannelDescription;
return this;
}
/**
* <p>The effective scope of the delivery channel.</p>
*/
public Builder deliveryChannelFilter(DeliveryChannelFilter deliveryChannelFilter) {
this.deliveryChannelFilter = deliveryChannelFilter;
return this;
}
/**
* <p>The ID of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>dc-6q79dm4o9***</p>
*/
public Builder deliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
return this;
}
/**
* <p>The name of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>test-delivery-channel</p>
*/
public Builder deliveryChannelName(String deliveryChannelName) {
this.deliveryChannelName = deliveryChannelName;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>17502A1B-7026-5551-8E1C-CCABD0CBC***</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The configurations for delivery of resource configuration change events.</p>
*/
public Builder resourceChangeDelivery(ResourceChangeDelivery resourceChangeDelivery) {
this.resourceChangeDelivery = resourceChangeDelivery;
return this;
}
/**
* <p>The configurations for delivery of scheduled resource snapshots.</p>
*/
public Builder resourceSnapshotDelivery(ResourceSnapshotDelivery resourceSnapshotDelivery) {
this.resourceSnapshotDelivery = resourceSnapshotDelivery;
return this;
}
public GetDeliveryChannelResponseBody build() {
return new GetDeliveryChannelResponseBody(this);
}
}
/**
*
* {@link GetDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>GetDeliveryChannelResponseBody</p>
*/
public static class DeliveryChannelFilter extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ResourceTypes")
private java.util.List<String> resourceTypes;
private DeliveryChannelFilter(Builder builder) {
this.resourceTypes = builder.resourceTypes;
}
public static Builder builder() {
return new Builder();
}
public static DeliveryChannelFilter create() {
return builder().build();
}
/**
* @return resourceTypes
*/
public java.util.List<String> getResourceTypes() {
return this.resourceTypes;
}
public static final class Builder {
private java.util.List<String> resourceTypes;
private Builder() {
}
private Builder(DeliveryChannelFilter model) {
this.resourceTypes = model.resourceTypes;
}
/**
* <p>The effective resource types of the delivery channel.</p>
*/
public Builder resourceTypes(java.util.List<String> resourceTypes) {
this.resourceTypes = resourceTypes;
return this;
}
public DeliveryChannelFilter build() {
return new DeliveryChannelFilter(this);
}
}
}
/**
*
* {@link GetDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>GetDeliveryChannelResponseBody</p>
*/
public static class SlsProperties extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OversizedDataOssTargetArn")
private String oversizedDataOssTargetArn;
private SlsProperties(Builder builder) {
this.oversizedDataOssTargetArn = builder.oversizedDataOssTargetArn;
}
public static Builder builder() {
return new Builder();
}
public static SlsProperties create() {
return builder().build();
}
/**
* @return oversizedDataOssTargetArn
*/
public String getOversizedDataOssTargetArn() {
return this.oversizedDataOssTargetArn;
}
public static final class Builder {
private String oversizedDataOssTargetArn;
private Builder() {
}
private Builder(SlsProperties model) {
this.oversizedDataOssTargetArn = model.oversizedDataOssTargetArn;
}
/**
* <p>The Alibaba Cloud Resource Name (ARN) of the destination to which large files are delivered.</p>
*
* <strong>example:</strong>
* <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p>
*/
public Builder oversizedDataOssTargetArn(String oversizedDataOssTargetArn) {
this.oversizedDataOssTargetArn = oversizedDataOssTargetArn;
return this;
}
public SlsProperties build() {
return new SlsProperties(this);
}
}
}
/**
*
* {@link GetDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>GetDeliveryChannelResponseBody</p>
*/
public static class ResourceChangeDelivery extends TeaModel {
@com.aliyun.core.annotation.NameInMap("SlsProperties")
private SlsProperties slsProperties;
@com.aliyun.core.annotation.NameInMap("TargetArn")
private String targetArn;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private ResourceChangeDelivery(Builder builder) {
this.slsProperties = builder.slsProperties;
this.targetArn = builder.targetArn;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static ResourceChangeDelivery create() {
return builder().build();
}
/**
* @return slsProperties
*/
public SlsProperties getSlsProperties() {
return this.slsProperties;
}
/**
* @return targetArn
*/
public String getTargetArn() {
return this.targetArn;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private SlsProperties slsProperties;
private String targetArn;
private String targetType;
private Builder() {
}
private Builder(ResourceChangeDelivery model) {
this.slsProperties = model.slsProperties;
this.targetArn = model.targetArn;
this.targetType = model.targetType;
}
/**
* <p>The Simple Log Service configurations.</p>
*/
public Builder slsProperties(SlsProperties slsProperties) {
this.slsProperties = slsProperties;
return this;
}
/**
* <p>The ARN of the delivery destination.</p>
*
* <strong>example:</strong>
* <p>acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls</p>
*/
public Builder targetArn(String targetArn) {
this.targetArn = targetArn;
return this;
}
/**
* <p>The type of the destination.</p>
*
* <strong>example:</strong>
* <p>SLS</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public ResourceChangeDelivery build() {
return new ResourceChangeDelivery(this);
}
}
}
/**
*
* {@link GetDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>GetDeliveryChannelResponseBody</p>
*/
public static class ResourceSnapshotDeliverySlsProperties extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OversizedDataOssTargetArn")
private String oversizedDataOssTargetArn;
private ResourceSnapshotDeliverySlsProperties(Builder builder) {
this.oversizedDataOssTargetArn = builder.oversizedDataOssTargetArn;
}
public static Builder builder() {
return new Builder();
}
public static ResourceSnapshotDeliverySlsProperties create() {
return builder().build();
}
/**
* @return oversizedDataOssTargetArn
*/
public String getOversizedDataOssTargetArn() {
return this.oversizedDataOssTargetArn;
}
public static final class Builder {
private String oversizedDataOssTargetArn;
private Builder() {
}
private Builder(ResourceSnapshotDeliverySlsProperties model) {
this.oversizedDataOssTargetArn = model.oversizedDataOssTargetArn;
}
/**
* <p>The ARN of the destination to which large files are delivered.</p>
*
* <strong>example:</strong>
* <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p>
*/
public Builder oversizedDataOssTargetArn(String oversizedDataOssTargetArn) {
this.oversizedDataOssTargetArn = oversizedDataOssTargetArn;
return this;
}
public ResourceSnapshotDeliverySlsProperties build() {
return new ResourceSnapshotDeliverySlsProperties(this);
}
}
}
/**
*
* {@link GetDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>GetDeliveryChannelResponseBody</p>
*/
public static class ResourceSnapshotDelivery extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CustomExpression")
private String customExpression;
@com.aliyun.core.annotation.NameInMap("DeliveryTime")
private String deliveryTime;
@com.aliyun.core.annotation.NameInMap("SlsProperties")
private ResourceSnapshotDeliverySlsProperties slsProperties;
@com.aliyun.core.annotation.NameInMap("TargetArn")
private String targetArn;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private ResourceSnapshotDelivery(Builder builder) {
this.customExpression = builder.customExpression;
this.deliveryTime = builder.deliveryTime;
this.slsProperties = builder.slsProperties;
this.targetArn = builder.targetArn;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static ResourceSnapshotDelivery create() {
return builder().build();
}
/**
* @return customExpression
*/
public String getCustomExpression() {
return this.customExpression;
}
/**
* @return deliveryTime
*/
public String getDeliveryTime() {
return this.deliveryTime;
}
/**
* @return slsProperties
*/
public ResourceSnapshotDeliverySlsProperties getSlsProperties() {
return this.slsProperties;
}
/**
* @return targetArn
*/
public String getTargetArn() {
return this.targetArn;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String customExpression;
private String deliveryTime;
private ResourceSnapshotDeliverySlsProperties slsProperties;
private String targetArn;
private String targetType;
private Builder() {
}
private Builder(ResourceSnapshotDelivery model) {
this.customExpression = model.customExpression;
this.deliveryTime = model.deliveryTime;
this.slsProperties = model.slsProperties;
this.targetArn = model.targetArn;
this.targetType = model.targetType;
}
/**
* <p>The custom expression.</p>
*
* <strong>example:</strong>
* <p>select * from resources limit 100;</p>
*/
public Builder customExpression(String customExpression) {
this.customExpression = customExpression;
return this;
}
/**
* <p>The delivery time.</p>
*
* <strong>example:</strong>
* <p>09:00Z</p>
*/
public Builder deliveryTime(String deliveryTime) {
this.deliveryTime = deliveryTime;
return this;
}
/**
* <p>The Simple Log Service configurations.</p>
*/
public Builder slsProperties(ResourceSnapshotDeliverySlsProperties slsProperties) {
this.slsProperties = slsProperties;
return this;
}
/**
* <p>The ARN of the delivery destination.</p>
*
* <strong>example:</strong>
* <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p>
*/
public Builder targetArn(String targetArn) {
this.targetArn = targetArn;
return this;
}
/**
* <p>The type of the destination.</p>
*
* <strong>example:</strong>
* <p>OSS</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public ResourceSnapshotDelivery build() {
return new ResourceSnapshotDelivery(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetDeliveryChannelStatisticsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetDeliveryChannelStatisticsRequest} extends {@link RequestModel}
*
* <p>GetDeliveryChannelStatisticsRequest</p>
*/
public class GetDeliveryChannelStatisticsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeliveryChannelId")
@com.aliyun.core.annotation.Validation(required = true)
private String deliveryChannelId;
private GetDeliveryChannelStatisticsRequest(Builder builder) {
super(builder);
this.deliveryChannelId = builder.deliveryChannelId;
}
public static Builder builder() {
return new Builder();
}
public static GetDeliveryChannelStatisticsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deliveryChannelId
*/
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
public static final class Builder extends Request.Builder<GetDeliveryChannelStatisticsRequest, Builder> {
private String deliveryChannelId;
private Builder() {
super();
}
private Builder(GetDeliveryChannelStatisticsRequest request) {
super(request);
this.deliveryChannelId = request.deliveryChannelId;
}
/**
* <p>The ID of the delivery channel.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>dc-6q79dm4o9***</p>
*/
public Builder deliveryChannelId(String deliveryChannelId) {
this.putQueryParameter("DeliveryChannelId", deliveryChannelId);
this.deliveryChannelId = deliveryChannelId;
return this;
}
@Override
public GetDeliveryChannelStatisticsRequest build() {
return new GetDeliveryChannelStatisticsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetDeliveryChannelStatisticsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetDeliveryChannelStatisticsResponse} extends {@link TeaModel}
*
* <p>GetDeliveryChannelStatisticsResponse</p>
*/
public class GetDeliveryChannelStatisticsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetDeliveryChannelStatisticsResponseBody body;
private GetDeliveryChannelStatisticsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetDeliveryChannelStatisticsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetDeliveryChannelStatisticsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetDeliveryChannelStatisticsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetDeliveryChannelStatisticsResponseBody body);
@Override
GetDeliveryChannelStatisticsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetDeliveryChannelStatisticsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetDeliveryChannelStatisticsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetDeliveryChannelStatisticsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetDeliveryChannelStatisticsResponseBody body) {
this.body = body;
return this;
}
@Override
public GetDeliveryChannelStatisticsResponse build() {
return new GetDeliveryChannelStatisticsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetDeliveryChannelStatisticsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetDeliveryChannelStatisticsResponseBody} extends {@link TeaModel}
*
* <p>GetDeliveryChannelStatisticsResponseBody</p>
*/
public class GetDeliveryChannelStatisticsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DeliveryChannelStatistics")
private DeliveryChannelStatistics deliveryChannelStatistics;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetDeliveryChannelStatisticsResponseBody(Builder builder) {
this.deliveryChannelStatistics = builder.deliveryChannelStatistics;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetDeliveryChannelStatisticsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deliveryChannelStatistics
*/
public DeliveryChannelStatistics getDeliveryChannelStatistics() {
return this.deliveryChannelStatistics;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private DeliveryChannelStatistics deliveryChannelStatistics;
private String requestId;
private Builder() {
}
private Builder(GetDeliveryChannelStatisticsResponseBody model) {
this.deliveryChannelStatistics = model.deliveryChannelStatistics;
this.requestId = model.requestId;
}
/**
* <p>The statistics on the delivery channel.</p>
*/
public Builder deliveryChannelStatistics(DeliveryChannelStatistics deliveryChannelStatistics) {
this.deliveryChannelStatistics = deliveryChannelStatistics;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>80DF0610-504C-56D7-BDCF-7C92FD687***</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetDeliveryChannelStatisticsResponseBody build() {
return new GetDeliveryChannelStatisticsResponseBody(this);
}
}
/**
*
* {@link GetDeliveryChannelStatisticsResponseBody} extends {@link TeaModel}
*
* <p>GetDeliveryChannelStatisticsResponseBody</p>
*/
public static class DeliveryChannelStatistics extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DeliveryChannelId")
private String deliveryChannelId;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelName")
private String deliveryChannelName;
@com.aliyun.core.annotation.NameInMap("LatestChangeDeliveryTime")
private String latestChangeDeliveryTime;
@com.aliyun.core.annotation.NameInMap("LatestSnapshotDeliveryTime")
private String latestSnapshotDeliveryTime;
private DeliveryChannelStatistics(Builder builder) {
this.deliveryChannelId = builder.deliveryChannelId;
this.deliveryChannelName = builder.deliveryChannelName;
this.latestChangeDeliveryTime = builder.latestChangeDeliveryTime;
this.latestSnapshotDeliveryTime = builder.latestSnapshotDeliveryTime;
}
public static Builder builder() {
return new Builder();
}
public static DeliveryChannelStatistics create() {
return builder().build();
}
/**
* @return deliveryChannelId
*/
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
/**
* @return deliveryChannelName
*/
public String getDeliveryChannelName() {
return this.deliveryChannelName;
}
/**
* @return latestChangeDeliveryTime
*/
public String getLatestChangeDeliveryTime() {
return this.latestChangeDeliveryTime;
}
/**
* @return latestSnapshotDeliveryTime
*/
public String getLatestSnapshotDeliveryTime() {
return this.latestSnapshotDeliveryTime;
}
public static final class Builder {
private String deliveryChannelId;
private String deliveryChannelName;
private String latestChangeDeliveryTime;
private String latestSnapshotDeliveryTime;
private Builder() {
}
private Builder(DeliveryChannelStatistics model) {
this.deliveryChannelId = model.deliveryChannelId;
this.deliveryChannelName = model.deliveryChannelName;
this.latestChangeDeliveryTime = model.latestChangeDeliveryTime;
this.latestSnapshotDeliveryTime = model.latestSnapshotDeliveryTime;
}
/**
* <p>The ID of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>dc-6q79dm4o9***</p>
*/
public Builder deliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
return this;
}
/**
* <p>The name of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>test-delivery-channel</p>
*/
public Builder deliveryChannelName(String deliveryChannelName) {
this.deliveryChannelName = deliveryChannelName;
return this;
}
/**
* <p>The last delivery time of resource configuration change events.</p>
*
* <strong>example:</strong>
* <p>2025-06-03T16:05:15Z</p>
*/
public Builder latestChangeDeliveryTime(String latestChangeDeliveryTime) {
this.latestChangeDeliveryTime = latestChangeDeliveryTime;
return this;
}
/**
* <p>The last delivery time of scheduled resource snapshots.</p>
*
* <strong>example:</strong>
* <p>2025-06-03T16:00:00Z</p>
*/
public Builder latestSnapshotDeliveryTime(String latestSnapshotDeliveryTime) {
this.latestSnapshotDeliveryTime = latestSnapshotDeliveryTime;
return this;
}
public DeliveryChannelStatistics build() {
return new DeliveryChannelStatistics(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetExampleQueryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetExampleQueryRequest} extends {@link RequestModel}
*
* <p>GetExampleQueryRequest</p>
*/
public class GetExampleQueryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("QueryId")
@com.aliyun.core.annotation.Validation(required = true)
private String queryId;
private GetExampleQueryRequest(Builder builder) {
super(builder);
this.queryId = builder.queryId;
}
public static Builder builder() {
return new Builder();
}
public static GetExampleQueryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return queryId
*/
public String getQueryId() {
return this.queryId;
}
public static final class Builder extends Request.Builder<GetExampleQueryRequest, Builder> {
private String queryId;
private Builder() {
super();
}
private Builder(GetExampleQueryRequest request) {
super(request);
this.queryId = request.queryId;
}
/**
* <p>The ID of the template.</p>
* <blockquote>
* <p> You can call the <a href="~~ListExampleQueries~~">ListExampleQueries</a> operation to obtain the template ID.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>sq-0PfKy****</p>
*/
public Builder queryId(String queryId) {
this.putQueryParameter("QueryId", queryId);
this.queryId = queryId;
return this;
}
@Override
public GetExampleQueryRequest build() {
return new GetExampleQueryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetExampleQueryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetExampleQueryResponse} extends {@link TeaModel}
*
* <p>GetExampleQueryResponse</p>
*/
public class GetExampleQueryResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetExampleQueryResponseBody body;
private GetExampleQueryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetExampleQueryResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetExampleQueryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetExampleQueryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetExampleQueryResponseBody body);
@Override
GetExampleQueryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetExampleQueryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetExampleQueryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetExampleQueryResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetExampleQueryResponseBody body) {
this.body = body;
return this;
}
@Override
public GetExampleQueryResponse build() {
return new GetExampleQueryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetExampleQueryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetExampleQueryResponseBody} extends {@link TeaModel}
*
* <p>GetExampleQueryResponseBody</p>
*/
public class GetExampleQueryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ExampleQuery")
private ExampleQuery exampleQuery;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetExampleQueryResponseBody(Builder builder) {
this.exampleQuery = builder.exampleQuery;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetExampleQueryResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return exampleQuery
*/
public ExampleQuery getExampleQuery() {
return this.exampleQuery;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private ExampleQuery exampleQuery;
private String requestId;
private Builder() {
}
private Builder(GetExampleQueryResponseBody model) {
this.exampleQuery = model.exampleQuery;
this.requestId = model.requestId;
}
/**
* <p>The information about the sample query template.</p>
*/
public Builder exampleQuery(ExampleQuery exampleQuery) {
this.exampleQuery = exampleQuery;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>36A3D9BE-B607-5993-B546-7E19EF65DC00</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetExampleQueryResponseBody build() {
return new GetExampleQueryResponseBody(this);
}
}
/**
*
* {@link GetExampleQueryResponseBody} extends {@link TeaModel}
*
* <p>GetExampleQueryResponseBody</p>
*/
public static class ExampleQuery extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Expression")
private String expression;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("QueryId")
private String queryId;
private ExampleQuery(Builder builder) {
this.description = builder.description;
this.expression = builder.expression;
this.name = builder.name;
this.queryId = builder.queryId;
}
public static Builder builder() {
return new Builder();
}
public static ExampleQuery create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return expression
*/
public String getExpression() {
return this.expression;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return queryId
*/
public String getQueryId() {
return this.queryId;
}
public static final class Builder {
private String description;
private String expression;
private String name;
private String queryId;
private Builder() {
}
private Builder(ExampleQuery model) {
this.description = model.description;
this.expression = model.expression;
this.name = model.name;
this.queryId = model.queryId;
}
/**
* <p>The description of the template.</p>
*
* <strong>example:</strong>
* <p>Queries all resources on which you have permissions and sorts the resources by resource type and resource ID.</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The query statement in the template.</p>
*
* <strong>example:</strong>
* <p>SELECT
* resource_id,
* resource_name,
* region_id,
* zone_id,
* resource_type,
* account_id,
* create_time,
* resource_group_id,
* tags,
* ip_addresses,
* vpc_id,
* v_switch_id
* FROM
* resources
* ORDER BY
* resource_type,
* resource_id
* LIMIT
* 1000 OFFSET 0;</p>
*/
public Builder expression(String expression) {
this.expression = expression;
return this;
}
/**
* <p>The name of the template.</p>
*
* <strong>example:</strong>
* <p>Query of All Alibaba Cloud Resources</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The ID of the template.</p>
*
* <strong>example:</strong>
* <p>sq-0PfKy****</p>
*/
public Builder queryId(String queryId) {
this.queryId = queryId;
return this;
}
public ExampleQuery build() {
return new ExampleQuery(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountDeliveryChannelRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountDeliveryChannelRequest} extends {@link RequestModel}
*
* <p>GetMultiAccountDeliveryChannelRequest</p>
*/
public class GetMultiAccountDeliveryChannelRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeliveryChannelId")
private String deliveryChannelId;
private GetMultiAccountDeliveryChannelRequest(Builder builder) {
super(builder);
this.deliveryChannelId = builder.deliveryChannelId;
}
public static Builder builder() {
return new Builder();
}
public static GetMultiAccountDeliveryChannelRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deliveryChannelId
*/
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
public static final class Builder extends Request.Builder<GetMultiAccountDeliveryChannelRequest, Builder> {
private String deliveryChannelId;
private Builder() {
super();
}
private Builder(GetMultiAccountDeliveryChannelRequest request) {
super(request);
this.deliveryChannelId = request.deliveryChannelId;
}
/**
* <p>The ID of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>dc-6q79dm4o9***</p>
*/
public Builder deliveryChannelId(String deliveryChannelId) {
this.putQueryParameter("DeliveryChannelId", deliveryChannelId);
this.deliveryChannelId = deliveryChannelId;
return this;
}
@Override
public GetMultiAccountDeliveryChannelRequest build() {
return new GetMultiAccountDeliveryChannelRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountDeliveryChannelResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountDeliveryChannelResponse} extends {@link TeaModel}
*
* <p>GetMultiAccountDeliveryChannelResponse</p>
*/
public class GetMultiAccountDeliveryChannelResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetMultiAccountDeliveryChannelResponseBody body;
private GetMultiAccountDeliveryChannelResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetMultiAccountDeliveryChannelResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetMultiAccountDeliveryChannelResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetMultiAccountDeliveryChannelResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetMultiAccountDeliveryChannelResponseBody body);
@Override
GetMultiAccountDeliveryChannelResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetMultiAccountDeliveryChannelResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetMultiAccountDeliveryChannelResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetMultiAccountDeliveryChannelResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetMultiAccountDeliveryChannelResponseBody body) {
this.body = body;
return this;
}
@Override
public GetMultiAccountDeliveryChannelResponse build() {
return new GetMultiAccountDeliveryChannelResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountDeliveryChannelResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountDeliveryChannelResponseBody</p>
*/
public class GetMultiAccountDeliveryChannelResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DeliveryChannelDescription")
private String deliveryChannelDescription;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelFilter")
private DeliveryChannelFilter deliveryChannelFilter;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelId")
private String deliveryChannelId;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelName")
private String deliveryChannelName;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceChangeDelivery")
private ResourceChangeDelivery resourceChangeDelivery;
@com.aliyun.core.annotation.NameInMap("ResourceSnapshotDelivery")
private ResourceSnapshotDelivery resourceSnapshotDelivery;
private GetMultiAccountDeliveryChannelResponseBody(Builder builder) {
this.deliveryChannelDescription = builder.deliveryChannelDescription;
this.deliveryChannelFilter = builder.deliveryChannelFilter;
this.deliveryChannelId = builder.deliveryChannelId;
this.deliveryChannelName = builder.deliveryChannelName;
this.requestId = builder.requestId;
this.resourceChangeDelivery = builder.resourceChangeDelivery;
this.resourceSnapshotDelivery = builder.resourceSnapshotDelivery;
}
public static Builder builder() {
return new Builder();
}
public static GetMultiAccountDeliveryChannelResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deliveryChannelDescription
*/
public String getDeliveryChannelDescription() {
return this.deliveryChannelDescription;
}
/**
* @return deliveryChannelFilter
*/
public DeliveryChannelFilter getDeliveryChannelFilter() {
return this.deliveryChannelFilter;
}
/**
* @return deliveryChannelId
*/
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
/**
* @return deliveryChannelName
*/
public String getDeliveryChannelName() {
return this.deliveryChannelName;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceChangeDelivery
*/
public ResourceChangeDelivery getResourceChangeDelivery() {
return this.resourceChangeDelivery;
}
/**
* @return resourceSnapshotDelivery
*/
public ResourceSnapshotDelivery getResourceSnapshotDelivery() {
return this.resourceSnapshotDelivery;
}
public static final class Builder {
private String deliveryChannelDescription;
private DeliveryChannelFilter deliveryChannelFilter;
private String deliveryChannelId;
private String deliveryChannelName;
private String requestId;
private ResourceChangeDelivery resourceChangeDelivery;
private ResourceSnapshotDelivery resourceSnapshotDelivery;
private Builder() {
}
private Builder(GetMultiAccountDeliveryChannelResponseBody model) {
this.deliveryChannelDescription = model.deliveryChannelDescription;
this.deliveryChannelFilter = model.deliveryChannelFilter;
this.deliveryChannelId = model.deliveryChannelId;
this.deliveryChannelName = model.deliveryChannelName;
this.requestId = model.requestId;
this.resourceChangeDelivery = model.resourceChangeDelivery;
this.resourceSnapshotDelivery = model.resourceSnapshotDelivery;
}
/**
* <p>The description of the delivery channel.</p>
*/
public Builder deliveryChannelDescription(String deliveryChannelDescription) {
this.deliveryChannelDescription = deliveryChannelDescription;
return this;
}
/**
* <p>The effective scope of the delivery channel.</p>
*/
public Builder deliveryChannelFilter(DeliveryChannelFilter deliveryChannelFilter) {
this.deliveryChannelFilter = deliveryChannelFilter;
return this;
}
/**
* <p>The ID of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>dc-6q79dm4o9***</p>
*/
public Builder deliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
return this;
}
/**
* <p>The name of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>test-delivery-channel</p>
*/
public Builder deliveryChannelName(String deliveryChannelName) {
this.deliveryChannelName = deliveryChannelName;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>FE3EAB47-D3A6-5FEA-8353-31C8C0D36***</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The configurations for delivery of resource configuration change events.</p>
*/
public Builder resourceChangeDelivery(ResourceChangeDelivery resourceChangeDelivery) {
this.resourceChangeDelivery = resourceChangeDelivery;
return this;
}
/**
* <p>The configurations for delivery of scheduled resource snapshots.</p>
*/
public Builder resourceSnapshotDelivery(ResourceSnapshotDelivery resourceSnapshotDelivery) {
this.resourceSnapshotDelivery = resourceSnapshotDelivery;
return this;
}
public GetMultiAccountDeliveryChannelResponseBody build() {
return new GetMultiAccountDeliveryChannelResponseBody(this);
}
}
/**
*
* {@link GetMultiAccountDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountDeliveryChannelResponseBody</p>
*/
public static class DeliveryChannelFilter extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountScopes")
private java.util.List<String> accountScopes;
@com.aliyun.core.annotation.NameInMap("ResourceTypes")
private java.util.List<String> resourceTypes;
private DeliveryChannelFilter(Builder builder) {
this.accountScopes = builder.accountScopes;
this.resourceTypes = builder.resourceTypes;
}
public static Builder builder() {
return new Builder();
}
public static DeliveryChannelFilter create() {
return builder().build();
}
/**
* @return accountScopes
*/
public java.util.List<String> getAccountScopes() {
return this.accountScopes;
}
/**
* @return resourceTypes
*/
public java.util.List<String> getResourceTypes() {
return this.resourceTypes;
}
public static final class Builder {
private java.util.List<String> accountScopes;
private java.util.List<String> resourceTypes;
private Builder() {
}
private Builder(DeliveryChannelFilter model) {
this.accountScopes = model.accountScopes;
this.resourceTypes = model.resourceTypes;
}
/**
* <p>The effective account scopes of the delivery channel.</p>
*/
public Builder accountScopes(java.util.List<String> accountScopes) {
this.accountScopes = accountScopes;
return this;
}
/**
* <p>The effective resource types of the delivery channel.</p>
*/
public Builder resourceTypes(java.util.List<String> resourceTypes) {
this.resourceTypes = resourceTypes;
return this;
}
public DeliveryChannelFilter build() {
return new DeliveryChannelFilter(this);
}
}
}
/**
*
* {@link GetMultiAccountDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountDeliveryChannelResponseBody</p>
*/
public static class SlsProperties extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OversizedDataOssTargetArn")
private String oversizedDataOssTargetArn;
private SlsProperties(Builder builder) {
this.oversizedDataOssTargetArn = builder.oversizedDataOssTargetArn;
}
public static Builder builder() {
return new Builder();
}
public static SlsProperties create() {
return builder().build();
}
/**
* @return oversizedDataOssTargetArn
*/
public String getOversizedDataOssTargetArn() {
return this.oversizedDataOssTargetArn;
}
public static final class Builder {
private String oversizedDataOssTargetArn;
private Builder() {
}
private Builder(SlsProperties model) {
this.oversizedDataOssTargetArn = model.oversizedDataOssTargetArn;
}
/**
* <p>The Alibaba Cloud Resource Name (ARN) of the destination to which large files are delivered.</p>
*
* <strong>example:</strong>
* <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p>
*/
public Builder oversizedDataOssTargetArn(String oversizedDataOssTargetArn) {
this.oversizedDataOssTargetArn = oversizedDataOssTargetArn;
return this;
}
public SlsProperties build() {
return new SlsProperties(this);
}
}
}
/**
*
* {@link GetMultiAccountDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountDeliveryChannelResponseBody</p>
*/
public static class ResourceChangeDelivery extends TeaModel {
@com.aliyun.core.annotation.NameInMap("SlsProperties")
private SlsProperties slsProperties;
@com.aliyun.core.annotation.NameInMap("TargetArn")
private String targetArn;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private ResourceChangeDelivery(Builder builder) {
this.slsProperties = builder.slsProperties;
this.targetArn = builder.targetArn;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static ResourceChangeDelivery create() {
return builder().build();
}
/**
* @return slsProperties
*/
public SlsProperties getSlsProperties() {
return this.slsProperties;
}
/**
* @return targetArn
*/
public String getTargetArn() {
return this.targetArn;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private SlsProperties slsProperties;
private String targetArn;
private String targetType;
private Builder() {
}
private Builder(ResourceChangeDelivery model) {
this.slsProperties = model.slsProperties;
this.targetArn = model.targetArn;
this.targetType = model.targetType;
}
/**
* <p>The Simple Log Service configurations.</p>
*/
public Builder slsProperties(SlsProperties slsProperties) {
this.slsProperties = slsProperties;
return this;
}
/**
* <p>The ARN of the delivery destination.</p>
*
* <strong>example:</strong>
* <p>acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls</p>
*/
public Builder targetArn(String targetArn) {
this.targetArn = targetArn;
return this;
}
/**
* <p>The type of the destination.</p>
*
* <strong>example:</strong>
* <p>SLS</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public ResourceChangeDelivery build() {
return new ResourceChangeDelivery(this);
}
}
}
/**
*
* {@link GetMultiAccountDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountDeliveryChannelResponseBody</p>
*/
public static class ResourceSnapshotDeliverySlsProperties extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OversizedDataOssTargetArn")
private String oversizedDataOssTargetArn;
private ResourceSnapshotDeliverySlsProperties(Builder builder) {
this.oversizedDataOssTargetArn = builder.oversizedDataOssTargetArn;
}
public static Builder builder() {
return new Builder();
}
public static ResourceSnapshotDeliverySlsProperties create() {
return builder().build();
}
/**
* @return oversizedDataOssTargetArn
*/
public String getOversizedDataOssTargetArn() {
return this.oversizedDataOssTargetArn;
}
public static final class Builder {
private String oversizedDataOssTargetArn;
private Builder() {
}
private Builder(ResourceSnapshotDeliverySlsProperties model) {
this.oversizedDataOssTargetArn = model.oversizedDataOssTargetArn;
}
/**
* <p>The ARN of the destination to which large files are delivered.</p>
*
* <strong>example:</strong>
* <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p>
*/
public Builder oversizedDataOssTargetArn(String oversizedDataOssTargetArn) {
this.oversizedDataOssTargetArn = oversizedDataOssTargetArn;
return this;
}
public ResourceSnapshotDeliverySlsProperties build() {
return new ResourceSnapshotDeliverySlsProperties(this);
}
}
}
/**
*
* {@link GetMultiAccountDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountDeliveryChannelResponseBody</p>
*/
public static class ResourceSnapshotDelivery extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CustomExpression")
private String customExpression;
@com.aliyun.core.annotation.NameInMap("DeliveryTime")
private String deliveryTime;
@com.aliyun.core.annotation.NameInMap("SlsProperties")
private ResourceSnapshotDeliverySlsProperties slsProperties;
@com.aliyun.core.annotation.NameInMap("TargetArn")
private String targetArn;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private ResourceSnapshotDelivery(Builder builder) {
this.customExpression = builder.customExpression;
this.deliveryTime = builder.deliveryTime;
this.slsProperties = builder.slsProperties;
this.targetArn = builder.targetArn;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static ResourceSnapshotDelivery create() {
return builder().build();
}
/**
* @return customExpression
*/
public String getCustomExpression() {
return this.customExpression;
}
/**
* @return deliveryTime
*/
public String getDeliveryTime() {
return this.deliveryTime;
}
/**
* @return slsProperties
*/
public ResourceSnapshotDeliverySlsProperties getSlsProperties() {
return this.slsProperties;
}
/**
* @return targetArn
*/
public String getTargetArn() {
return this.targetArn;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String customExpression;
private String deliveryTime;
private ResourceSnapshotDeliverySlsProperties slsProperties;
private String targetArn;
private String targetType;
private Builder() {
}
private Builder(ResourceSnapshotDelivery model) {
this.customExpression = model.customExpression;
this.deliveryTime = model.deliveryTime;
this.slsProperties = model.slsProperties;
this.targetArn = model.targetArn;
this.targetType = model.targetType;
}
/**
* <p>The custom expression.</p>
*
* <strong>example:</strong>
* <p>select * from resources limit 100;</p>
*/
public Builder customExpression(String customExpression) {
this.customExpression = customExpression;
return this;
}
/**
* <p>The delivery time.</p>
*
* <strong>example:</strong>
* <p>09:00Z</p>
*/
public Builder deliveryTime(String deliveryTime) {
this.deliveryTime = deliveryTime;
return this;
}
/**
* <p>The Simple Log Service configurations.</p>
*/
public Builder slsProperties(ResourceSnapshotDeliverySlsProperties slsProperties) {
this.slsProperties = slsProperties;
return this;
}
/**
* <p>The ARN of the delivery destination.</p>
*
* <strong>example:</strong>
* <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p>
*/
public Builder targetArn(String targetArn) {
this.targetArn = targetArn;
return this;
}
/**
* <p>The type of the destination.</p>
*
* <strong>example:</strong>
* <p>OSS</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public ResourceSnapshotDelivery build() {
return new ResourceSnapshotDelivery(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountDeliveryChannelStatisticsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountDeliveryChannelStatisticsRequest} extends {@link RequestModel}
*
* <p>GetMultiAccountDeliveryChannelStatisticsRequest</p>
*/
public class GetMultiAccountDeliveryChannelStatisticsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeliveryChannelId")
@com.aliyun.core.annotation.Validation(required = true)
private String deliveryChannelId;
private GetMultiAccountDeliveryChannelStatisticsRequest(Builder builder) {
super(builder);
this.deliveryChannelId = builder.deliveryChannelId;
}
public static Builder builder() {
return new Builder();
}
public static GetMultiAccountDeliveryChannelStatisticsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deliveryChannelId
*/
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
public static final class Builder extends Request.Builder<GetMultiAccountDeliveryChannelStatisticsRequest, Builder> {
private String deliveryChannelId;
private Builder() {
super();
}
private Builder(GetMultiAccountDeliveryChannelStatisticsRequest request) {
super(request);
this.deliveryChannelId = request.deliveryChannelId;
}
/**
* <p>The ID of the delivery channel.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>dc-6q79dm4o9***</p>
*/
public Builder deliveryChannelId(String deliveryChannelId) {
this.putQueryParameter("DeliveryChannelId", deliveryChannelId);
this.deliveryChannelId = deliveryChannelId;
return this;
}
@Override
public GetMultiAccountDeliveryChannelStatisticsRequest build() {
return new GetMultiAccountDeliveryChannelStatisticsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountDeliveryChannelStatisticsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountDeliveryChannelStatisticsResponse} extends {@link TeaModel}
*
* <p>GetMultiAccountDeliveryChannelStatisticsResponse</p>
*/
public class GetMultiAccountDeliveryChannelStatisticsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetMultiAccountDeliveryChannelStatisticsResponseBody body;
private GetMultiAccountDeliveryChannelStatisticsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetMultiAccountDeliveryChannelStatisticsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetMultiAccountDeliveryChannelStatisticsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetMultiAccountDeliveryChannelStatisticsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetMultiAccountDeliveryChannelStatisticsResponseBody body);
@Override
GetMultiAccountDeliveryChannelStatisticsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetMultiAccountDeliveryChannelStatisticsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetMultiAccountDeliveryChannelStatisticsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetMultiAccountDeliveryChannelStatisticsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetMultiAccountDeliveryChannelStatisticsResponseBody body) {
this.body = body;
return this;
}
@Override
public GetMultiAccountDeliveryChannelStatisticsResponse build() {
return new GetMultiAccountDeliveryChannelStatisticsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountDeliveryChannelStatisticsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountDeliveryChannelStatisticsResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountDeliveryChannelStatisticsResponseBody</p>
*/
public class GetMultiAccountDeliveryChannelStatisticsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DeliveryChannelStatistics")
private DeliveryChannelStatistics deliveryChannelStatistics;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetMultiAccountDeliveryChannelStatisticsResponseBody(Builder builder) {
this.deliveryChannelStatistics = builder.deliveryChannelStatistics;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetMultiAccountDeliveryChannelStatisticsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deliveryChannelStatistics
*/
public DeliveryChannelStatistics getDeliveryChannelStatistics() {
return this.deliveryChannelStatistics;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private DeliveryChannelStatistics deliveryChannelStatistics;
private String requestId;
private Builder() {
}
private Builder(GetMultiAccountDeliveryChannelStatisticsResponseBody model) {
this.deliveryChannelStatistics = model.deliveryChannelStatistics;
this.requestId = model.requestId;
}
/**
* <p>The statistics on the delivery channel.</p>
*/
public Builder deliveryChannelStatistics(DeliveryChannelStatistics deliveryChannelStatistics) {
this.deliveryChannelStatistics = deliveryChannelStatistics;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>80DF0610-504C-56D7-BDCF-7C92FD687***</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetMultiAccountDeliveryChannelStatisticsResponseBody build() {
return new GetMultiAccountDeliveryChannelStatisticsResponseBody(this);
}
}
/**
*
* {@link GetMultiAccountDeliveryChannelStatisticsResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountDeliveryChannelStatisticsResponseBody</p>
*/
public static class DeliveryChannelStatistics extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DeliveryChannelId")
private String deliveryChannelId;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelName")
private String deliveryChannelName;
@com.aliyun.core.annotation.NameInMap("LatestChangeDeliveryTime")
private String latestChangeDeliveryTime;
@com.aliyun.core.annotation.NameInMap("LatestSnapshotDeliveryTime")
private String latestSnapshotDeliveryTime;
private DeliveryChannelStatistics(Builder builder) {
this.deliveryChannelId = builder.deliveryChannelId;
this.deliveryChannelName = builder.deliveryChannelName;
this.latestChangeDeliveryTime = builder.latestChangeDeliveryTime;
this.latestSnapshotDeliveryTime = builder.latestSnapshotDeliveryTime;
}
public static Builder builder() {
return new Builder();
}
public static DeliveryChannelStatistics create() {
return builder().build();
}
/**
* @return deliveryChannelId
*/
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
/**
* @return deliveryChannelName
*/
public String getDeliveryChannelName() {
return this.deliveryChannelName;
}
/**
* @return latestChangeDeliveryTime
*/
public String getLatestChangeDeliveryTime() {
return this.latestChangeDeliveryTime;
}
/**
* @return latestSnapshotDeliveryTime
*/
public String getLatestSnapshotDeliveryTime() {
return this.latestSnapshotDeliveryTime;
}
public static final class Builder {
private String deliveryChannelId;
private String deliveryChannelName;
private String latestChangeDeliveryTime;
private String latestSnapshotDeliveryTime;
private Builder() {
}
private Builder(DeliveryChannelStatistics model) {
this.deliveryChannelId = model.deliveryChannelId;
this.deliveryChannelName = model.deliveryChannelName;
this.latestChangeDeliveryTime = model.latestChangeDeliveryTime;
this.latestSnapshotDeliveryTime = model.latestSnapshotDeliveryTime;
}
/**
* <p>The ID of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>dc-6q79dm4o9***</p>
*/
public Builder deliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
return this;
}
/**
* <p>The name of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>test-multi-account-delivery</p>
*/
public Builder deliveryChannelName(String deliveryChannelName) {
this.deliveryChannelName = deliveryChannelName;
return this;
}
/**
* <p>The last delivery time of resource configuration change events.</p>
*
* <strong>example:</strong>
* <p>2025-06-03T16:05:15Z</p>
*/
public Builder latestChangeDeliveryTime(String latestChangeDeliveryTime) {
this.latestChangeDeliveryTime = latestChangeDeliveryTime;
return this;
}
/**
* <p>The last delivery time of scheduled resource snapshots.</p>
*
* <strong>example:</strong>
* <p>2025-06-03T16:00:00Z</p>
*/
public Builder latestSnapshotDeliveryTime(String latestSnapshotDeliveryTime) {
this.latestSnapshotDeliveryTime = latestSnapshotDeliveryTime;
return this;
}
public DeliveryChannelStatistics build() {
return new DeliveryChannelStatistics(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountResourceCenterServiceStatusRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountResourceCenterServiceStatusRequest} extends {@link RequestModel}
*
* <p>GetMultiAccountResourceCenterServiceStatusRequest</p>
*/
public class GetMultiAccountResourceCenterServiceStatusRequest extends Request {
private GetMultiAccountResourceCenterServiceStatusRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static GetMultiAccountResourceCenterServiceStatusRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<GetMultiAccountResourceCenterServiceStatusRequest, Builder> {
private Builder() {
super();
}
private Builder(GetMultiAccountResourceCenterServiceStatusRequest request) {
super(request);
}
@Override
public GetMultiAccountResourceCenterServiceStatusRequest build() {
return new GetMultiAccountResourceCenterServiceStatusRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountResourceCenterServiceStatusResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountResourceCenterServiceStatusResponse} extends {@link TeaModel}
*
* <p>GetMultiAccountResourceCenterServiceStatusResponse</p>
*/
public class GetMultiAccountResourceCenterServiceStatusResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetMultiAccountResourceCenterServiceStatusResponseBody body;
private GetMultiAccountResourceCenterServiceStatusResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetMultiAccountResourceCenterServiceStatusResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetMultiAccountResourceCenterServiceStatusResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetMultiAccountResourceCenterServiceStatusResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetMultiAccountResourceCenterServiceStatusResponseBody body);
@Override
GetMultiAccountResourceCenterServiceStatusResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetMultiAccountResourceCenterServiceStatusResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetMultiAccountResourceCenterServiceStatusResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetMultiAccountResourceCenterServiceStatusResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetMultiAccountResourceCenterServiceStatusResponseBody body) {
this.body = body;
return this;
}
@Override
public GetMultiAccountResourceCenterServiceStatusResponse build() {
return new GetMultiAccountResourceCenterServiceStatusResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountResourceCenterServiceStatusResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountResourceCenterServiceStatusResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountResourceCenterServiceStatusResponseBody</p>
*/
public class GetMultiAccountResourceCenterServiceStatusResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("InitialStatus")
private String initialStatus;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ServiceStatus")
private String serviceStatus;
private GetMultiAccountResourceCenterServiceStatusResponseBody(Builder builder) {
this.initialStatus = builder.initialStatus;
this.requestId = builder.requestId;
this.serviceStatus = builder.serviceStatus;
}
public static Builder builder() {
return new Builder();
}
public static GetMultiAccountResourceCenterServiceStatusResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return initialStatus
*/
public String getInitialStatus() {
return this.initialStatus;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return serviceStatus
*/
public String getServiceStatus() {
return this.serviceStatus;
}
public static final class Builder {
private String initialStatus;
private String requestId;
private String serviceStatus;
private Builder() {
}
private Builder(GetMultiAccountResourceCenterServiceStatusResponseBody model) {
this.initialStatus = model.initialStatus;
this.requestId = model.requestId;
this.serviceStatus = model.serviceStatus;
}
/**
* <p>The initialization status of the feature. Valid values:</p>
* <ul>
* <li>Pending: The feature is being initialized.</li>
* <li>Finished: The feature is initialized.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Pending</p>
*/
public Builder initialStatus(String initialStatus) {
this.initialStatus = initialStatus;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>81671397-1425-51F1-A144-4799E01BEBFF</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The status of the feature. Valid values:</p>
* <ul>
* <li>Enabled: The feature is enabled.</li>
* <li>Disabled: The feature is disabled.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Enabled</p>
*/
public Builder serviceStatus(String serviceStatus) {
this.serviceStatus = serviceStatus;
return this;
}
public GetMultiAccountResourceCenterServiceStatusResponseBody build() {
return new GetMultiAccountResourceCenterServiceStatusResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountResourceConfigurationRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountResourceConfigurationRequest} extends {@link RequestModel}
*
* <p>GetMultiAccountResourceConfigurationRequest</p>
*/
public class GetMultiAccountResourceConfigurationRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceId")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceRegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceRegionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceType;
private GetMultiAccountResourceConfigurationRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
this.resourceId = builder.resourceId;
this.resourceRegionId = builder.resourceRegionId;
this.resourceType = builder.resourceType;
}
public static Builder builder() {
return new Builder();
}
public static GetMultiAccountResourceConfigurationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceRegionId
*/
public String getResourceRegionId() {
return this.resourceRegionId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
public static final class Builder extends Request.Builder<GetMultiAccountResourceConfigurationRequest, Builder> {
private String accountId;
private String resourceId;
private String resourceRegionId;
private String resourceType;
private Builder() {
super();
}
private Builder(GetMultiAccountResourceConfigurationRequest request) {
super(request);
this.accountId = request.accountId;
this.resourceId = request.resourceId;
this.resourceRegionId = request.resourceRegionId;
this.resourceType = request.resourceType;
}
/**
* <p>The ID of the management account or member of the resource directory.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1619302****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
/**
* <p>The ID of the resource.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>m-eb3hji****</p>
*/
public Builder resourceId(String resourceId) {
this.putQueryParameter("ResourceId", resourceId);
this.resourceId = resourceId;
return this;
}
/**
* <p>The region ID of the resource.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder resourceRegionId(String resourceRegionId) {
this.putQueryParameter("ResourceRegionId", resourceRegionId);
this.resourceRegionId = resourceRegionId;
return this;
}
/**
* <p>The type of the resource.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ACS::VPC::RouteTable</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
@Override
public GetMultiAccountResourceConfigurationRequest build() {
return new GetMultiAccountResourceConfigurationRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountResourceConfigurationResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountResourceConfigurationResponse} extends {@link TeaModel}
*
* <p>GetMultiAccountResourceConfigurationResponse</p>
*/
public class GetMultiAccountResourceConfigurationResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetMultiAccountResourceConfigurationResponseBody body;
private GetMultiAccountResourceConfigurationResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetMultiAccountResourceConfigurationResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetMultiAccountResourceConfigurationResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetMultiAccountResourceConfigurationResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetMultiAccountResourceConfigurationResponseBody body);
@Override
GetMultiAccountResourceConfigurationResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetMultiAccountResourceConfigurationResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetMultiAccountResourceConfigurationResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetMultiAccountResourceConfigurationResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetMultiAccountResourceConfigurationResponseBody body) {
this.body = body;
return this;
}
@Override
public GetMultiAccountResourceConfigurationResponse build() {
return new GetMultiAccountResourceConfigurationResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountResourceConfigurationResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountResourceConfigurationResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountResourceConfigurationResponseBody</p>
*/
public class GetMultiAccountResourceConfigurationResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("Configuration")
private java.util.Map<String, ?> configuration;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("ExpireTime")
private String expireTime;
@com.aliyun.core.annotation.NameInMap("IpAddressAttributes")
private java.util.List<IpAddressAttributes> ipAddressAttributes;
@com.aliyun.core.annotation.NameInMap("IpAddresses")
private java.util.List<String> ipAddresses;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.NameInMap("ResourceId")
private String resourceId;
@com.aliyun.core.annotation.NameInMap("ResourceName")
private String resourceName;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("Tags")
private java.util.List<Tags> tags;
@com.aliyun.core.annotation.NameInMap("ZoneId")
private String zoneId;
private GetMultiAccountResourceConfigurationResponseBody(Builder builder) {
this.accountId = builder.accountId;
this.configuration = builder.configuration;
this.createTime = builder.createTime;
this.expireTime = builder.expireTime;
this.ipAddressAttributes = builder.ipAddressAttributes;
this.ipAddresses = builder.ipAddresses;
this.regionId = builder.regionId;
this.requestId = builder.requestId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceId = builder.resourceId;
this.resourceName = builder.resourceName;
this.resourceType = builder.resourceType;
this.tags = builder.tags;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static GetMultiAccountResourceConfigurationResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return configuration
*/
public java.util.Map<String, ?> getConfiguration() {
return this.configuration;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return expireTime
*/
public String getExpireTime() {
return this.expireTime;
}
/**
* @return ipAddressAttributes
*/
public java.util.List<IpAddressAttributes> getIpAddressAttributes() {
return this.ipAddressAttributes;
}
/**
* @return ipAddresses
*/
public java.util.List<String> getIpAddresses() {
return this.ipAddresses;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceName
*/
public String getResourceName() {
return this.resourceName;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder {
private String accountId;
private java.util.Map<String, ?> configuration;
private String createTime;
private String expireTime;
private java.util.List<IpAddressAttributes> ipAddressAttributes;
private java.util.List<String> ipAddresses;
private String regionId;
private String requestId;
private String resourceGroupId;
private String resourceId;
private String resourceName;
private String resourceType;
private java.util.List<Tags> tags;
private String zoneId;
private Builder() {
}
private Builder(GetMultiAccountResourceConfigurationResponseBody model) {
this.accountId = model.accountId;
this.configuration = model.configuration;
this.createTime = model.createTime;
this.expireTime = model.expireTime;
this.ipAddressAttributes = model.ipAddressAttributes;
this.ipAddresses = model.ipAddresses;
this.regionId = model.regionId;
this.requestId = model.requestId;
this.resourceGroupId = model.resourceGroupId;
this.resourceId = model.resourceId;
this.resourceName = model.resourceName;
this.resourceType = model.resourceType;
this.tags = model.tags;
this.zoneId = model.zoneId;
}
/**
* <p>The ID of the management account or member of the resource directory.</p>
*
* <strong>example:</strong>
* <p>1619302****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The configurations of the resource.</p>
*/
public Builder configuration(java.util.Map<String, ?> configuration) {
this.configuration = configuration;
return this;
}
/**
* <p>The time when the resource was created.</p>
*
* <strong>example:</strong>
* <p>2023-02-14T03:12:11Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The time when the resource expires.</p>
*
* <strong>example:</strong>
* <p>2023-09-18T07:04:21Z</p>
*/
public Builder expireTime(String expireTime) {
this.expireTime = expireTime;
return this;
}
/**
* <p>The attributes of the IP address.</p>
*/
public Builder ipAddressAttributes(java.util.List<IpAddressAttributes> ipAddressAttributes) {
this.ipAddressAttributes = ipAddressAttributes;
return this;
}
/**
* <p>The IP addresses.</p>
* <blockquote>
* <p>Whether this parameter is returned is determined by the Alibaba Cloud service to which the resource belongs.</p>
* </blockquote>
*/
public Builder ipAddresses(java.util.List<String> ipAddresses) {
this.ipAddresses = ipAddresses;
return this;
}
/**
* <p>The region ID of the resource.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>B2DCC08B-C12A-5705-879C-5A1450016156</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The ID of the resource group to which the resource belongs.</p>
*
* <strong>example:</strong>
* <p>rg-acfmzy6d****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The ID of the resource.</p>
*
* <strong>example:</strong>
* <p>m-eb3hji****</p>
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* <p>The name of the resource.</p>
*
* <strong>example:</strong>
* <p>test_resource</p>
*/
public Builder resourceName(String resourceName) {
this.resourceName = resourceName;
return this;
}
/**
* <p>The type of the resource.</p>
*
* <strong>example:</strong>
* <p>ACS::VPC::RouteTable</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* <p>The tags of the resource.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
this.tags = tags;
return this;
}
/**
* <p>The zone ID of the resource.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai-a</p>
*/
public Builder zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public GetMultiAccountResourceConfigurationResponseBody build() {
return new GetMultiAccountResourceConfigurationResponseBody(this);
}
}
/**
*
* {@link GetMultiAccountResourceConfigurationResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountResourceConfigurationResponseBody</p>
*/
public static class IpAddressAttributes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("IpAddress")
private String ipAddress;
@com.aliyun.core.annotation.NameInMap("NetworkType")
private String networkType;
@com.aliyun.core.annotation.NameInMap("Version")
private String version;
private IpAddressAttributes(Builder builder) {
this.ipAddress = builder.ipAddress;
this.networkType = builder.networkType;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static IpAddressAttributes create() {
return builder().build();
}
/**
* @return ipAddress
*/
public String getIpAddress() {
return this.ipAddress;
}
/**
* @return networkType
*/
public String getNetworkType() {
return this.networkType;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder {
private String ipAddress;
private String networkType;
private String version;
private Builder() {
}
private Builder(IpAddressAttributes model) {
this.ipAddress = model.ipAddress;
this.networkType = model.networkType;
this.version = model.version;
}
/**
* <p>The IP address.</p>
*
* <strong>example:</strong>
* <p>172.27.199.42</p>
*/
public Builder ipAddress(String ipAddress) {
this.ipAddress = ipAddress;
return this;
}
/**
* <p>The network type. Valid values:</p>
* <ul>
* <li><strong>Public</strong>: the Internet</li>
* <li><strong>Private</strong>: internal network</li>
* </ul>
*
* <strong>example:</strong>
* <p>Public</p>
*/
public Builder networkType(String networkType) {
this.networkType = networkType;
return this;
}
/**
* <p>The version.</p>
*
* <strong>example:</strong>
* <p>Ipv4</p>
*/
public Builder version(String version) {
this.version = version;
return this;
}
public IpAddressAttributes build() {
return new IpAddressAttributes(this);
}
}
}
/**
*
* {@link GetMultiAccountResourceConfigurationResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountResourceConfigurationResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tags(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tags 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;
private Builder() {
}
private Builder(Tags model) {
this.key = model.key;
this.value = model.value;
}
/**
* <p>The key of tag N.</p>
*
* <strong>example:</strong>
* <p>tag-key</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The value of tag N.</p>
*
* <strong>example:</strong>
* <p>tag-value</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountResourceCountsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountResourceCountsRequest} extends {@link RequestModel}
*
* <p>GetMultiAccountResourceCountsRequest</p>
*/
public class GetMultiAccountResourceCountsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Filter")
private java.util.List<Filter> filter;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("GroupByKey")
private String groupByKey;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Scope")
private String scope;
private GetMultiAccountResourceCountsRequest(Builder builder) {
super(builder);
this.filter = builder.filter;
this.groupByKey = builder.groupByKey;
this.scope = builder.scope;
}
public static Builder builder() {
return new Builder();
}
public static GetMultiAccountResourceCountsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return filter
*/
public java.util.List<Filter> getFilter() {
return this.filter;
}
/**
* @return groupByKey
*/
public String getGroupByKey() {
return this.groupByKey;
}
/**
* @return scope
*/
public String getScope() {
return this.scope;
}
public static final class Builder extends Request.Builder<GetMultiAccountResourceCountsRequest, Builder> {
private java.util.List<Filter> filter;
private String groupByKey;
private String scope;
private Builder() {
super();
}
private Builder(GetMultiAccountResourceCountsRequest request) {
super(request);
this.filter = request.filter;
this.groupByKey = request.groupByKey;
this.scope = request.scope;
}
/**
* Filter.
*/
public Builder filter(java.util.List<Filter> filter) {
this.putQueryParameter("Filter", filter);
this.filter = filter;
return this;
}
/**
* GroupByKey.
*/
public Builder groupByKey(String groupByKey) {
this.putQueryParameter("GroupByKey", groupByKey);
this.groupByKey = groupByKey;
return this;
}
/**
* Scope.
*/
public Builder scope(String scope) {
this.putQueryParameter("Scope", scope);
this.scope = scope;
return this;
}
@Override
public GetMultiAccountResourceCountsRequest build() {
return new GetMultiAccountResourceCountsRequest(this);
}
}
/**
*
* {@link GetMultiAccountResourceCountsRequest} extends {@link TeaModel}
*
* <p>GetMultiAccountResourceCountsRequest</p>
*/
public static class Filter extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("MatchType")
private String matchType;
@com.aliyun.core.annotation.NameInMap("Value")
private java.util.List<String> value;
private Filter(Builder builder) {
this.key = builder.key;
this.matchType = builder.matchType;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Filter create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return matchType
*/
public String getMatchType() {
return this.matchType;
}
/**
* @return value
*/
public java.util.List<String> getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String matchType;
private java.util.List<String> value;
private Builder() {
}
private Builder(Filter model) {
this.key = model.key;
this.matchType = model.matchType;
this.value = model.value;
}
/**
* Key.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* MatchType.
*/
public Builder matchType(String matchType) {
this.matchType = matchType;
return this;
}
/**
* Value.
*/
public Builder value(java.util.List<String> value) {
this.value = value;
return this;
}
public Filter build() {
return new Filter(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountResourceCountsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountResourceCountsResponse} extends {@link TeaModel}
*
* <p>GetMultiAccountResourceCountsResponse</p>
*/
public class GetMultiAccountResourceCountsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetMultiAccountResourceCountsResponseBody body;
private GetMultiAccountResourceCountsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetMultiAccountResourceCountsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetMultiAccountResourceCountsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetMultiAccountResourceCountsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetMultiAccountResourceCountsResponseBody body);
@Override
GetMultiAccountResourceCountsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetMultiAccountResourceCountsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetMultiAccountResourceCountsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetMultiAccountResourceCountsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetMultiAccountResourceCountsResponseBody body) {
this.body = body;
return this;
}
@Override
public GetMultiAccountResourceCountsResponse build() {
return new GetMultiAccountResourceCountsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetMultiAccountResourceCountsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetMultiAccountResourceCountsResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountResourceCountsResponseBody</p>
*/
public class GetMultiAccountResourceCountsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Filters")
private java.util.List<Filters> filters;
@com.aliyun.core.annotation.NameInMap("GroupByKey")
private String groupByKey;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceCounts")
private java.util.List<ResourceCounts> resourceCounts;
@com.aliyun.core.annotation.NameInMap("Scope")
private String scope;
private GetMultiAccountResourceCountsResponseBody(Builder builder) {
this.filters = builder.filters;
this.groupByKey = builder.groupByKey;
this.requestId = builder.requestId;
this.resourceCounts = builder.resourceCounts;
this.scope = builder.scope;
}
public static Builder builder() {
return new Builder();
}
public static GetMultiAccountResourceCountsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return filters
*/
public java.util.List<Filters> getFilters() {
return this.filters;
}
/**
* @return groupByKey
*/
public String getGroupByKey() {
return this.groupByKey;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceCounts
*/
public java.util.List<ResourceCounts> getResourceCounts() {
return this.resourceCounts;
}
/**
* @return scope
*/
public String getScope() {
return this.scope;
}
public static final class Builder {
private java.util.List<Filters> filters;
private String groupByKey;
private String requestId;
private java.util.List<ResourceCounts> resourceCounts;
private String scope;
private Builder() {
}
private Builder(GetMultiAccountResourceCountsResponseBody model) {
this.filters = model.filters;
this.groupByKey = model.groupByKey;
this.requestId = model.requestId;
this.resourceCounts = model.resourceCounts;
this.scope = model.scope;
}
/**
* Filters.
*/
public Builder filters(java.util.List<Filters> filters) {
this.filters = filters;
return this;
}
/**
* GroupByKey.
*/
public Builder groupByKey(String groupByKey) {
this.groupByKey = groupByKey;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* ResourceCounts.
*/
public Builder resourceCounts(java.util.List<ResourceCounts> resourceCounts) {
this.resourceCounts = resourceCounts;
return this;
}
/**
* Scope.
*/
public Builder scope(String scope) {
this.scope = scope;
return this;
}
public GetMultiAccountResourceCountsResponseBody build() {
return new GetMultiAccountResourceCountsResponseBody(this);
}
}
/**
*
* {@link GetMultiAccountResourceCountsResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountResourceCountsResponseBody</p>
*/
public static class Filters extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Values")
private java.util.List<String> values;
private Filters(Builder builder) {
this.key = builder.key;
this.values = builder.values;
}
public static Builder builder() {
return new Builder();
}
public static Filters create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return values
*/
public java.util.List<String> getValues() {
return this.values;
}
public static final class Builder {
private String key;
private java.util.List<String> values;
private Builder() {
}
private Builder(Filters model) {
this.key = model.key;
this.values = model.values;
}
/**
* Key.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* Values.
*/
public Builder values(java.util.List<String> values) {
this.values = values;
return this;
}
public Filters build() {
return new Filters(this);
}
}
}
/**
*
* {@link GetMultiAccountResourceCountsResponseBody} extends {@link TeaModel}
*
* <p>GetMultiAccountResourceCountsResponseBody</p>
*/
public static class ResourceCounts extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
@com.aliyun.core.annotation.NameInMap("GroupName")
private String groupName;
private ResourceCounts(Builder builder) {
this.count = builder.count;
this.groupName = builder.groupName;
}
public static Builder builder() {
return new Builder();
}
public static ResourceCounts create() {
return builder().build();
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
public static final class Builder {
private Long count;
private String groupName;
private Builder() {
}
private Builder(ResourceCounts model) {
this.count = model.count;
this.groupName = model.groupName;
}
/**
* Count.
*/
public Builder count(Long count) {
this.count = count;
return this;
}
/**
* GroupName.
*/
public Builder groupName(String groupName) {
this.groupName = groupName;
return this;
}
public ResourceCounts build() {
return new ResourceCounts(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetResourceCenterServiceStatusRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetResourceCenterServiceStatusRequest} extends {@link RequestModel}
*
* <p>GetResourceCenterServiceStatusRequest</p>
*/
public class GetResourceCenterServiceStatusRequest extends Request {
private GetResourceCenterServiceStatusRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static GetResourceCenterServiceStatusRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<GetResourceCenterServiceStatusRequest, Builder> {
private Builder() {
super();
}
private Builder(GetResourceCenterServiceStatusRequest request) {
super(request);
}
@Override
public GetResourceCenterServiceStatusRequest build() {
return new GetResourceCenterServiceStatusRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetResourceCenterServiceStatusResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetResourceCenterServiceStatusResponse} extends {@link TeaModel}
*
* <p>GetResourceCenterServiceStatusResponse</p>
*/
public class GetResourceCenterServiceStatusResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetResourceCenterServiceStatusResponseBody body;
private GetResourceCenterServiceStatusResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetResourceCenterServiceStatusResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetResourceCenterServiceStatusResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetResourceCenterServiceStatusResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetResourceCenterServiceStatusResponseBody body);
@Override
GetResourceCenterServiceStatusResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetResourceCenterServiceStatusResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetResourceCenterServiceStatusResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetResourceCenterServiceStatusResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetResourceCenterServiceStatusResponseBody body) {
this.body = body;
return this;
}
@Override
public GetResourceCenterServiceStatusResponse build() {
return new GetResourceCenterServiceStatusResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetResourceCenterServiceStatusResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetResourceCenterServiceStatusResponseBody} extends {@link TeaModel}
*
* <p>GetResourceCenterServiceStatusResponseBody</p>
*/
public class GetResourceCenterServiceStatusResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("InitialStatus")
private String initialStatus;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ServiceStatus")
private String serviceStatus;
private GetResourceCenterServiceStatusResponseBody(Builder builder) {
this.initialStatus = builder.initialStatus;
this.requestId = builder.requestId;
this.serviceStatus = builder.serviceStatus;
}
public static Builder builder() {
return new Builder();
}
public static GetResourceCenterServiceStatusResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return initialStatus
*/
public String getInitialStatus() {
return this.initialStatus;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return serviceStatus
*/
public String getServiceStatus() {
return this.serviceStatus;
}
public static final class Builder {
private String initialStatus;
private String requestId;
private String serviceStatus;
private Builder() {
}
private Builder(GetResourceCenterServiceStatusResponseBody model) {
this.initialStatus = model.initialStatus;
this.requestId = model.requestId;
this.serviceStatus = model.serviceStatus;
}
/**
* <p>The initialization status of the service. Valid values:</p>
* <ul>
* <li>Pending: The service is being initialized.</li>
* <li>Finished: The service is initialized.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Pending</p>
*/
public Builder initialStatus(String initialStatus) {
this.initialStatus = initialStatus;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>AD5F848D-CCDC-5464-93E1-4BA50A4826DD</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The status of the service. Valid values:</p>
* <ul>
* <li>Enabled: The service is activated.</li>
* <li>Disabled: The service is deactivated.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Enabled</p>
*/
public Builder serviceStatus(String serviceStatus) {
this.serviceStatus = serviceStatus;
return this;
}
public GetResourceCenterServiceStatusResponseBody build() {
return new GetResourceCenterServiceStatusResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetResourceConfigurationRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetResourceConfigurationRequest} extends {@link RequestModel}
*
* <p>GetResourceConfigurationRequest</p>
*/
public class GetResourceConfigurationRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceId")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceRegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceRegionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceType;
private GetResourceConfigurationRequest(Builder builder) {
super(builder);
this.resourceId = builder.resourceId;
this.resourceRegionId = builder.resourceRegionId;
this.resourceType = builder.resourceType;
}
public static Builder builder() {
return new Builder();
}
public static GetResourceConfigurationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceRegionId
*/
public String getResourceRegionId() {
return this.resourceRegionId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
public static final class Builder extends Request.Builder<GetResourceConfigurationRequest, Builder> {
private String resourceId;
private String resourceRegionId;
private String resourceType;
private Builder() {
super();
}
private Builder(GetResourceConfigurationRequest request) {
super(request);
this.resourceId = request.resourceId;
this.resourceRegionId = request.resourceRegionId;
this.resourceType = request.resourceType;
}
/**
* <p>The ID of the resource.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>eip-bp1kyg72m****</p>
*/
public Builder resourceId(String resourceId) {
this.putQueryParameter("ResourceId", resourceId);
this.resourceId = resourceId;
return this;
}
/**
* <p>The region ID of the resource.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder resourceRegionId(String resourceRegionId) {
this.putQueryParameter("ResourceRegionId", resourceRegionId);
this.resourceRegionId = resourceRegionId;
return this;
}
/**
* <p>The type of the resource.</p>
* <p>For more information about the resource types supported by Resource Center, see <a href="https://help.aliyun.com/document_detail/477798.html">Services that work with Resource Center</a>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ACS::VPC::RouteTable</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
@Override
public GetResourceConfigurationRequest build() {
return new GetResourceConfigurationRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetResourceConfigurationResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetResourceConfigurationResponse} extends {@link TeaModel}
*
* <p>GetResourceConfigurationResponse</p>
*/
public class GetResourceConfigurationResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetResourceConfigurationResponseBody body;
private GetResourceConfigurationResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetResourceConfigurationResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetResourceConfigurationResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetResourceConfigurationResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetResourceConfigurationResponseBody body);
@Override
GetResourceConfigurationResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetResourceConfigurationResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetResourceConfigurationResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetResourceConfigurationResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetResourceConfigurationResponseBody body) {
this.body = body;
return this;
}
@Override
public GetResourceConfigurationResponse build() {
return new GetResourceConfigurationResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetResourceConfigurationResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetResourceConfigurationResponseBody} extends {@link TeaModel}
*
* <p>GetResourceConfigurationResponseBody</p>
*/
public class GetResourceConfigurationResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("Configuration")
private java.util.Map<String, ?> configuration;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("ExpireTime")
private String expireTime;
@com.aliyun.core.annotation.NameInMap("IpAddressAttributes")
private java.util.List<IpAddressAttributes> ipAddressAttributes;
@com.aliyun.core.annotation.NameInMap("IpAddresses")
private java.util.List<String> ipAddresses;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.NameInMap("ResourceId")
private String resourceId;
@com.aliyun.core.annotation.NameInMap("ResourceName")
private String resourceName;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("Tags")
private java.util.List<Tags> tags;
@com.aliyun.core.annotation.NameInMap("ZoneId")
private String zoneId;
private GetResourceConfigurationResponseBody(Builder builder) {
this.accountId = builder.accountId;
this.configuration = builder.configuration;
this.createTime = builder.createTime;
this.expireTime = builder.expireTime;
this.ipAddressAttributes = builder.ipAddressAttributes;
this.ipAddresses = builder.ipAddresses;
this.regionId = builder.regionId;
this.requestId = builder.requestId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceId = builder.resourceId;
this.resourceName = builder.resourceName;
this.resourceType = builder.resourceType;
this.tags = builder.tags;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static GetResourceConfigurationResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return configuration
*/
public java.util.Map<String, ?> getConfiguration() {
return this.configuration;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return expireTime
*/
public String getExpireTime() {
return this.expireTime;
}
/**
* @return ipAddressAttributes
*/
public java.util.List<IpAddressAttributes> getIpAddressAttributes() {
return this.ipAddressAttributes;
}
/**
* @return ipAddresses
*/
public java.util.List<String> getIpAddresses() {
return this.ipAddresses;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceName
*/
public String getResourceName() {
return this.resourceName;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder {
private String accountId;
private java.util.Map<String, ?> configuration;
private String createTime;
private String expireTime;
private java.util.List<IpAddressAttributes> ipAddressAttributes;
private java.util.List<String> ipAddresses;
private String regionId;
private String requestId;
private String resourceGroupId;
private String resourceId;
private String resourceName;
private String resourceType;
private java.util.List<Tags> tags;
private String zoneId;
private Builder() {
}
private Builder(GetResourceConfigurationResponseBody model) {
this.accountId = model.accountId;
this.configuration = model.configuration;
this.createTime = model.createTime;
this.expireTime = model.expireTime;
this.ipAddressAttributes = model.ipAddressAttributes;
this.ipAddresses = model.ipAddresses;
this.regionId = model.regionId;
this.requestId = model.requestId;
this.resourceGroupId = model.resourceGroupId;
this.resourceId = model.resourceId;
this.resourceName = model.resourceName;
this.resourceType = model.resourceType;
this.tags = model.tags;
this.zoneId = model.zoneId;
}
/**
* <p>The ID of the Alibaba Cloud account to which the resource belongs.</p>
*
* <strong>example:</strong>
* <p>151266687691****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The configurations of the resource.</p>
*/
public Builder configuration(java.util.Map<String, ?> configuration) {
this.configuration = configuration;
return this;
}
/**
* <p>The time when the resource was created.</p>
*
* <strong>example:</strong>
* <p>2021-06-30T09:20:08Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The time when the resource expires.</p>
*
* <strong>example:</strong>
* <p>2021-07-30T09:20:08Z</p>
*/
public Builder expireTime(String expireTime) {
this.expireTime = expireTime;
return this;
}
/**
* <p>The attributes of the IP address.</p>
*/
public Builder ipAddressAttributes(java.util.List<IpAddressAttributes> ipAddressAttributes) {
this.ipAddressAttributes = ipAddressAttributes;
return this;
}
/**
* <p>The IP addresses.</p>
* <blockquote>
* <p>Whether this parameter is returned is determined by the Alibaba Cloud service to which the resource belongs.</p>
* </blockquote>
*/
public Builder ipAddresses(java.util.List<String> ipAddresses) {
this.ipAddresses = ipAddresses;
return this;
}
/**
* <p>The region ID of the resource.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>F1CE0D52-32DA-531A-87A4-B9A5B68D5D8E</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The ID of the resource group to which the resource belongs.</p>
*
* <strong>example:</strong>
* <p>rg-acfmv4k****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The ID of the resource.</p>
*
* <strong>example:</strong>
* <p>vtb-uf6978gdqbi****</p>
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* <p>The name of the resource.</p>
*
* <strong>example:</strong>
* <p>group1</p>
*/
public Builder resourceName(String resourceName) {
this.resourceName = resourceName;
return this;
}
/**
* <p>The type of the resource.</p>
*
* <strong>example:</strong>
* <p>ACS::VPC::VSwitch</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* <p>The tags of the resource.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
this.tags = tags;
return this;
}
/**
* <p>The zone ID of the resource.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou-k</p>
*/
public Builder zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public GetResourceConfigurationResponseBody build() {
return new GetResourceConfigurationResponseBody(this);
}
}
/**
*
* {@link GetResourceConfigurationResponseBody} extends {@link TeaModel}
*
* <p>GetResourceConfigurationResponseBody</p>
*/
public static class IpAddressAttributes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("IpAddress")
private String ipAddress;
@com.aliyun.core.annotation.NameInMap("NetworkType")
private String networkType;
@com.aliyun.core.annotation.NameInMap("Version")
private String version;
private IpAddressAttributes(Builder builder) {
this.ipAddress = builder.ipAddress;
this.networkType = builder.networkType;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static IpAddressAttributes create() {
return builder().build();
}
/**
* @return ipAddress
*/
public String getIpAddress() {
return this.ipAddress;
}
/**
* @return networkType
*/
public String getNetworkType() {
return this.networkType;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder {
private String ipAddress;
private String networkType;
private String version;
private Builder() {
}
private Builder(IpAddressAttributes model) {
this.ipAddress = model.ipAddress;
this.networkType = model.networkType;
this.version = model.version;
}
/**
* <p>The IP address.</p>
*
* <strong>example:</strong>
* <p>192.168.1.2</p>
*/
public Builder ipAddress(String ipAddress) {
this.ipAddress = ipAddress;
return this;
}
/**
* <p>The network type. Valid values:</p>
* <ul>
* <li><strong>Public</strong>: the Internet</li>
* <li><strong>Private</strong>: internal network</li>
* </ul>
*
* <strong>example:</strong>
* <p>Public</p>
*/
public Builder networkType(String networkType) {
this.networkType = networkType;
return this;
}
/**
* <p>The version.</p>
*
* <strong>example:</strong>
* <p>Ipv4</p>
*/
public Builder version(String version) {
this.version = version;
return this;
}
public IpAddressAttributes build() {
return new IpAddressAttributes(this);
}
}
}
/**
*
* {@link GetResourceConfigurationResponseBody} extends {@link TeaModel}
*
* <p>GetResourceConfigurationResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tags(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tags 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;
private Builder() {
}
private Builder(Tags model) {
this.key = model.key;
this.value = model.value;
}
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>test-key</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>test-value</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetResourceCountsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetResourceCountsRequest} extends {@link RequestModel}
*
* <p>GetResourceCountsRequest</p>
*/
public class GetResourceCountsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Filter")
private java.util.List<Filter> filter;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("GroupByKey")
private String groupByKey;
private GetResourceCountsRequest(Builder builder) {
super(builder);
this.filter = builder.filter;
this.groupByKey = builder.groupByKey;
}
public static Builder builder() {
return new Builder();
}
public static GetResourceCountsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return filter
*/
public java.util.List<Filter> getFilter() {
return this.filter;
}
/**
* @return groupByKey
*/
public String getGroupByKey() {
return this.groupByKey;
}
public static final class Builder extends Request.Builder<GetResourceCountsRequest, Builder> {
private java.util.List<Filter> filter;
private String groupByKey;
private Builder() {
super();
}
private Builder(GetResourceCountsRequest request) {
super(request);
this.filter = request.filter;
this.groupByKey = request.groupByKey;
}
/**
* <p>The filter conditions.</p>
*/
public Builder filter(java.util.List<Filter> filter) {
this.putQueryParameter("Filter", filter);
this.filter = filter;
return this;
}
/**
* <p>The dimension by which resources are queried. Valid values:</p>
* <ul>
* <li>ResourceType</li>
* <li>Region</li>
* <li>ResourceGroupId</li>
* <li>TagKey</li>
* <li>TagValue</li>
* </ul>
*
* <strong>example:</strong>
* <p>ResourceType</p>
*/
public Builder groupByKey(String groupByKey) {
this.putQueryParameter("GroupByKey", groupByKey);
this.groupByKey = groupByKey;
return this;
}
@Override
public GetResourceCountsRequest build() {
return new GetResourceCountsRequest(this);
}
}
/**
*
* {@link GetResourceCountsRequest} extends {@link TeaModel}
*
* <p>GetResourceCountsRequest</p>
*/
public static class Filter extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("MatchType")
private String matchType;
@com.aliyun.core.annotation.NameInMap("Value")
private java.util.List<String> value;
private Filter(Builder builder) {
this.key = builder.key;
this.matchType = builder.matchType;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Filter create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return matchType
*/
public String getMatchType() {
return this.matchType;
}
/**
* @return value
*/
public java.util.List<String> getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String matchType;
private java.util.List<String> value;
private Builder() {
}
private Builder(Filter model) {
this.key = model.key;
this.matchType = model.matchType;
this.value = model.value;
}
/**
* <p>The key of the filter condition. For more information, see <code>Supported filter parameters</code>.</p>
*
* <strong>example:</strong>
* <p>RegionId</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The matching mode.</p>
* <p>The value Equals indicates an equal match.</p>
*
* <strong>example:</strong>
* <p>Equals</p>
*/
public Builder matchType(String matchType) {
this.matchType = matchType;
return this;
}
/**
* <p>The values of the filter condition.</p>
*/
public Builder value(java.util.List<String> value) {
this.value = value;
return this;
}
public Filter build() {
return new Filter(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetResourceCountsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetResourceCountsResponse} extends {@link TeaModel}
*
* <p>GetResourceCountsResponse</p>
*/
public class GetResourceCountsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetResourceCountsResponseBody body;
private GetResourceCountsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetResourceCountsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetResourceCountsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetResourceCountsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetResourceCountsResponseBody body);
@Override
GetResourceCountsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetResourceCountsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetResourceCountsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetResourceCountsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetResourceCountsResponseBody body) {
this.body = body;
return this;
}
@Override
public GetResourceCountsResponse build() {
return new GetResourceCountsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetResourceCountsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetResourceCountsResponseBody} extends {@link TeaModel}
*
* <p>GetResourceCountsResponseBody</p>
*/
public class GetResourceCountsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Filters")
private java.util.List<Filters> filters;
@com.aliyun.core.annotation.NameInMap("GroupByKey")
private String groupByKey;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceCounts")
private java.util.List<ResourceCounts> resourceCounts;
private GetResourceCountsResponseBody(Builder builder) {
this.filters = builder.filters;
this.groupByKey = builder.groupByKey;
this.requestId = builder.requestId;
this.resourceCounts = builder.resourceCounts;
}
public static Builder builder() {
return new Builder();
}
public static GetResourceCountsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return filters
*/
public java.util.List<Filters> getFilters() {
return this.filters;
}
/**
* @return groupByKey
*/
public String getGroupByKey() {
return this.groupByKey;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceCounts
*/
public java.util.List<ResourceCounts> getResourceCounts() {
return this.resourceCounts;
}
public static final class Builder {
private java.util.List<Filters> filters;
private String groupByKey;
private String requestId;
private java.util.List<ResourceCounts> resourceCounts;
private Builder() {
}
private Builder(GetResourceCountsResponseBody model) {
this.filters = model.filters;
this.groupByKey = model.groupByKey;
this.requestId = model.requestId;
this.resourceCounts = model.resourceCounts;
}
/**
* <p>The filter conditions.</p>
*/
public Builder filters(java.util.List<Filters> filters) {
this.filters = filters;
return this;
}
/**
* <p>The dimension by which resources are queried.</p>
*
* <strong>example:</strong>
* <p>ResourceType</p>
*/
public Builder groupByKey(String groupByKey) {
this.groupByKey = groupByKey;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>6D98D9B0-318D-56A4-910C-93B5F945AF2B</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The numbers of resources.</p>
*/
public Builder resourceCounts(java.util.List<ResourceCounts> resourceCounts) {
this.resourceCounts = resourceCounts;
return this;
}
public GetResourceCountsResponseBody build() {
return new GetResourceCountsResponseBody(this);
}
}
/**
*
* {@link GetResourceCountsResponseBody} extends {@link TeaModel}
*
* <p>GetResourceCountsResponseBody</p>
*/
public static class Filters extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Values")
private java.util.List<String> values;
private Filters(Builder builder) {
this.key = builder.key;
this.values = builder.values;
}
public static Builder builder() {
return new Builder();
}
public static Filters create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return values
*/
public java.util.List<String> getValues() {
return this.values;
}
public static final class Builder {
private String key;
private java.util.List<String> values;
private Builder() {
}
private Builder(Filters model) {
this.key = model.key;
this.values = model.values;
}
/**
* <p>The key of the filter condition.</p>
*
* <strong>example:</strong>
* <p>RegionId</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The values of the filter condition.</p>
*/
public Builder values(java.util.List<String> values) {
this.values = values;
return this;
}
public Filters build() {
return new Filters(this);
}
}
}
/**
*
* {@link GetResourceCountsResponseBody} extends {@link TeaModel}
*
* <p>GetResourceCountsResponseBody</p>
*/
public static class ResourceCounts extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
@com.aliyun.core.annotation.NameInMap("GroupName")
private String groupName;
private ResourceCounts(Builder builder) {
this.count = builder.count;
this.groupName = builder.groupName;
}
public static Builder builder() {
return new Builder();
}
public static ResourceCounts create() {
return builder().build();
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
public static final class Builder {
private Long count;
private String groupName;
private Builder() {
}
private Builder(ResourceCounts model) {
this.count = model.count;
this.groupName = model.groupName;
}
/**
* <p>The number of resources.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder count(Long count) {
this.count = count;
return this;
}
/**
* <p>The group name.</p>
*
* <strong>example:</strong>
* <p>ACS::ECS::NetworkInterface</p>
*/
public Builder groupName(String groupName) {
this.groupName = groupName;
return this;
}
public ResourceCounts build() {
return new ResourceCounts(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetSavedQueryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetSavedQueryRequest} extends {@link RequestModel}
*
* <p>GetSavedQueryRequest</p>
*/
public class GetSavedQueryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("QueryId")
@com.aliyun.core.annotation.Validation(required = true)
private String queryId;
private GetSavedQueryRequest(Builder builder) {
super(builder);
this.queryId = builder.queryId;
}
public static Builder builder() {
return new Builder();
}
public static GetSavedQueryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return queryId
*/
public String getQueryId() {
return this.queryId;
}
public static final class Builder extends Request.Builder<GetSavedQueryRequest, Builder> {
private String queryId;
private Builder() {
super();
}
private Builder(GetSavedQueryRequest request) {
super(request);
this.queryId = request.queryId;
}
/**
* <p>The template ID.</p>
* <blockquote>
* <p> You can call the <a href="~~ListSavedQueries~~">ListSavedQueries</a> operation to query the ID.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>sq-GeAck****</p>
*/
public Builder queryId(String queryId) {
this.putQueryParameter("QueryId", queryId);
this.queryId = queryId;
return this;
}
@Override
public GetSavedQueryRequest build() {
return new GetSavedQueryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetSavedQueryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetSavedQueryResponse} extends {@link TeaModel}
*
* <p>GetSavedQueryResponse</p>
*/
public class GetSavedQueryResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetSavedQueryResponseBody body;
private GetSavedQueryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetSavedQueryResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetSavedQueryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetSavedQueryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetSavedQueryResponseBody body);
@Override
GetSavedQueryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetSavedQueryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetSavedQueryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetSavedQueryResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetSavedQueryResponseBody body) {
this.body = body;
return this;
}
@Override
public GetSavedQueryResponse build() {
return new GetSavedQueryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/GetSavedQueryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 GetSavedQueryResponseBody} extends {@link TeaModel}
*
* <p>GetSavedQueryResponseBody</p>
*/
public class GetSavedQueryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SavedQuery")
private SavedQuery savedQuery;
private GetSavedQueryResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.savedQuery = builder.savedQuery;
}
public static Builder builder() {
return new Builder();
}
public static GetSavedQueryResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return savedQuery
*/
public SavedQuery getSavedQuery() {
return this.savedQuery;
}
public static final class Builder {
private String requestId;
private SavedQuery savedQuery;
private Builder() {
}
private Builder(GetSavedQueryResponseBody model) {
this.requestId = model.requestId;
this.savedQuery = model.savedQuery;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>6D98D9B0-318D-56A4-910C-93B5F945AF2B</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the template.</p>
*/
public Builder savedQuery(SavedQuery savedQuery) {
this.savedQuery = savedQuery;
return this;
}
public GetSavedQueryResponseBody build() {
return new GetSavedQueryResponseBody(this);
}
}
/**
*
* {@link GetSavedQueryResponseBody} extends {@link TeaModel}
*
* <p>GetSavedQueryResponseBody</p>
*/
public static class SavedQuery extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Expression")
private String expression;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("QueryId")
private String queryId;
@com.aliyun.core.annotation.NameInMap("UpdateTime")
private String updateTime;
private SavedQuery(Builder builder) {
this.createTime = builder.createTime;
this.description = builder.description;
this.expression = builder.expression;
this.name = builder.name;
this.queryId = builder.queryId;
this.updateTime = builder.updateTime;
}
public static Builder builder() {
return new Builder();
}
public static SavedQuery create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return expression
*/
public String getExpression() {
return this.expression;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return queryId
*/
public String getQueryId() {
return this.queryId;
}
/**
* @return updateTime
*/
public String getUpdateTime() {
return this.updateTime;
}
public static final class Builder {
private String createTime;
private String description;
private String expression;
private String name;
private String queryId;
private String updateTime;
private Builder() {
}
private Builder(SavedQuery model) {
this.createTime = model.createTime;
this.description = model.description;
this.expression = model.expression;
this.name = model.name;
this.queryId = model.queryId;
this.updateTime = model.updateTime;
}
/**
* <p>The time when the template was created. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2023-10-30T01:43:16Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The description of the template.</p>
*
* <strong>example:</strong>
* <p>Queries all resources on which you have permissions and sorts the resources by resource type and resource ID.</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The query statement in the template.</p>
*
* <strong>example:</strong>
* <p>SELECT * FROM resources;</p>
*/
public Builder expression(String expression) {
this.expression = expression;
return this;
}
/**
* <p>The name of the template.</p>
*
* <strong>example:</strong>
* <p>Query of All Alibaba Cloud Resources</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The template ID.</p>
*
* <strong>example:</strong>
* <p>sq-GeAck****</p>
*/
public Builder queryId(String queryId) {
this.queryId = queryId;
return this;
}
/**
* <p>The time when the template was updated. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2023-10-30T01:43:16Z</p>
*/
public Builder updateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
public SavedQuery build() {
return new SavedQuery(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListDeliveryChannelsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListDeliveryChannelsRequest} extends {@link RequestModel}
*
* <p>ListDeliveryChannelsRequest</p>
*/
public class ListDeliveryChannelsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
private ListDeliveryChannelsRequest(Builder builder) {
super(builder);
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
}
public static Builder builder() {
return new Builder();
}
public static ListDeliveryChannelsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
public static final class Builder extends Request.Builder<ListDeliveryChannelsRequest, Builder> {
private Integer maxResults;
private String nextToken;
private Builder() {
super();
}
private Builder(ListDeliveryChannelsRequest request) {
super(request);
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
}
/**
* <p>The maximum number of entries per page.</p>
* <p>Valid values: 1 to 100.</p>
* <p>Default value: 20.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
* <p>If the total number of entries returned for the current request exceeds the value of the MaxResults parameter, the entries are truncated. In this case, you can use the token to initiate another request and obtain the remaining entries.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
@Override
public ListDeliveryChannelsRequest build() {
return new ListDeliveryChannelsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListDeliveryChannelsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListDeliveryChannelsResponse} extends {@link TeaModel}
*
* <p>ListDeliveryChannelsResponse</p>
*/
public class ListDeliveryChannelsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListDeliveryChannelsResponseBody body;
private ListDeliveryChannelsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListDeliveryChannelsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListDeliveryChannelsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListDeliveryChannelsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListDeliveryChannelsResponseBody body);
@Override
ListDeliveryChannelsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListDeliveryChannelsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListDeliveryChannelsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListDeliveryChannelsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListDeliveryChannelsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListDeliveryChannelsResponse build() {
return new ListDeliveryChannelsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListDeliveryChannelsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListDeliveryChannelsResponseBody} extends {@link TeaModel}
*
* <p>ListDeliveryChannelsResponseBody</p>
*/
public class ListDeliveryChannelsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DeliveryChannels")
private java.util.List<DeliveryChannels> deliveryChannels;
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.NameInMap("NextToken")
@com.aliyun.core.annotation.Validation(required = true)
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListDeliveryChannelsResponseBody(Builder builder) {
this.deliveryChannels = builder.deliveryChannels;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListDeliveryChannelsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deliveryChannels
*/
public java.util.List<DeliveryChannels> getDeliveryChannels() {
return this.deliveryChannels;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<DeliveryChannels> deliveryChannels;
private Integer maxResults;
private String nextToken;
private String requestId;
private Builder() {
}
private Builder(ListDeliveryChannelsResponseBody model) {
this.deliveryChannels = model.deliveryChannels;
this.maxResults = model.maxResults;
this.nextToken = model.nextToken;
this.requestId = model.requestId;
}
/**
* <p>The delivery channels.</p>
*/
public Builder deliveryChannels(java.util.List<DeliveryChannels> deliveryChannels) {
this.deliveryChannels = deliveryChannels;
return this;
}
/**
* <p>The maximum number of entries per page.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder maxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>17502A1B-7026-5551-8E1C-CCABD0CBC***</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListDeliveryChannelsResponseBody build() {
return new ListDeliveryChannelsResponseBody(this);
}
}
/**
*
* {@link ListDeliveryChannelsResponseBody} extends {@link TeaModel}
*
* <p>ListDeliveryChannelsResponseBody</p>
*/
public static class DeliveryChannels extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelDescription")
private String deliveryChannelDescription;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelId")
private String deliveryChannelId;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelName")
private String deliveryChannelName;
private DeliveryChannels(Builder builder) {
this.createTime = builder.createTime;
this.deliveryChannelDescription = builder.deliveryChannelDescription;
this.deliveryChannelId = builder.deliveryChannelId;
this.deliveryChannelName = builder.deliveryChannelName;
}
public static Builder builder() {
return new Builder();
}
public static DeliveryChannels create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return deliveryChannelDescription
*/
public String getDeliveryChannelDescription() {
return this.deliveryChannelDescription;
}
/**
* @return deliveryChannelId
*/
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
/**
* @return deliveryChannelName
*/
public String getDeliveryChannelName() {
return this.deliveryChannelName;
}
public static final class Builder {
private String createTime;
private String deliveryChannelDescription;
private String deliveryChannelId;
private String deliveryChannelName;
private Builder() {
}
private Builder(DeliveryChannels model) {
this.createTime = model.createTime;
this.deliveryChannelDescription = model.deliveryChannelDescription;
this.deliveryChannelId = model.deliveryChannelId;
this.deliveryChannelName = model.deliveryChannelName;
}
/**
* <p>The time when the delivery channel was created.</p>
*
* <strong>example:</strong>
* <p>2024-06-20T08:46:29Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The description of the delivery channel.</p>
*/
public Builder deliveryChannelDescription(String deliveryChannelDescription) {
this.deliveryChannelDescription = deliveryChannelDescription;
return this;
}
/**
* <p>The ID of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>dc-4m6ffpkgu***</p>
*/
public Builder deliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
return this;
}
/**
* <p>The name of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>test-delivery-channel</p>
*/
public Builder deliveryChannelName(String deliveryChannelName) {
this.deliveryChannelName = deliveryChannelName;
return this;
}
public DeliveryChannels build() {
return new DeliveryChannels(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListExampleQueriesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListExampleQueriesRequest} extends {@link RequestModel}
*
* <p>ListExampleQueriesRequest</p>
*/
public class ListExampleQueriesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private String maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
private ListExampleQueriesRequest(Builder builder) {
super(builder);
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
}
public static Builder builder() {
return new Builder();
}
public static ListExampleQueriesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return maxResults
*/
public String getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
public static final class Builder extends Request.Builder<ListExampleQueriesRequest, Builder> {
private String maxResults;
private String nextToken;
private Builder() {
super();
}
private Builder(ListExampleQueriesRequest request) {
super(request);
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
}
/**
* <p>The maximum number of entries per page.</p>
* <p>Valid values: 1 to 50.</p>
* <p>Default value: 50.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(String maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
@Override
public ListExampleQueriesRequest build() {
return new ListExampleQueriesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListExampleQueriesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListExampleQueriesResponse} extends {@link TeaModel}
*
* <p>ListExampleQueriesResponse</p>
*/
public class ListExampleQueriesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListExampleQueriesResponseBody body;
private ListExampleQueriesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListExampleQueriesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListExampleQueriesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListExampleQueriesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListExampleQueriesResponseBody body);
@Override
ListExampleQueriesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListExampleQueriesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListExampleQueriesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListExampleQueriesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListExampleQueriesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListExampleQueriesResponse build() {
return new ListExampleQueriesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListExampleQueriesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListExampleQueriesResponseBody} extends {@link TeaModel}
*
* <p>ListExampleQueriesResponseBody</p>
*/
public class ListExampleQueriesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ExampleQueries")
private java.util.List<ExampleQueries> exampleQueries;
@com.aliyun.core.annotation.NameInMap("MaxResults")
private String maxResults;
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListExampleQueriesResponseBody(Builder builder) {
this.exampleQueries = builder.exampleQueries;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListExampleQueriesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return exampleQueries
*/
public java.util.List<ExampleQueries> getExampleQueries() {
return this.exampleQueries;
}
/**
* @return maxResults
*/
public String getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<ExampleQueries> exampleQueries;
private String maxResults;
private String nextToken;
private String requestId;
private Builder() {
}
private Builder(ListExampleQueriesResponseBody model) {
this.exampleQueries = model.exampleQueries;
this.maxResults = model.maxResults;
this.nextToken = model.nextToken;
this.requestId = model.requestId;
}
/**
* <p>The information about the sample query templates.</p>
*/
public Builder exampleQueries(java.util.List<ExampleQueries> exampleQueries) {
this.exampleQueries = exampleQueries;
return this;
}
/**
* <p>The maximum number of entries per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(String maxResults) {
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>D696E6EF-3A6D-5770-801E-4982081FE4D0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListExampleQueriesResponseBody build() {
return new ListExampleQueriesResponseBody(this);
}
}
/**
*
* {@link ListExampleQueriesResponseBody} extends {@link TeaModel}
*
* <p>ListExampleQueriesResponseBody</p>
*/
public static class ExampleQueries extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("QueryId")
private String queryId;
private ExampleQueries(Builder builder) {
this.description = builder.description;
this.name = builder.name;
this.queryId = builder.queryId;
}
public static Builder builder() {
return new Builder();
}
public static ExampleQueries create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return queryId
*/
public String getQueryId() {
return this.queryId;
}
public static final class Builder {
private String description;
private String name;
private String queryId;
private Builder() {
}
private Builder(ExampleQueries model) {
this.description = model.description;
this.name = model.name;
this.queryId = model.queryId;
}
/**
* <p>The description of the template.</p>
*
* <strong>example:</strong>
* <p>Queries all resources on which you have permissions and sorts the resources by resource type and resource ID.</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The name of the template.</p>
*
* <strong>example:</strong>
* <p>Query of All Alibaba Cloud Resources</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The ID of the template.</p>
*
* <strong>example:</strong>
* <p>sq-0PfKy****</p>
*/
public Builder queryId(String queryId) {
this.queryId = queryId;
return this;
}
public ExampleQueries build() {
return new ExampleQueries(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListFiltersRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListFiltersRequest} extends {@link RequestModel}
*
* <p>ListFiltersRequest</p>
*/
public class ListFiltersRequest extends Request {
private ListFiltersRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static ListFiltersRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<ListFiltersRequest, Builder> {
private Builder() {
super();
}
private Builder(ListFiltersRequest request) {
super(request);
}
@Override
public ListFiltersRequest build() {
return new ListFiltersRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListFiltersResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListFiltersResponse} extends {@link TeaModel}
*
* <p>ListFiltersResponse</p>
*/
public class ListFiltersResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListFiltersResponseBody body;
private ListFiltersResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListFiltersResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListFiltersResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListFiltersResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListFiltersResponseBody body);
@Override
ListFiltersResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListFiltersResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListFiltersResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListFiltersResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListFiltersResponseBody body) {
this.body = body;
return this;
}
@Override
public ListFiltersResponse build() {
return new ListFiltersResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListFiltersResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListFiltersResponseBody} extends {@link TeaModel}
*
* <p>ListFiltersResponseBody</p>
*/
public class ListFiltersResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DefaultFilterName")
private String defaultFilterName;
@com.aliyun.core.annotation.NameInMap("Filters")
private java.util.List<Filters> filters;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListFiltersResponseBody(Builder builder) {
this.defaultFilterName = builder.defaultFilterName;
this.filters = builder.filters;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListFiltersResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return defaultFilterName
*/
public String getDefaultFilterName() {
return this.defaultFilterName;
}
/**
* @return filters
*/
public java.util.List<Filters> getFilters() {
return this.filters;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String defaultFilterName;
private java.util.List<Filters> filters;
private String requestId;
private Builder() {
}
private Builder(ListFiltersResponseBody model) {
this.defaultFilterName = model.defaultFilterName;
this.filters = model.filters;
this.requestId = model.requestId;
}
/**
* <p>The name of the default filter.</p>
*
* <strong>example:</strong>
* <p>My Filters</p>
*/
public Builder defaultFilterName(String defaultFilterName) {
this.defaultFilterName = defaultFilterName;
return this;
}
/**
* <p>The configurations of the filter.</p>
*/
public Builder filters(java.util.List<Filters> filters) {
this.filters = filters;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>AA39FB9C-CB74-5E73-8DFE-3A2B096F0759</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListFiltersResponseBody build() {
return new ListFiltersResponseBody(this);
}
}
/**
*
* {@link ListFiltersResponseBody} extends {@link TeaModel}
*
* <p>ListFiltersResponseBody</p>
*/
public static class Filters extends TeaModel {
@com.aliyun.core.annotation.NameInMap("FilterConfiguration")
@com.aliyun.core.annotation.Validation(required = true)
private String filterConfiguration;
@com.aliyun.core.annotation.NameInMap("FilterName")
private String filterName;
private Filters(Builder builder) {
this.filterConfiguration = builder.filterConfiguration;
this.filterName = builder.filterName;
}
public static Builder builder() {
return new Builder();
}
public static Filters create() {
return builder().build();
}
/**
* @return filterConfiguration
*/
public String getFilterConfiguration() {
return this.filterConfiguration;
}
/**
* @return filterName
*/
public String getFilterName() {
return this.filterName;
}
public static final class Builder {
private String filterConfiguration;
private String filterName;
private Builder() {
}
private Builder(Filters model) {
this.filterConfiguration = model.filterConfiguration;
this.filterName = model.filterName;
}
/**
* <p>The configurations of the filter.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>{
* "regions": [],
* "tagFilters": [
* [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }],
* [{ "tagKey": "xxx", "tagValue": "xxx" }]
* ],
* "resourceTypes": [
* "ACS::ECS::AutoSnapshotPolicy"
* ]
* }</p>
*/
public Builder filterConfiguration(String filterConfiguration) {
this.filterConfiguration = filterConfiguration;
return this;
}
/**
* <p>The name of the filter.</p>
*
* <strong>example:</strong>
* <p>My devices</p>
*/
public Builder filterName(String filterName) {
this.filterName = filterName;
return this;
}
public Filters build() {
return new Filters(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountDeliveryChannelsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountDeliveryChannelsRequest} extends {@link RequestModel}
*
* <p>ListMultiAccountDeliveryChannelsRequest</p>
*/
public class ListMultiAccountDeliveryChannelsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
private ListMultiAccountDeliveryChannelsRequest(Builder builder) {
super(builder);
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
}
public static Builder builder() {
return new Builder();
}
public static ListMultiAccountDeliveryChannelsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
public static final class Builder extends Request.Builder<ListMultiAccountDeliveryChannelsRequest, Builder> {
private Integer maxResults;
private String nextToken;
private Builder() {
super();
}
private Builder(ListMultiAccountDeliveryChannelsRequest request) {
super(request);
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
}
/**
* <p>The maximum number of entries per page.</p>
* <p>Valid values: 1 to 100.</p>
* <p>Default value: 20.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
* <p>If the total number of entries returned for the current request exceeds the value of the MaxResults parameter, the entries are truncated. In this case, you can use the token to initiate another request and obtain the remaining entries.</p>
*
* <strong>example:</strong>
* <p>AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
@Override
public ListMultiAccountDeliveryChannelsRequest build() {
return new ListMultiAccountDeliveryChannelsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountDeliveryChannelsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountDeliveryChannelsResponse} extends {@link TeaModel}
*
* <p>ListMultiAccountDeliveryChannelsResponse</p>
*/
public class ListMultiAccountDeliveryChannelsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListMultiAccountDeliveryChannelsResponseBody body;
private ListMultiAccountDeliveryChannelsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListMultiAccountDeliveryChannelsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListMultiAccountDeliveryChannelsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListMultiAccountDeliveryChannelsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListMultiAccountDeliveryChannelsResponseBody body);
@Override
ListMultiAccountDeliveryChannelsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListMultiAccountDeliveryChannelsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListMultiAccountDeliveryChannelsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListMultiAccountDeliveryChannelsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListMultiAccountDeliveryChannelsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListMultiAccountDeliveryChannelsResponse build() {
return new ListMultiAccountDeliveryChannelsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountDeliveryChannelsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountDeliveryChannelsResponseBody} extends {@link TeaModel}
*
* <p>ListMultiAccountDeliveryChannelsResponseBody</p>
*/
public class ListMultiAccountDeliveryChannelsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DeliveryChannels")
private java.util.List<DeliveryChannels> deliveryChannels;
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.NameInMap("NextToken")
@com.aliyun.core.annotation.Validation(required = true)
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListMultiAccountDeliveryChannelsResponseBody(Builder builder) {
this.deliveryChannels = builder.deliveryChannels;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListMultiAccountDeliveryChannelsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deliveryChannels
*/
public java.util.List<DeliveryChannels> getDeliveryChannels() {
return this.deliveryChannels;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List<DeliveryChannels> deliveryChannels;
private Integer maxResults;
private String nextToken;
private String requestId;
private Builder() {
}
private Builder(ListMultiAccountDeliveryChannelsResponseBody model) {
this.deliveryChannels = model.deliveryChannels;
this.maxResults = model.maxResults;
this.nextToken = model.nextToken;
this.requestId = model.requestId;
}
/**
* <p>The delivery channels.</p>
*/
public Builder deliveryChannels(java.util.List<DeliveryChannels> deliveryChannels) {
this.deliveryChannels = deliveryChannels;
return this;
}
/**
* <p>The maximum number of entries per page.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder maxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>17502A1B-7026-5551-8E1C-CCABD0CBC***</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListMultiAccountDeliveryChannelsResponseBody build() {
return new ListMultiAccountDeliveryChannelsResponseBody(this);
}
}
/**
*
* {@link ListMultiAccountDeliveryChannelsResponseBody} extends {@link TeaModel}
*
* <p>ListMultiAccountDeliveryChannelsResponseBody</p>
*/
public static class DeliveryChannels extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelDescription")
private String deliveryChannelDescription;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelId")
private String deliveryChannelId;
@com.aliyun.core.annotation.NameInMap("DeliveryChannelName")
private String deliveryChannelName;
private DeliveryChannels(Builder builder) {
this.createTime = builder.createTime;
this.deliveryChannelDescription = builder.deliveryChannelDescription;
this.deliveryChannelId = builder.deliveryChannelId;
this.deliveryChannelName = builder.deliveryChannelName;
}
public static Builder builder() {
return new Builder();
}
public static DeliveryChannels create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return deliveryChannelDescription
*/
public String getDeliveryChannelDescription() {
return this.deliveryChannelDescription;
}
/**
* @return deliveryChannelId
*/
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
/**
* @return deliveryChannelName
*/
public String getDeliveryChannelName() {
return this.deliveryChannelName;
}
public static final class Builder {
private String createTime;
private String deliveryChannelDescription;
private String deliveryChannelId;
private String deliveryChannelName;
private Builder() {
}
private Builder(DeliveryChannels model) {
this.createTime = model.createTime;
this.deliveryChannelDescription = model.deliveryChannelDescription;
this.deliveryChannelId = model.deliveryChannelId;
this.deliveryChannelName = model.deliveryChannelName;
}
/**
* <p>The time when the delivery channel was created.</p>
*
* <strong>example:</strong>
* <p>2023-08-17T00:23:55Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The description of the delivery channel.</p>
*/
public Builder deliveryChannelDescription(String deliveryChannelDescription) {
this.deliveryChannelDescription = deliveryChannelDescription;
return this;
}
/**
* <p>The ID of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>dc-0bzhsqpnk***</p>
*/
public Builder deliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
return this;
}
/**
* <p>The name of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>test-multi-account-delivery-channel</p>
*/
public Builder deliveryChannelName(String deliveryChannelName) {
this.deliveryChannelName = deliveryChannelName;
return this;
}
public DeliveryChannels build() {
return new DeliveryChannels(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountResourceGroupsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountResourceGroupsRequest} extends {@link RequestModel}
*
* <p>ListMultiAccountResourceGroupsRequest</p>
*/
public class ListMultiAccountResourceGroupsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupIds")
private java.util.List<String> resourceGroupIds;
private ListMultiAccountResourceGroupsRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.resourceGroupIds = builder.resourceGroupIds;
}
public static Builder builder() {
return new Builder();
}
public static ListMultiAccountResourceGroupsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return resourceGroupIds
*/
public java.util.List<String> getResourceGroupIds() {
return this.resourceGroupIds;
}
public static final class Builder extends Request.Builder<ListMultiAccountResourceGroupsRequest, Builder> {
private String accountId;
private Integer maxResults;
private String nextToken;
private java.util.List<String> resourceGroupIds;
private Builder() {
super();
}
private Builder(ListMultiAccountResourceGroupsRequest request) {
super(request);
this.accountId = request.accountId;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.resourceGroupIds = request.resourceGroupIds;
}
/**
* <p>The ID of the management account or member of the resource directory.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1394339739****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
/**
* <p>The maximum number of entries to return on each page.</p>
* <p>Maximum value: 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>AAAAAS2Nboi3t4xGrdlG5/Ks/Q1xPG9jzviYEuZydevXIkgF</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The IDs of resource groups.</p>
*/
public Builder resourceGroupIds(java.util.List<String> resourceGroupIds) {
this.putQueryParameter("ResourceGroupIds", resourceGroupIds);
this.resourceGroupIds = resourceGroupIds;
return this;
}
@Override
public ListMultiAccountResourceGroupsRequest build() {
return new ListMultiAccountResourceGroupsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountResourceGroupsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountResourceGroupsResponse} extends {@link TeaModel}
*
* <p>ListMultiAccountResourceGroupsResponse</p>
*/
public class ListMultiAccountResourceGroupsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListMultiAccountResourceGroupsResponseBody body;
private ListMultiAccountResourceGroupsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListMultiAccountResourceGroupsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListMultiAccountResourceGroupsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListMultiAccountResourceGroupsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListMultiAccountResourceGroupsResponseBody body);
@Override
ListMultiAccountResourceGroupsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListMultiAccountResourceGroupsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListMultiAccountResourceGroupsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListMultiAccountResourceGroupsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListMultiAccountResourceGroupsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListMultiAccountResourceGroupsResponse build() {
return new ListMultiAccountResourceGroupsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountResourceGroupsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountResourceGroupsResponseBody} extends {@link TeaModel}
*
* <p>ListMultiAccountResourceGroupsResponseBody</p>
*/
public class ListMultiAccountResourceGroupsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceGroups")
private java.util.List<ResourceGroups> resourceGroups;
private ListMultiAccountResourceGroupsResponseBody(Builder builder) {
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.resourceGroups = builder.resourceGroups;
}
public static Builder builder() {
return new Builder();
}
public static ListMultiAccountResourceGroupsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceGroups
*/
public java.util.List<ResourceGroups> getResourceGroups() {
return this.resourceGroups;
}
public static final class Builder {
private String nextToken;
private String requestId;
private java.util.List<ResourceGroups> resourceGroups;
private Builder() {
}
private Builder(ListMultiAccountResourceGroupsResponseBody model) {
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.resourceGroups = model.resourceGroups;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>AAAAAU5VsT9R1adMTuz9GzginZ3Y+7Y/5JATS+6q5GK9kT75</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>0FF0A66E-781F-51EE-9531-928F197558F2</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the resource groups.</p>
*/
public Builder resourceGroups(java.util.List<ResourceGroups> resourceGroups) {
this.resourceGroups = resourceGroups;
return this;
}
public ListMultiAccountResourceGroupsResponseBody build() {
return new ListMultiAccountResourceGroupsResponseBody(this);
}
}
/**
*
* {@link ListMultiAccountResourceGroupsResponseBody} extends {@link TeaModel}
*
* <p>ListMultiAccountResourceGroupsResponseBody</p>
*/
public static class ResourceGroups extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("Id")
private String id;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private ResourceGroups(Builder builder) {
this.accountId = builder.accountId;
this.createDate = builder.createDate;
this.displayName = builder.displayName;
this.id = builder.id;
this.name = builder.name;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static ResourceGroups create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String accountId;
private String createDate;
private String displayName;
private String id;
private String name;
private String status;
private Builder() {
}
private Builder(ResourceGroups model) {
this.accountId = model.accountId;
this.createDate = model.createDate;
this.displayName = model.displayName;
this.id = model.id;
this.name = model.name;
this.status = model.status;
}
/**
* <p>The ID of the management account or member of the resource directory.</p>
*
* <strong>example:</strong>
* <p>1394339739****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The time when the resource group was created.</p>
*
* <strong>example:</strong>
* <p>2021-06-30T09:20:08Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The display name of the resource group.</p>
*
* <strong>example:</strong>
* <p>group1</p>
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* <p>The ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-acfmzawhxxc****</p>
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* <p>The unique identifier of the resource group.</p>
*
* <strong>example:</strong>
* <p>my-project</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The status of the resource group. Valid values:</p>
* <ul>
* <li>Creating: The resource group is being created.</li>
* <li>OK: The resource group is created.</li>
* <li>PendingDelete: The resource group is waiting to be deleted.</li>
* </ul>
*
* <strong>example:</strong>
* <p>OK</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public ResourceGroups build() {
return new ResourceGroups(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountResourceRelationshipsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountResourceRelationshipsRequest} extends {@link RequestModel}
*
* <p>ListMultiAccountResourceRelationshipsRequest</p>
*/
public class ListMultiAccountResourceRelationshipsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
@com.aliyun.core.annotation.Validation(maximum = 500, minimum = 1)
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RelatedResourceFilter")
private java.util.List<RelatedResourceFilter> relatedResourceFilter;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceId")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Scope")
@com.aliyun.core.annotation.Validation(required = true)
private String scope;
private ListMultiAccountResourceRelationshipsRequest(Builder builder) {
super(builder);
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.regionId = builder.regionId;
this.relatedResourceFilter = builder.relatedResourceFilter;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.scope = builder.scope;
}
public static Builder builder() {
return new Builder();
}
public static ListMultiAccountResourceRelationshipsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return relatedResourceFilter
*/
public java.util.List<RelatedResourceFilter> getRelatedResourceFilter() {
return this.relatedResourceFilter;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return scope
*/
public String getScope() {
return this.scope;
}
public static final class Builder extends Request.Builder<ListMultiAccountResourceRelationshipsRequest, Builder> {
private Integer maxResults;
private String nextToken;
private String regionId;
private java.util.List<RelatedResourceFilter> relatedResourceFilter;
private String resourceId;
private String resourceType;
private String scope;
private Builder() {
super();
}
private Builder(ListMultiAccountResourceRelationshipsRequest request) {
super(request);
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.regionId = request.regionId;
this.relatedResourceFilter = request.relatedResourceFilter;
this.resourceId = request.resourceId;
this.resourceType = request.resourceType;
this.scope = request.scope;
}
/**
* <p>The maximum number of entries per page.</p>
* <p>Valid values: 1 to 500.</p>
* <p>Default value: 20.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The region ID of the resource.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>The filter conditions for resources associated with the resource.</p>
*/
public Builder relatedResourceFilter(java.util.List<RelatedResourceFilter> relatedResourceFilter) {
this.putQueryParameter("RelatedResourceFilter", relatedResourceFilter);
this.relatedResourceFilter = relatedResourceFilter;
return this;
}
/**
* <p>The ID of the resource.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>m-eb3hji****</p>
*/
public Builder resourceId(String resourceId) {
this.putQueryParameter("ResourceId", resourceId);
this.resourceId = resourceId;
return this;
}
/**
* <p>The type of the resource.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ACS::ACK::Cluster</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* <p>The search scope. Valid values:</p>
* <ul>
* <li>ID of a resource directory: Resources within the management account and all members of the resource directory are searched. You can call the <a href="https://help.aliyun.com/document_detail/159995.html">GetResourceDirectory</a> operation to query the ID.</li>
* <li>ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched. You can call the <a href="https://help.aliyun.com/document_detail/159997.html">ListFoldersForParent</a> operation to query the ID.</li>
* <li>ID of a folder: Resources within all members in the folder are searched. You can call the <a href="https://help.aliyun.com/document_detail/159997.html">ListFoldersForParent</a> operation to query the ID.</li>
* <li>ID of a member: Resources within the member are searched. You can call the <a href="https://help.aliyun.com/document_detail/160016.html">ListAccounts</a> operation to query the ID.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rd-r4****</p>
*/
public Builder scope(String scope) {
this.putQueryParameter("Scope", scope);
this.scope = scope;
return this;
}
@Override
public ListMultiAccountResourceRelationshipsRequest build() {
return new ListMultiAccountResourceRelationshipsRequest(this);
}
}
/**
*
* {@link ListMultiAccountResourceRelationshipsRequest} extends {@link TeaModel}
*
* <p>ListMultiAccountResourceRelationshipsRequest</p>
*/
public static class RelatedResourceFilter extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("MatchType")
private String matchType;
@com.aliyun.core.annotation.NameInMap("Value")
private java.util.List<String> value;
private RelatedResourceFilter(Builder builder) {
this.key = builder.key;
this.matchType = builder.matchType;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static RelatedResourceFilter create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return matchType
*/
public String getMatchType() {
return this.matchType;
}
/**
* @return value
*/
public java.util.List<String> getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String matchType;
private java.util.List<String> value;
private Builder() {
}
private Builder(RelatedResourceFilter model) {
this.key = model.key;
this.matchType = model.matchType;
this.value = model.value;
}
/**
* <p>The key of the filter condition. For more information, see <code>Supported filter parameters</code>.</p>
*
* <strong>example:</strong>
* <p>RelatedResourceRegionId</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The matching method.</p>
*
* <strong>example:</strong>
* <p>Equals</p>
*/
public Builder matchType(String matchType) {
this.matchType = matchType;
return this;
}
/**
* <p>The values of the filter condition.</p>
*/
public Builder value(java.util.List<String> value) {
this.value = value;
return this;
}
public RelatedResourceFilter build() {
return new RelatedResourceFilter(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountResourceRelationshipsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountResourceRelationshipsResponse} extends {@link TeaModel}
*
* <p>ListMultiAccountResourceRelationshipsResponse</p>
*/
public class ListMultiAccountResourceRelationshipsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListMultiAccountResourceRelationshipsResponseBody body;
private ListMultiAccountResourceRelationshipsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListMultiAccountResourceRelationshipsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListMultiAccountResourceRelationshipsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListMultiAccountResourceRelationshipsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListMultiAccountResourceRelationshipsResponseBody body);
@Override
ListMultiAccountResourceRelationshipsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListMultiAccountResourceRelationshipsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListMultiAccountResourceRelationshipsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListMultiAccountResourceRelationshipsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListMultiAccountResourceRelationshipsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListMultiAccountResourceRelationshipsResponse build() {
return new ListMultiAccountResourceRelationshipsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountResourceRelationshipsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountResourceRelationshipsResponseBody} extends {@link TeaModel}
*
* <p>ListMultiAccountResourceRelationshipsResponseBody</p>
*/
public class ListMultiAccountResourceRelationshipsResponseBody 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("ResourceRelationships")
private java.util.List<ResourceRelationships> resourceRelationships;
@com.aliyun.core.annotation.NameInMap("Scope")
private String scope;
private ListMultiAccountResourceRelationshipsResponseBody(Builder builder) {
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.resourceRelationships = builder.resourceRelationships;
this.scope = builder.scope;
}
public static Builder builder() {
return new Builder();
}
public static ListMultiAccountResourceRelationshipsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @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 resourceRelationships
*/
public java.util.List<ResourceRelationships> getResourceRelationships() {
return this.resourceRelationships;
}
/**
* @return scope
*/
public String getScope() {
return this.scope;
}
public static final class Builder {
private Integer maxResults;
private String nextToken;
private String requestId;
private java.util.List<ResourceRelationships> resourceRelationships;
private String scope;
private Builder() {
}
private Builder(ListMultiAccountResourceRelationshipsResponseBody model) {
this.maxResults = model.maxResults;
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.resourceRelationships = model.resourceRelationships;
this.scope = model.scope;
}
/**
* <p>The maximum number of entries per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
/**
* <p>A pagination token. It can be used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>BCAB07BA-82FA-5DC0-9322-FB7ED726481D</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The resource relationships.</p>
*/
public Builder resourceRelationships(java.util.List<ResourceRelationships> resourceRelationships) {
this.resourceRelationships = resourceRelationships;
return this;
}
/**
* <p>The search scope. Valid values:</p>
* <ul>
* <li>ID of a resource directory: Resources within the management account and all members of the resource directory are searched.</li>
* <li>ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched.</li>
* <li>ID of a folder: Resources within all members in the folder are searched.</li>
* <li>ID of a member: Resources within the member are searched.</li>
* </ul>
*
* <strong>example:</strong>
* <p>rd-r4****</p>
*/
public Builder scope(String scope) {
this.scope = scope;
return this;
}
public ListMultiAccountResourceRelationshipsResponseBody build() {
return new ListMultiAccountResourceRelationshipsResponseBody(this);
}
}
/**
*
* {@link ListMultiAccountResourceRelationshipsResponseBody} extends {@link TeaModel}
*
* <p>ListMultiAccountResourceRelationshipsResponseBody</p>
*/
public static class ResourceRelationships extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("RelatedResourceId")
private String relatedResourceId;
@com.aliyun.core.annotation.NameInMap("RelatedResourceRegionId")
private String relatedResourceRegionId;
@com.aliyun.core.annotation.NameInMap("RelatedResourceType")
private String relatedResourceType;
@com.aliyun.core.annotation.NameInMap("ResourceId")
private String resourceId;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
private ResourceRelationships(Builder builder) {
this.accountId = builder.accountId;
this.regionId = builder.regionId;
this.relatedResourceId = builder.relatedResourceId;
this.relatedResourceRegionId = builder.relatedResourceRegionId;
this.relatedResourceType = builder.relatedResourceType;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
}
public static Builder builder() {
return new Builder();
}
public static ResourceRelationships create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return relatedResourceId
*/
public String getRelatedResourceId() {
return this.relatedResourceId;
}
/**
* @return relatedResourceRegionId
*/
public String getRelatedResourceRegionId() {
return this.relatedResourceRegionId;
}
/**
* @return relatedResourceType
*/
public String getRelatedResourceType() {
return this.relatedResourceType;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
public static final class Builder {
private String accountId;
private String regionId;
private String relatedResourceId;
private String relatedResourceRegionId;
private String relatedResourceType;
private String resourceId;
private String resourceType;
private Builder() {
}
private Builder(ResourceRelationships model) {
this.accountId = model.accountId;
this.regionId = model.regionId;
this.relatedResourceId = model.relatedResourceId;
this.relatedResourceRegionId = model.relatedResourceRegionId;
this.relatedResourceType = model.relatedResourceType;
this.resourceId = model.resourceId;
this.resourceType = model.resourceType;
}
/**
* <p>The ID of the management account or member.</p>
*
* <strong>example:</strong>
* <p>193396142051****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The region ID of the resource.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The ID of the associated resource.</p>
*
* <strong>example:</strong>
* <p>vpc-uf6m5okksddm6c9lh7***</p>
*/
public Builder relatedResourceId(String relatedResourceId) {
this.relatedResourceId = relatedResourceId;
return this;
}
/**
* <p>The region ID of the associated resource.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder relatedResourceRegionId(String relatedResourceRegionId) {
this.relatedResourceRegionId = relatedResourceRegionId;
return this;
}
/**
* <p>The type of the associated resource.</p>
*
* <strong>example:</strong>
* <p>ACS::VPC::VPC</p>
*/
public Builder relatedResourceType(String relatedResourceType) {
this.relatedResourceType = relatedResourceType;
return this;
}
/**
* <p>The ID of the resource.</p>
*
* <strong>example:</strong>
* <p>m-eb3hji****</p>
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* <p>The type of the resource.</p>
*
* <strong>example:</strong>
* <p>ACS::ACK::Cluster</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
public ResourceRelationships build() {
return new ResourceRelationships(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountTagKeysRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountTagKeysRequest} extends {@link RequestModel}
*
* <p>ListMultiAccountTagKeysRequest</p>
*/
public class ListMultiAccountTagKeysRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MatchType")
private String matchType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Scope")
@com.aliyun.core.annotation.Validation(required = true)
private String scope;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TagKey")
private String tagKey;
private ListMultiAccountTagKeysRequest(Builder builder) {
super(builder);
this.matchType = builder.matchType;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.scope = builder.scope;
this.tagKey = builder.tagKey;
}
public static Builder builder() {
return new Builder();
}
public static ListMultiAccountTagKeysRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return matchType
*/
public String getMatchType() {
return this.matchType;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return scope
*/
public String getScope() {
return this.scope;
}
/**
* @return tagKey
*/
public String getTagKey() {
return this.tagKey;
}
public static final class Builder extends Request.Builder<ListMultiAccountTagKeysRequest, Builder> {
private String matchType;
private Integer maxResults;
private String nextToken;
private String scope;
private String tagKey;
private Builder() {
super();
}
private Builder(ListMultiAccountTagKeysRequest request) {
super(request);
this.matchType = request.matchType;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.scope = request.scope;
this.tagKey = request.tagKey;
}
/**
* <p>The matching mode. Valid values:</p>
* <ul>
* <li>Equals: equal match</li>
* <li>Prefix: match by prefix</li>
* </ul>
*
* <strong>example:</strong>
* <p>Equals</p>
*/
public Builder matchType(String matchType) {
this.putQueryParameter("MatchType", matchType);
this.matchType = matchType;
return this;
}
/**
* <p>The maximum number of entries to return on each page.</p>
* <p>Valid values: 1 to 100.</p>
* <p>Default value: 20.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
* <p>If the total number of entries returned for the current request exceeds the value of the <code>MaxResults</code> parameter, the entries are truncated. In this case, you can use the <code>token</code> to initiate another request and obtain the remaining entries.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The search scope. The value of this parameter can be one of the following items:</p>
* <ul>
* <li>ID of a resource directory: Resources within the management account and all members of the resource directory are searched. You can call the <a href="https://help.aliyun.com/document_detail/159995.html">GetResourceDirectory</a> operation to obtain the ID of the resource directory. The ID is indicated by the <code>ResourceDirectoryId</code> parameter in the response of the operation.</li>
* <li>ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched. You can call the <a href="https://help.aliyun.com/document_detail/159995.html">GetResourceDirectory</a> operation to obtain the ID of the Root folder. The ID is indicated by the <code>RootFolderId</code> parameter in the response of the operation.</li>
* <li>ID of a folder: Resources within all members in the folder are searched. You can call the <a href="https://help.aliyun.com/document_detail/159997.html">ListFoldersForParent</a> operation to obtain the ID of the folder. The ID is indicated by the <code>FolderId</code> parameter in the response of the operation.</li>
* <li>ID of a member: Resources within the member are searched. You can call the <a href="https://help.aliyun.com/document_detail/160016.html">ListAccounts</a> operation to obtain the ID of the member. The ID is indicated by the <code>AccountId</code> parameter in the response of the operation.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rd-r4****</p>
*/
public Builder scope(String scope) {
this.putQueryParameter("Scope", scope);
this.scope = scope;
return this;
}
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>test_key</p>
*/
public Builder tagKey(String tagKey) {
this.putQueryParameter("TagKey", tagKey);
this.tagKey = tagKey;
return this;
}
@Override
public ListMultiAccountTagKeysRequest build() {
return new ListMultiAccountTagKeysRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountTagKeysResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountTagKeysResponse} extends {@link TeaModel}
*
* <p>ListMultiAccountTagKeysResponse</p>
*/
public class ListMultiAccountTagKeysResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListMultiAccountTagKeysResponseBody body;
private ListMultiAccountTagKeysResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListMultiAccountTagKeysResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListMultiAccountTagKeysResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListMultiAccountTagKeysResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListMultiAccountTagKeysResponseBody body);
@Override
ListMultiAccountTagKeysResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListMultiAccountTagKeysResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListMultiAccountTagKeysResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListMultiAccountTagKeysResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListMultiAccountTagKeysResponseBody body) {
this.body = body;
return this;
}
@Override
public ListMultiAccountTagKeysResponse build() {
return new ListMultiAccountTagKeysResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountTagKeysResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountTagKeysResponseBody} extends {@link TeaModel}
*
* <p>ListMultiAccountTagKeysResponseBody</p>
*/
public class ListMultiAccountTagKeysResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TagKeys")
private java.util.List<String> tagKeys;
private ListMultiAccountTagKeysResponseBody(Builder builder) {
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.tagKeys = builder.tagKeys;
}
public static Builder builder() {
return new Builder();
}
public static ListMultiAccountTagKeysResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return tagKeys
*/
public java.util.List<String> getTagKeys() {
return this.tagKeys;
}
public static final class Builder {
private String nextToken;
private String requestId;
private java.util.List<String> tagKeys;
private Builder() {
}
private Builder(ListMultiAccountTagKeysResponseBody model) {
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.tagKeys = model.tagKeys;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>FA6086F9-6363-51A5-A507-88E3201EBCCB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The tag keys.</p>
*/
public Builder tagKeys(java.util.List<String> tagKeys) {
this.tagKeys = tagKeys;
return this;
}
public ListMultiAccountTagKeysResponseBody build() {
return new ListMultiAccountTagKeysResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountTagValuesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountTagValuesRequest} extends {@link RequestModel}
*
* <p>ListMultiAccountTagValuesRequest</p>
*/
public class ListMultiAccountTagValuesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MatchType")
private String matchType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Scope")
private String scope;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TagKey")
@com.aliyun.core.annotation.Validation(required = true)
private String tagKey;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TagValue")
private String tagValue;
private ListMultiAccountTagValuesRequest(Builder builder) {
super(builder);
this.matchType = builder.matchType;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.scope = builder.scope;
this.tagKey = builder.tagKey;
this.tagValue = builder.tagValue;
}
public static Builder builder() {
return new Builder();
}
public static ListMultiAccountTagValuesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return matchType
*/
public String getMatchType() {
return this.matchType;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return scope
*/
public String getScope() {
return this.scope;
}
/**
* @return tagKey
*/
public String getTagKey() {
return this.tagKey;
}
/**
* @return tagValue
*/
public String getTagValue() {
return this.tagValue;
}
public static final class Builder extends Request.Builder<ListMultiAccountTagValuesRequest, Builder> {
private String matchType;
private Integer maxResults;
private String nextToken;
private String scope;
private String tagKey;
private String tagValue;
private Builder() {
super();
}
private Builder(ListMultiAccountTagValuesRequest request) {
super(request);
this.matchType = request.matchType;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.scope = request.scope;
this.tagKey = request.tagKey;
this.tagValue = request.tagValue;
}
/**
* <p>The matching mode. Valid values:</p>
* <ul>
* <li>Equals: equal match</li>
* <li>Prefix: match by prefix</li>
* </ul>
*
* <strong>example:</strong>
* <p>Equals</p>
*/
public Builder matchType(String matchType) {
this.putQueryParameter("MatchType", matchType);
this.matchType = matchType;
return this;
}
/**
* <p>The maximum number of entries to return on each page.</p>
* <p>Valid values: 1 to 100.</p>
* <p>Default value: 20.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
* <p>If the total number of entries returned for the current request exceeds the value of the <code>MaxResults</code> parameter, the entries are truncated. In this case, you can use the <code>token</code> to initiate another request and obtain the remaining entries.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The search scope. You can set the value to one of the following items:</p>
* <ul>
* <li>ID of a resource directory: Resources within the management account and all members of the resource directory are searched. You can call the <a href="https://help.aliyun.com/document_detail/159995.html">GetResourceDirectory</a> operation to obtain the ID.</li>
* <li>ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched. You can call the <a href="https://help.aliyun.com/document_detail/159997.html">ListFoldersForParent</a> operation to obtain the ID.</li>
* <li>ID of a folder: Resources within all members in the folder are searched. You can call the <a href="https://help.aliyun.com/document_detail/159997.html">ListFoldersForParent</a> operation to obtain the ID.</li>
* <li>ID of a member: Resources within the member are searched. You can call the <a href="https://help.aliyun.com/document_detail/160016.html">ListAccounts</a> operation to obtain the ID.</li>
* </ul>
*
* <strong>example:</strong>
* <p>rd-r4****</p>
*/
public Builder scope(String scope) {
this.putQueryParameter("Scope", scope);
this.scope = scope;
return this;
}
/**
* <p>The tag key.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test_key</p>
*/
public Builder tagKey(String tagKey) {
this.putQueryParameter("TagKey", tagKey);
this.tagKey = tagKey;
return this;
}
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>test_value</p>
*/
public Builder tagValue(String tagValue) {
this.putQueryParameter("TagValue", tagValue);
this.tagValue = tagValue;
return this;
}
@Override
public ListMultiAccountTagValuesRequest build() {
return new ListMultiAccountTagValuesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountTagValuesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountTagValuesResponse} extends {@link TeaModel}
*
* <p>ListMultiAccountTagValuesResponse</p>
*/
public class ListMultiAccountTagValuesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListMultiAccountTagValuesResponseBody body;
private ListMultiAccountTagValuesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListMultiAccountTagValuesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListMultiAccountTagValuesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListMultiAccountTagValuesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListMultiAccountTagValuesResponseBody body);
@Override
ListMultiAccountTagValuesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListMultiAccountTagValuesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListMultiAccountTagValuesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListMultiAccountTagValuesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListMultiAccountTagValuesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListMultiAccountTagValuesResponse build() {
return new ListMultiAccountTagValuesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListMultiAccountTagValuesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListMultiAccountTagValuesResponseBody} extends {@link TeaModel}
*
* <p>ListMultiAccountTagValuesResponseBody</p>
*/
public class ListMultiAccountTagValuesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TagValues")
private java.util.List<String> tagValues;
private ListMultiAccountTagValuesResponseBody(Builder builder) {
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.tagValues = builder.tagValues;
}
public static Builder builder() {
return new Builder();
}
public static ListMultiAccountTagValuesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return tagValues
*/
public java.util.List<String> getTagValues() {
return this.tagValues;
}
public static final class Builder {
private String nextToken;
private String requestId;
private java.util.List<String> tagValues;
private Builder() {
}
private Builder(ListMultiAccountTagValuesResponseBody model) {
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.tagValues = model.tagValues;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>36A3D9BE-B607-5993-B546-7E19EF65DC00</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The tag values.</p>
*/
public Builder tagValues(java.util.List<String> tagValues) {
this.tagValues = tagValues;
return this;
}
public ListMultiAccountTagValuesResponseBody build() {
return new ListMultiAccountTagValuesResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListResourceRelationshipsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListResourceRelationshipsRequest} extends {@link RequestModel}
*
* <p>ListResourceRelationshipsRequest</p>
*/
public class ListResourceRelationshipsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
@com.aliyun.core.annotation.Validation(maximum = 500, minimum = 1)
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RelatedResourceFilter")
private java.util.List<RelatedResourceFilter> relatedResourceFilter;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceId")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceType;
private ListResourceRelationshipsRequest(Builder builder) {
super(builder);
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.regionId = builder.regionId;
this.relatedResourceFilter = builder.relatedResourceFilter;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
}
public static Builder builder() {
return new Builder();
}
public static ListResourceRelationshipsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return relatedResourceFilter
*/
public java.util.List<RelatedResourceFilter> getRelatedResourceFilter() {
return this.relatedResourceFilter;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
public static final class Builder extends Request.Builder<ListResourceRelationshipsRequest, Builder> {
private Integer maxResults;
private String nextToken;
private String regionId;
private java.util.List<RelatedResourceFilter> relatedResourceFilter;
private String resourceId;
private String resourceType;
private Builder() {
super();
}
private Builder(ListResourceRelationshipsRequest request) {
super(request);
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.regionId = request.regionId;
this.relatedResourceFilter = request.relatedResourceFilter;
this.resourceId = request.resourceId;
this.resourceType = request.resourceType;
}
/**
* <p>The maximum number of entries per page.</p>
* <p>Valid values: 1 to 500.</p>
* <p>Default value: 20.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The region ID of the resource.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>The filter conditions for resources associated with the resource.</p>
*/
public Builder relatedResourceFilter(java.util.List<RelatedResourceFilter> relatedResourceFilter) {
this.putQueryParameter("RelatedResourceFilter", relatedResourceFilter);
this.relatedResourceFilter = relatedResourceFilter;
return this;
}
/**
* <p>The ID of the resource.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>m-eb3hji****</p>
*/
public Builder resourceId(String resourceId) {
this.putQueryParameter("ResourceId", resourceId);
this.resourceId = resourceId;
return this;
}
/**
* <p>The type of the resource.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ACS::ACK::Cluster</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
@Override
public ListResourceRelationshipsRequest build() {
return new ListResourceRelationshipsRequest(this);
}
}
/**
*
* {@link ListResourceRelationshipsRequest} extends {@link TeaModel}
*
* <p>ListResourceRelationshipsRequest</p>
*/
public static class RelatedResourceFilter extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("MatchType")
private String matchType;
@com.aliyun.core.annotation.NameInMap("Value")
private java.util.List<String> value;
private RelatedResourceFilter(Builder builder) {
this.key = builder.key;
this.matchType = builder.matchType;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static RelatedResourceFilter create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return matchType
*/
public String getMatchType() {
return this.matchType;
}
/**
* @return value
*/
public java.util.List<String> getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String matchType;
private java.util.List<String> value;
private Builder() {
}
private Builder(RelatedResourceFilter model) {
this.key = model.key;
this.matchType = model.matchType;
this.value = model.value;
}
/**
* <p>The key of the filter condition. For more information, see <code>Supported filter parameters</code>.</p>
*
* <strong>example:</strong>
* <p>RelatedResourceRegionId</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The matching method.</p>
*
* <strong>example:</strong>
* <p>Equals</p>
*/
public Builder matchType(String matchType) {
this.matchType = matchType;
return this;
}
/**
* <p>The values of the filter condition.</p>
*/
public Builder value(java.util.List<String> value) {
this.value = value;
return this;
}
public RelatedResourceFilter build() {
return new RelatedResourceFilter(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListResourceRelationshipsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListResourceRelationshipsResponse} extends {@link TeaModel}
*
* <p>ListResourceRelationshipsResponse</p>
*/
public class ListResourceRelationshipsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListResourceRelationshipsResponseBody body;
private ListResourceRelationshipsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListResourceRelationshipsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListResourceRelationshipsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListResourceRelationshipsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListResourceRelationshipsResponseBody body);
@Override
ListResourceRelationshipsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListResourceRelationshipsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListResourceRelationshipsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListResourceRelationshipsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListResourceRelationshipsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListResourceRelationshipsResponse build() {
return new ListResourceRelationshipsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListResourceRelationshipsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListResourceRelationshipsResponseBody} extends {@link TeaModel}
*
* <p>ListResourceRelationshipsResponseBody</p>
*/
public class ListResourceRelationshipsResponseBody 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("ResourceRelationships")
private java.util.List<ResourceRelationships> resourceRelationships;
private ListResourceRelationshipsResponseBody(Builder builder) {
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.resourceRelationships = builder.resourceRelationships;
}
public static Builder builder() {
return new Builder();
}
public static ListResourceRelationshipsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @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 resourceRelationships
*/
public java.util.List<ResourceRelationships> getResourceRelationships() {
return this.resourceRelationships;
}
public static final class Builder {
private Integer maxResults;
private String nextToken;
private String requestId;
private java.util.List<ResourceRelationships> resourceRelationships;
private Builder() {
}
private Builder(ListResourceRelationshipsResponseBody model) {
this.maxResults = model.maxResults;
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.resourceRelationships = model.resourceRelationships;
}
/**
* <p>The maximum number of entries per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
/**
* <p>A pagination token. It can be used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>682A3004-38E3-5122-9A11-CCDFAB9C3C4F</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The resource relationships.</p>
*/
public Builder resourceRelationships(java.util.List<ResourceRelationships> resourceRelationships) {
this.resourceRelationships = resourceRelationships;
return this;
}
public ListResourceRelationshipsResponseBody build() {
return new ListResourceRelationshipsResponseBody(this);
}
}
/**
*
* {@link ListResourceRelationshipsResponseBody} extends {@link TeaModel}
*
* <p>ListResourceRelationshipsResponseBody</p>
*/
public static class ResourceRelationships extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("RelatedResourceId")
private String relatedResourceId;
@com.aliyun.core.annotation.NameInMap("RelatedResourceRegionId")
private String relatedResourceRegionId;
@com.aliyun.core.annotation.NameInMap("RelatedResourceType")
private String relatedResourceType;
@com.aliyun.core.annotation.NameInMap("ResourceId")
private String resourceId;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
private ResourceRelationships(Builder builder) {
this.regionId = builder.regionId;
this.relatedResourceId = builder.relatedResourceId;
this.relatedResourceRegionId = builder.relatedResourceRegionId;
this.relatedResourceType = builder.relatedResourceType;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
}
public static Builder builder() {
return new Builder();
}
public static ResourceRelationships create() {
return builder().build();
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return relatedResourceId
*/
public String getRelatedResourceId() {
return this.relatedResourceId;
}
/**
* @return relatedResourceRegionId
*/
public String getRelatedResourceRegionId() {
return this.relatedResourceRegionId;
}
/**
* @return relatedResourceType
*/
public String getRelatedResourceType() {
return this.relatedResourceType;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
public static final class Builder {
private String regionId;
private String relatedResourceId;
private String relatedResourceRegionId;
private String relatedResourceType;
private String resourceId;
private String resourceType;
private Builder() {
}
private Builder(ResourceRelationships model) {
this.regionId = model.regionId;
this.relatedResourceId = model.relatedResourceId;
this.relatedResourceRegionId = model.relatedResourceRegionId;
this.relatedResourceType = model.relatedResourceType;
this.resourceId = model.resourceId;
this.resourceType = model.resourceType;
}
/**
* <p>The region ID of the resource.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The ID of the associated resource.</p>
*
* <strong>example:</strong>
* <p>vpc-uf6m5okksddm6c9lh7***</p>
*/
public Builder relatedResourceId(String relatedResourceId) {
this.relatedResourceId = relatedResourceId;
return this;
}
/**
* <p>The region ID of the associated resource.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder relatedResourceRegionId(String relatedResourceRegionId) {
this.relatedResourceRegionId = relatedResourceRegionId;
return this;
}
/**
* <p>The type of the associated resource.</p>
*
* <strong>example:</strong>
* <p>ACS::VPC::VPC</p>
*/
public Builder relatedResourceType(String relatedResourceType) {
this.relatedResourceType = relatedResourceType;
return this;
}
/**
* <p>The ID of the resource.</p>
*
* <strong>example:</strong>
* <p>m-eb3hji****</p>
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* <p>The type of the resource.</p>
*
* <strong>example:</strong>
* <p>ACS::ACK::Cluster</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
public ResourceRelationships build() {
return new ResourceRelationships(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListResourceTypesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListResourceTypesRequest} extends {@link RequestModel}
*
* <p>ListResourceTypesRequest</p>
*/
public class ListResourceTypesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AcceptLanguage")
private String acceptLanguage;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Query")
private java.util.List<String> query;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
private ListResourceTypesRequest(Builder builder) {
super(builder);
this.acceptLanguage = builder.acceptLanguage;
this.query = builder.query;
this.resourceType = builder.resourceType;
}
public static Builder builder() {
return new Builder();
}
public static ListResourceTypesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return acceptLanguage
*/
public String getAcceptLanguage() {
return this.acceptLanguage;
}
/**
* @return query
*/
public java.util.List<String> getQuery() {
return this.query;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
public static final class Builder extends Request.Builder<ListResourceTypesRequest, Builder> {
private String acceptLanguage;
private java.util.List<String> query;
private String resourceType;
private Builder() {
super();
}
private Builder(ListResourceTypesRequest request) {
super(request);
this.acceptLanguage = request.acceptLanguage;
this.query = request.query;
this.resourceType = request.resourceType;
}
/**
* <p>The language of the response. Valid values:</p>
* <ul>
* <li>zh-CN: Chinese</li>
* <li>en-US: English</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh-CN</p>
*/
public Builder acceptLanguage(String acceptLanguage) {
this.putQueryParameter("AcceptLanguage", acceptLanguage);
this.acceptLanguage = acceptLanguage;
return this;
}
/**
* <p>The query conditions.</p>
*/
public Builder query(java.util.List<String> query) {
this.putQueryParameter("Query", query);
this.query = query;
return this;
}
/**
* <p>The resource type.</p>
* <p>For more information about the resource types that are supported by Resource Center, see <a href="https://help.aliyun.com/document_detail/477798.html">Services that work with Resource Center</a>.</p>
*
* <strong>example:</strong>
* <p>ACS::ACK::Cluster</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
@Override
public ListResourceTypesRequest build() {
return new ListResourceTypesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListResourceTypesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListResourceTypesResponse} extends {@link TeaModel}
*
* <p>ListResourceTypesResponse</p>
*/
public class ListResourceTypesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListResourceTypesResponseBody body;
private ListResourceTypesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListResourceTypesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListResourceTypesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListResourceTypesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListResourceTypesResponseBody body);
@Override
ListResourceTypesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListResourceTypesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListResourceTypesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListResourceTypesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListResourceTypesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListResourceTypesResponse build() {
return new ListResourceTypesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListResourceTypesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListResourceTypesResponseBody} extends {@link TeaModel}
*
* <p>ListResourceTypesResponseBody</p>
*/
public class ListResourceTypesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceTypes")
private java.util.List<ResourceTypes> resourceTypes;
private ListResourceTypesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.resourceTypes = builder.resourceTypes;
}
public static Builder builder() {
return new Builder();
}
public static ListResourceTypesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceTypes
*/
public java.util.List<ResourceTypes> getResourceTypes() {
return this.resourceTypes;
}
public static final class Builder {
private String requestId;
private java.util.List<ResourceTypes> resourceTypes;
private Builder() {
}
private Builder(ListResourceTypesResponseBody model) {
this.requestId = model.requestId;
this.resourceTypes = model.resourceTypes;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>E5556E4C-479A-5BBB-B325-F07563E7E917</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The resource types.</p>
*/
public Builder resourceTypes(java.util.List<ResourceTypes> resourceTypes) {
this.resourceTypes = resourceTypes;
return this;
}
public ListResourceTypesResponseBody build() {
return new ListResourceTypesResponseBody(this);
}
}
/**
*
* {@link ListResourceTypesResponseBody} extends {@link TeaModel}
*
* <p>ListResourceTypesResponseBody</p>
*/
public static class CodeMapping extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ResourceGroup")
private String resourceGroup;
@com.aliyun.core.annotation.NameInMap("Tag")
private String tag;
private CodeMapping(Builder builder) {
this.resourceGroup = builder.resourceGroup;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static CodeMapping create() {
return builder().build();
}
/**
* @return resourceGroup
*/
public String getResourceGroup() {
return this.resourceGroup;
}
/**
* @return tag
*/
public String getTag() {
return this.tag;
}
public static final class Builder {
private String resourceGroup;
private String tag;
private Builder() {
}
private Builder(CodeMapping model) {
this.resourceGroup = model.resourceGroup;
this.tag = model.tag;
}
/**
* <p>The resource group.</p>
*
* <strong>example:</strong>
* <p>cs.cluster</p>
*/
public Builder resourceGroup(String resourceGroup) {
this.resourceGroup = resourceGroup;
return this;
}
/**
* <p>The tag.</p>
*
* <strong>example:</strong>
* <p>cs.cluster</p>
*/
public Builder tag(String tag) {
this.tag = tag;
return this;
}
public CodeMapping build() {
return new CodeMapping(this);
}
}
}
/**
*
* {@link ListResourceTypesResponseBody} extends {@link TeaModel}
*
* <p>ListResourceTypesResponseBody</p>
*/
public static class ResourceTypes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CodeMapping")
private CodeMapping codeMapping;
@com.aliyun.core.annotation.NameInMap("FilterKeys")
private java.util.List<String> filterKeys;
@com.aliyun.core.annotation.NameInMap("ProductName")
private String productName;
@com.aliyun.core.annotation.NameInMap("RelatedResourceTypes")
private java.util.List<String> relatedResourceTypes;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("ResourceTypeName")
private String resourceTypeName;
private ResourceTypes(Builder builder) {
this.codeMapping = builder.codeMapping;
this.filterKeys = builder.filterKeys;
this.productName = builder.productName;
this.relatedResourceTypes = builder.relatedResourceTypes;
this.resourceType = builder.resourceType;
this.resourceTypeName = builder.resourceTypeName;
}
public static Builder builder() {
return new Builder();
}
public static ResourceTypes create() {
return builder().build();
}
/**
* @return codeMapping
*/
public CodeMapping getCodeMapping() {
return this.codeMapping;
}
/**
* @return filterKeys
*/
public java.util.List<String> getFilterKeys() {
return this.filterKeys;
}
/**
* @return productName
*/
public String getProductName() {
return this.productName;
}
/**
* @return relatedResourceTypes
*/
public java.util.List<String> getRelatedResourceTypes() {
return this.relatedResourceTypes;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return resourceTypeName
*/
public String getResourceTypeName() {
return this.resourceTypeName;
}
public static final class Builder {
private CodeMapping codeMapping;
private java.util.List<String> filterKeys;
private String productName;
private java.util.List<String> relatedResourceTypes;
private String resourceType;
private String resourceTypeName;
private Builder() {
}
private Builder(ResourceTypes model) {
this.codeMapping = model.codeMapping;
this.filterKeys = model.filterKeys;
this.productName = model.productName;
this.relatedResourceTypes = model.relatedResourceTypes;
this.resourceType = model.resourceType;
this.resourceTypeName = model.resourceTypeName;
}
/**
* <p>The code mapping of the resource type.</p>
*/
public Builder codeMapping(CodeMapping codeMapping) {
this.codeMapping = codeMapping;
return this;
}
/**
* <p>The supported filter conditions.</p>
*/
public Builder filterKeys(java.util.List<String> filterKeys) {
this.filterKeys = filterKeys;
return this;
}
/**
* <p>The name of the Alibaba Cloud service.</p>
*
* <strong>example:</strong>
* <p>Container Service for Kubernetes</p>
*/
public Builder productName(String productName) {
this.productName = productName;
return this;
}
/**
* <p>The name of supported related resource types.</p>
*/
public Builder relatedResourceTypes(java.util.List<String> relatedResourceTypes) {
this.relatedResourceTypes = relatedResourceTypes;
return this;
}
/**
* <p>The resource type.</p>
*
* <strong>example:</strong>
* <p>ACS::ACK::Cluster</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* <p>The name of the resource type.</p>
*
* <strong>example:</strong>
* <p>Cluster</p>
*/
public Builder resourceTypeName(String resourceTypeName) {
this.resourceTypeName = resourceTypeName;
return this;
}
public ResourceTypes build() {
return new ResourceTypes(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListSavedQueriesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListSavedQueriesRequest} extends {@link RequestModel}
*
* <p>ListSavedQueriesRequest</p>
*/
public class ListSavedQueriesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private String maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
private ListSavedQueriesRequest(Builder builder) {
super(builder);
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
}
public static Builder builder() {
return new Builder();
}
public static ListSavedQueriesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return maxResults
*/
public String getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
public static final class Builder extends Request.Builder<ListSavedQueriesRequest, Builder> {
private String maxResults;
private String nextToken;
private Builder() {
super();
}
private Builder(ListSavedQueriesRequest request) {
super(request);
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
}
/**
* <p>The maximum number of entries per page.</p>
* <p>Valid values: 1 to 50.</p>
* <p>Default value: 50.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(String maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
@Override
public ListSavedQueriesRequest build() {
return new ListSavedQueriesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListSavedQueriesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListSavedQueriesResponse} extends {@link TeaModel}
*
* <p>ListSavedQueriesResponse</p>
*/
public class ListSavedQueriesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListSavedQueriesResponseBody body;
private ListSavedQueriesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListSavedQueriesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListSavedQueriesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListSavedQueriesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListSavedQueriesResponseBody body);
@Override
ListSavedQueriesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListSavedQueriesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListSavedQueriesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListSavedQueriesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListSavedQueriesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListSavedQueriesResponse build() {
return new ListSavedQueriesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListSavedQueriesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListSavedQueriesResponseBody} extends {@link TeaModel}
*
* <p>ListSavedQueriesResponseBody</p>
*/
public class ListSavedQueriesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MaxResults")
private String maxResults;
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SavedQueries")
private java.util.List<SavedQueries> savedQueries;
private ListSavedQueriesResponseBody(Builder builder) {
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.savedQueries = builder.savedQueries;
}
public static Builder builder() {
return new Builder();
}
public static ListSavedQueriesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return maxResults
*/
public String getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return savedQueries
*/
public java.util.List<SavedQueries> getSavedQueries() {
return this.savedQueries;
}
public static final class Builder {
private String maxResults;
private String nextToken;
private String requestId;
private java.util.List<SavedQueries> savedQueries;
private Builder() {
}
private Builder(ListSavedQueriesResponseBody model) {
this.maxResults = model.maxResults;
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.savedQueries = model.savedQueries;
}
/**
* <p>The maximum number of entries per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(String maxResults) {
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>D696E6EF-3A6D-5770-801E-4982081FE4D0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the custom query templates.</p>
*/
public Builder savedQueries(java.util.List<SavedQueries> savedQueries) {
this.savedQueries = savedQueries;
return this;
}
public ListSavedQueriesResponseBody build() {
return new ListSavedQueriesResponseBody(this);
}
}
/**
*
* {@link ListSavedQueriesResponseBody} extends {@link TeaModel}
*
* <p>ListSavedQueriesResponseBody</p>
*/
public static class SavedQueries extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("QueryId")
private String queryId;
@com.aliyun.core.annotation.NameInMap("UpdateTime")
private String updateTime;
private SavedQueries(Builder builder) {
this.createTime = builder.createTime;
this.description = builder.description;
this.name = builder.name;
this.queryId = builder.queryId;
this.updateTime = builder.updateTime;
}
public static Builder builder() {
return new Builder();
}
public static SavedQueries create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return queryId
*/
public String getQueryId() {
return this.queryId;
}
/**
* @return updateTime
*/
public String getUpdateTime() {
return this.updateTime;
}
public static final class Builder {
private String createTime;
private String description;
private String name;
private String queryId;
private String updateTime;
private Builder() {
}
private Builder(SavedQueries model) {
this.createTime = model.createTime;
this.description = model.description;
this.name = model.name;
this.queryId = model.queryId;
this.updateTime = model.updateTime;
}
/**
* <p>The time when the template was created. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2022-01-13T05:50:35Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The description of the template.</p>
*
* <strong>example:</strong>
* <p>Queries all resources on which you have permissions and sorts the resources by resource type and resource ID.</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The template name.</p>
*
* <strong>example:</strong>
* <p>Query of All Alibaba Cloud Resources</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The template ID.</p>
*
* <strong>example:</strong>
* <p>sq-GeAck****</p>
*/
public Builder queryId(String queryId) {
this.queryId = queryId;
return this;
}
/**
* <p>The time when the template was updated. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2023-03-14 10:27:07</p>
*/
public Builder updateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
public SavedQueries build() {
return new SavedQueries(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListTagKeysRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListTagKeysRequest} extends {@link RequestModel}
*
* <p>ListTagKeysRequest</p>
*/
public class ListTagKeysRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MatchType")
private String matchType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TagKey")
private String tagKey;
private ListTagKeysRequest(Builder builder) {
super(builder);
this.matchType = builder.matchType;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.tagKey = builder.tagKey;
}
public static Builder builder() {
return new Builder();
}
public static ListTagKeysRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return matchType
*/
public String getMatchType() {
return this.matchType;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return tagKey
*/
public String getTagKey() {
return this.tagKey;
}
public static final class Builder extends Request.Builder<ListTagKeysRequest, Builder> {
private String matchType;
private Integer maxResults;
private String nextToken;
private String tagKey;
private Builder() {
super();
}
private Builder(ListTagKeysRequest request) {
super(request);
this.matchType = request.matchType;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.tagKey = request.tagKey;
}
/**
* <p>The matching mode. Valid values:</p>
* <ul>
* <li>Equals: equal match</li>
* <li>Prefix: match by prefix</li>
* </ul>
*
* <strong>example:</strong>
* <p>Equals</p>
*/
public Builder matchType(String matchType) {
this.putQueryParameter("MatchType", matchType);
this.matchType = matchType;
return this;
}
/**
* <p>The maximum number of entries to return on each page.</p>
* <p>Valid values: 1 to 100.</p>
* <p>Default value: 20.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
* <p>If the total number of entries returned for the current request exceeds the value of the <code>MaxResults</code> parameter, the entries are truncated. In this case, you can use the <code>token</code> to initiate another request and obtain the remaining entries.</p>
*
* <strong>example:</strong>
* <p>AAAAAUYb00R0gHZBE8FVDeoh2ME93VeeEPUHs****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The tag key.</p>
*
* <strong>example:</strong>
* <p>test_key</p>
*/
public Builder tagKey(String tagKey) {
this.putQueryParameter("TagKey", tagKey);
this.tagKey = tagKey;
return this;
}
@Override
public ListTagKeysRequest build() {
return new ListTagKeysRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListTagKeysResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListTagKeysResponse} extends {@link TeaModel}
*
* <p>ListTagKeysResponse</p>
*/
public class ListTagKeysResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTagKeysResponseBody body;
private ListTagKeysResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTagKeysResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTagKeysResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTagKeysResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTagKeysResponseBody body);
@Override
ListTagKeysResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTagKeysResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTagKeysResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTagKeysResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTagKeysResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTagKeysResponse build() {
return new ListTagKeysResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListTagKeysResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListTagKeysResponseBody} extends {@link TeaModel}
*
* <p>ListTagKeysResponseBody</p>
*/
public class ListTagKeysResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TagKeys")
private java.util.List<String> tagKeys;
private ListTagKeysResponseBody(Builder builder) {
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.tagKeys = builder.tagKeys;
}
public static Builder builder() {
return new Builder();
}
public static ListTagKeysResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return tagKeys
*/
public java.util.List<String> getTagKeys() {
return this.tagKeys;
}
public static final class Builder {
private String nextToken;
private String requestId;
private java.util.List<String> tagKeys;
private Builder() {
}
private Builder(ListTagKeysResponseBody model) {
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.tagKeys = model.tagKeys;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>AAAAAUDnubHKJbVTCdlIGYUPtsu3EoN3bfdgjDA****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>44C8A952-D6B0-5BC8-82D5-93BA02E26F2E</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The tag keys.</p>
*/
public Builder tagKeys(java.util.List<String> tagKeys) {
this.tagKeys = tagKeys;
return this;
}
public ListTagKeysResponseBody build() {
return new ListTagKeysResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListTagValuesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListTagValuesRequest} extends {@link RequestModel}
*
* <p>ListTagValuesRequest</p>
*/
public class ListTagValuesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MatchType")
private String matchType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TagKey")
@com.aliyun.core.annotation.Validation(required = true)
private String tagKey;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TagValue")
private String tagValue;
private ListTagValuesRequest(Builder builder) {
super(builder);
this.matchType = builder.matchType;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.tagKey = builder.tagKey;
this.tagValue = builder.tagValue;
}
public static Builder builder() {
return new Builder();
}
public static ListTagValuesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return matchType
*/
public String getMatchType() {
return this.matchType;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return tagKey
*/
public String getTagKey() {
return this.tagKey;
}
/**
* @return tagValue
*/
public String getTagValue() {
return this.tagValue;
}
public static final class Builder extends Request.Builder<ListTagValuesRequest, Builder> {
private String matchType;
private Integer maxResults;
private String nextToken;
private String tagKey;
private String tagValue;
private Builder() {
super();
}
private Builder(ListTagValuesRequest request) {
super(request);
this.matchType = request.matchType;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.tagKey = request.tagKey;
this.tagValue = request.tagValue;
}
/**
* <p>The matching mode. Valid values:</p>
* <ul>
* <li>Equals: equal match</li>
* <li>Prefix: match by prefix</li>
* </ul>
*
* <strong>example:</strong>
* <p>Equals</p>
*/
public Builder matchType(String matchType) {
this.putQueryParameter("MatchType", matchType);
this.matchType = matchType;
return this;
}
/**
* <p>The maximum number of entries to return on each page.</p>
* <p>Valid values: 1 to 100.</p>
* <p>Default value: 20.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
* <p>If the total number of entries returned for the current request exceeds the value of the <code>MaxResults</code> parameter, the entries are truncated. In this case, you can use the <code>token</code> to initiate another request and obtain the remaining entries.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The tag key.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test_key</p>
*/
public Builder tagKey(String tagKey) {
this.putQueryParameter("TagKey", tagKey);
this.tagKey = tagKey;
return this;
}
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>test_value</p>
*/
public Builder tagValue(String tagValue) {
this.putQueryParameter("TagValue", tagValue);
this.tagValue = tagValue;
return this;
}
@Override
public ListTagValuesRequest build() {
return new ListTagValuesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListTagValuesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListTagValuesResponse} extends {@link TeaModel}
*
* <p>ListTagValuesResponse</p>
*/
public class ListTagValuesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListTagValuesResponseBody body;
private ListTagValuesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTagValuesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTagValuesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTagValuesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTagValuesResponseBody body);
@Override
ListTagValuesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTagValuesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTagValuesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTagValuesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTagValuesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTagValuesResponse build() {
return new ListTagValuesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/ListTagValuesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 ListTagValuesResponseBody} extends {@link TeaModel}
*
* <p>ListTagValuesResponseBody</p>
*/
public class ListTagValuesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TagValues")
private java.util.List<String> tagValues;
private ListTagValuesResponseBody(Builder builder) {
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.tagValues = builder.tagValues;
}
public static Builder builder() {
return new Builder();
}
public static ListTagValuesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return tagValues
*/
public java.util.List<String> getTagValues() {
return this.tagValues;
}
public static final class Builder {
private String nextToken;
private String requestId;
private java.util.List<String> tagValues;
private Builder() {
}
private Builder(ListTagValuesResponseBody model) {
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.tagValues = model.tagValues;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>C1840B83-1193-5E83-AFA6-4B8D303E29F5</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The tag values.</p>
*/
public Builder tagValues(java.util.List<String> tagValues) {
this.tagValues = tagValues;
return this;
}
public ListTagValuesResponseBody build() {
return new ListTagValuesResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/SearchMultiAccountResourcesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 SearchMultiAccountResourcesRequest} extends {@link RequestModel}
*
* <p>SearchMultiAccountResourcesRequest</p>
*/
public class SearchMultiAccountResourcesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Filter")
private java.util.List<Filter> filter;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
@com.aliyun.core.annotation.Validation(maximum = 100, minimum = 1)
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Scope")
@com.aliyun.core.annotation.Validation(required = true)
private String scope;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SortCriterion")
private SortCriterion sortCriterion;
private SearchMultiAccountResourcesRequest(Builder builder) {
super(builder);
this.filter = builder.filter;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.scope = builder.scope;
this.sortCriterion = builder.sortCriterion;
}
public static Builder builder() {
return new Builder();
}
public static SearchMultiAccountResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return filter
*/
public java.util.List<Filter> getFilter() {
return this.filter;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return scope
*/
public String getScope() {
return this.scope;
}
/**
* @return sortCriterion
*/
public SortCriterion getSortCriterion() {
return this.sortCriterion;
}
public static final class Builder extends Request.Builder<SearchMultiAccountResourcesRequest, Builder> {
private java.util.List<Filter> filter;
private Integer maxResults;
private String nextToken;
private String scope;
private SortCriterion sortCriterion;
private Builder() {
super();
}
private Builder(SearchMultiAccountResourcesRequest request) {
super(request);
this.filter = request.filter;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.scope = request.scope;
this.sortCriterion = request.sortCriterion;
}
/**
* <p>The filter conditions.</p>
*/
public Builder filter(java.util.List<Filter> filter) {
this.putQueryParameter("Filter", filter);
this.filter = filter;
return this;
}
/**
* <p>The maximum number of entries to return on each page.</p>
* <p>Valid values: 1 to 100.</p>
* <p>Default value: 20.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
* <p>If the total number of entries returned for the current request exceeds the value of the <code>MaxResults</code> parameter, the entries are truncated. In this case, you can use the token to initiate another request and obtain the remaining entries.``</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The search scope. You can set the value to one of the following items:</p>
* <ul>
* <li>ID of a resource directory: Resources within the management account and all members of the resource directory are searched. You can call the <a href="https://help.aliyun.com/document_detail/159995.html">GetResourceDirectory</a> operation to obtain the ID.</li>
* <li>ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched. You can call the <a href="https://help.aliyun.com/document_detail/159997.html">ListFoldersForParent</a> operation to obtain the ID.</li>
* <li>ID of a folder: Resources within all members in the folder are searched. You can call the <a href="https://help.aliyun.com/document_detail/159997.html">ListFoldersForParent</a> operation to obtain the ID.</li>
* <li>ID of a member: Resources within the member are searched. You can call the <a href="https://help.aliyun.com/document_detail/160016.html">ListAccounts</a> operation to obtain the ID.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rd-r4****</p>
*/
public Builder scope(String scope) {
this.putQueryParameter("Scope", scope);
this.scope = scope;
return this;
}
/**
* <p>The method that is used to sort the entries returned.</p>
*/
public Builder sortCriterion(SortCriterion sortCriterion) {
this.putQueryParameter("SortCriterion", sortCriterion);
this.sortCriterion = sortCriterion;
return this;
}
@Override
public SearchMultiAccountResourcesRequest build() {
return new SearchMultiAccountResourcesRequest(this);
}
}
/**
*
* {@link SearchMultiAccountResourcesRequest} extends {@link TeaModel}
*
* <p>SearchMultiAccountResourcesRequest</p>
*/
public static class Filter extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("MatchType")
private String matchType;
@com.aliyun.core.annotation.NameInMap("Value")
private java.util.List<String> value;
private Filter(Builder builder) {
this.key = builder.key;
this.matchType = builder.matchType;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Filter create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return matchType
*/
public String getMatchType() {
return this.matchType;
}
/**
* @return value
*/
public java.util.List<String> getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String matchType;
private java.util.List<String> value;
private Builder() {
}
private Builder(Filter model) {
this.key = model.key;
this.matchType = model.matchType;
this.value = model.value;
}
/**
* <p>The key of the filter condition. For more information, see <code>Supported filter parameters</code>.</p>
*
* <strong>example:</strong>
* <p>ResourceGroupId</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The matching mode.</p>
* <p>The value Equals indicates an equal match.</p>
*
* <strong>example:</strong>
* <p>Equals</p>
*/
public Builder matchType(String matchType) {
this.matchType = matchType;
return this;
}
/**
* <p>The values of the filter condition.</p>
*/
public Builder value(java.util.List<String> value) {
this.value = value;
return this;
}
public Filter build() {
return new Filter(this);
}
}
}
/**
*
* {@link SearchMultiAccountResourcesRequest} extends {@link TeaModel}
*
* <p>SearchMultiAccountResourcesRequest</p>
*/
public static class SortCriterion extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Order")
private String order;
private SortCriterion(Builder builder) {
this.key = builder.key;
this.order = builder.order;
}
public static Builder builder() {
return new Builder();
}
public static SortCriterion create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return order
*/
public String getOrder() {
return this.order;
}
public static final class Builder {
private String key;
private String order;
private Builder() {
}
private Builder(SortCriterion model) {
this.key = model.key;
this.order = model.order;
}
/**
* <p>The attribute based on which the entries are sorted.</p>
* <p>The value CreateTime indicates the creation time of resources.</p>
*
* <strong>example:</strong>
* <p>CreateTime</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The order in which the entries are sorted. Valid values:</p>
* <ul>
* <li>ASC: The entries are sorted in ascending order. This value is the default value.</li>
* <li>DESC: The entries are sorted in descending order.</li>
* </ul>
*
* <strong>example:</strong>
* <p>ASC</p>
*/
public Builder order(String order) {
this.order = order;
return this;
}
public SortCriterion build() {
return new SortCriterion(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/SearchMultiAccountResourcesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 SearchMultiAccountResourcesResponse} extends {@link TeaModel}
*
* <p>SearchMultiAccountResourcesResponse</p>
*/
public class SearchMultiAccountResourcesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SearchMultiAccountResourcesResponseBody body;
private SearchMultiAccountResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SearchMultiAccountResourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SearchMultiAccountResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SearchMultiAccountResourcesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SearchMultiAccountResourcesResponseBody body);
@Override
SearchMultiAccountResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SearchMultiAccountResourcesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SearchMultiAccountResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SearchMultiAccountResourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SearchMultiAccountResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public SearchMultiAccountResourcesResponse build() {
return new SearchMultiAccountResourcesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/SearchMultiAccountResourcesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 SearchMultiAccountResourcesResponseBody} extends {@link TeaModel}
*
* <p>SearchMultiAccountResourcesResponseBody</p>
*/
public class SearchMultiAccountResourcesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Filters")
private java.util.List<Filters> filters;
@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("Resources")
private java.util.List<Resources> resources;
@com.aliyun.core.annotation.NameInMap("Scope")
private String scope;
private SearchMultiAccountResourcesResponseBody(Builder builder) {
this.filters = builder.filters;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.resources = builder.resources;
this.scope = builder.scope;
}
public static Builder builder() {
return new Builder();
}
public static SearchMultiAccountResourcesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return filters
*/
public java.util.List<Filters> getFilters() {
return this.filters;
}
/**
* @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 resources
*/
public java.util.List<Resources> getResources() {
return this.resources;
}
/**
* @return scope
*/
public String getScope() {
return this.scope;
}
public static final class Builder {
private java.util.List<Filters> filters;
private Integer maxResults;
private String nextToken;
private String requestId;
private java.util.List<Resources> resources;
private String scope;
private Builder() {
}
private Builder(SearchMultiAccountResourcesResponseBody model) {
this.filters = model.filters;
this.maxResults = model.maxResults;
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.resources = model.resources;
this.scope = model.scope;
}
/**
* <p>The filter conditions.</p>
*/
public Builder filters(java.util.List<Filters> filters) {
this.filters = filters;
return this;
}
/**
* <p>The maximum number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>EFA806B9-7F36-55AB-8B7A-D680C2C5EE57</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the resources.</p>
*/
public Builder resources(java.util.List<Resources> resources) {
this.resources = resources;
return this;
}
/**
* <p>The search scope.</p>
* <ul>
* <li>ID of a resource directory: Resources within the management account and all members of the resource directory are searched.</li>
* <li>ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched.</li>
* <li>ID of a folder: Resources within all members in the folder are searched.</li>
* <li>ID of a member: Resources within the member are searched.</li>
* </ul>
*
* <strong>example:</strong>
* <p>rd-r4****</p>
*/
public Builder scope(String scope) {
this.scope = scope;
return this;
}
public SearchMultiAccountResourcesResponseBody build() {
return new SearchMultiAccountResourcesResponseBody(this);
}
}
/**
*
* {@link SearchMultiAccountResourcesResponseBody} extends {@link TeaModel}
*
* <p>SearchMultiAccountResourcesResponseBody</p>
*/
public static class Filters extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("MatchType")
private String matchType;
@com.aliyun.core.annotation.NameInMap("Values")
private java.util.List<String> values;
private Filters(Builder builder) {
this.key = builder.key;
this.matchType = builder.matchType;
this.values = builder.values;
}
public static Builder builder() {
return new Builder();
}
public static Filters create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return matchType
*/
public String getMatchType() {
return this.matchType;
}
/**
* @return values
*/
public java.util.List<String> getValues() {
return this.values;
}
public static final class Builder {
private String key;
private String matchType;
private java.util.List<String> values;
private Builder() {
}
private Builder(Filters model) {
this.key = model.key;
this.matchType = model.matchType;
this.values = model.values;
}
/**
* <p>The key of the filter condition.</p>
*
* <strong>example:</strong>
* <p>RegionId</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The matching mode.</p>
*
* <strong>example:</strong>
* <p>Equals</p>
*/
public Builder matchType(String matchType) {
this.matchType = matchType;
return this;
}
/**
* <p>The values of the filter condition.</p>
*/
public Builder values(java.util.List<String> values) {
this.values = values;
return this;
}
public Filters build() {
return new Filters(this);
}
}
}
/**
*
* {@link SearchMultiAccountResourcesResponseBody} extends {@link TeaModel}
*
* <p>SearchMultiAccountResourcesResponseBody</p>
*/
public static class IpAddressAttributes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("IpAddress")
private String ipAddress;
@com.aliyun.core.annotation.NameInMap("NetworkType")
private String networkType;
@com.aliyun.core.annotation.NameInMap("Version")
private String version;
private IpAddressAttributes(Builder builder) {
this.ipAddress = builder.ipAddress;
this.networkType = builder.networkType;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static IpAddressAttributes create() {
return builder().build();
}
/**
* @return ipAddress
*/
public String getIpAddress() {
return this.ipAddress;
}
/**
* @return networkType
*/
public String getNetworkType() {
return this.networkType;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder {
private String ipAddress;
private String networkType;
private String version;
private Builder() {
}
private Builder(IpAddressAttributes model) {
this.ipAddress = model.ipAddress;
this.networkType = model.networkType;
this.version = model.version;
}
/**
* <p>The IP address.</p>
*
* <strong>example:</strong>
* <p>192.168.1.2</p>
*/
public Builder ipAddress(String ipAddress) {
this.ipAddress = ipAddress;
return this;
}
/**
* <p>The network type. Valid values:</p>
* <ul>
* <li><strong>Public</strong>: the Internet</li>
* <li><strong>Private</strong>: internal network</li>
* </ul>
*
* <strong>example:</strong>
* <p>Public</p>
*/
public Builder networkType(String networkType) {
this.networkType = networkType;
return this;
}
/**
* <p>The version.</p>
*
* <strong>example:</strong>
* <p>Ipv4</p>
*/
public Builder version(String version) {
this.version = version;
return this;
}
public IpAddressAttributes build() {
return new IpAddressAttributes(this);
}
}
}
/**
*
* {@link SearchMultiAccountResourcesResponseBody} extends {@link TeaModel}
*
* <p>SearchMultiAccountResourcesResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tags(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tags 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;
private Builder() {
}
private Builder(Tags model) {
this.key = model.key;
this.value = model.value;
}
/**
* <p>The key of tag N.</p>
*
* <strong>example:</strong>
* <p>test_key</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The value of tag N.</p>
*
* <strong>example:</strong>
* <p>test_value</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
/**
*
* {@link SearchMultiAccountResourcesResponseBody} extends {@link TeaModel}
*
* <p>SearchMultiAccountResourcesResponseBody</p>
*/
public static class Resources extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("ExpireTime")
private String expireTime;
@com.aliyun.core.annotation.NameInMap("IpAddressAttributes")
private java.util.List<IpAddressAttributes> ipAddressAttributes;
@com.aliyun.core.annotation.NameInMap("IpAddresses")
private java.util.List<String> ipAddresses;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.NameInMap("ResourceId")
private String resourceId;
@com.aliyun.core.annotation.NameInMap("ResourceName")
private String resourceName;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("Tags")
private java.util.List<Tags> tags;
@com.aliyun.core.annotation.NameInMap("ZoneId")
private String zoneId;
private Resources(Builder builder) {
this.accountId = builder.accountId;
this.createTime = builder.createTime;
this.expireTime = builder.expireTime;
this.ipAddressAttributes = builder.ipAddressAttributes;
this.ipAddresses = builder.ipAddresses;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceId = builder.resourceId;
this.resourceName = builder.resourceName;
this.resourceType = builder.resourceType;
this.tags = builder.tags;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static Resources create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return expireTime
*/
public String getExpireTime() {
return this.expireTime;
}
/**
* @return ipAddressAttributes
*/
public java.util.List<IpAddressAttributes> getIpAddressAttributes() {
return this.ipAddressAttributes;
}
/**
* @return ipAddresses
*/
public java.util.List<String> getIpAddresses() {
return this.ipAddresses;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceName
*/
public String getResourceName() {
return this.resourceName;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder {
private String accountId;
private String createTime;
private String expireTime;
private java.util.List<IpAddressAttributes> ipAddressAttributes;
private java.util.List<String> ipAddresses;
private String regionId;
private String resourceGroupId;
private String resourceId;
private String resourceName;
private String resourceType;
private java.util.List<Tags> tags;
private String zoneId;
private Builder() {
}
private Builder(Resources model) {
this.accountId = model.accountId;
this.createTime = model.createTime;
this.expireTime = model.expireTime;
this.ipAddressAttributes = model.ipAddressAttributes;
this.ipAddresses = model.ipAddresses;
this.regionId = model.regionId;
this.resourceGroupId = model.resourceGroupId;
this.resourceId = model.resourceId;
this.resourceName = model.resourceName;
this.resourceType = model.resourceType;
this.tags = model.tags;
this.zoneId = model.zoneId;
}
/**
* <p>The ID of the management account or member of the resource directory.</p>
*
* <strong>example:</strong>
* <p>151266687691****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The time when the resource was created.</p>
* <blockquote>
* <p> Whether this parameter is returned is determined by the Alibaba Cloud service to which the resource belongs.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>2021-06-30T09:20:08Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The time when the resource expires.</p>
*
* <strong>example:</strong>
* <p>2023-06-14T14:35:45Z</p>
*/
public Builder expireTime(String expireTime) {
this.expireTime = expireTime;
return this;
}
/**
* <p>The attributes of the IP address.</p>
*/
public Builder ipAddressAttributes(java.util.List<IpAddressAttributes> ipAddressAttributes) {
this.ipAddressAttributes = ipAddressAttributes;
return this;
}
/**
* <p>The IP addresses.</p>
* <blockquote>
* <p> Whether this parameter is returned is determined by the Alibaba Cloud service to which the resource belongs.</p>
* </blockquote>
*/
public Builder ipAddresses(java.util.List<String> ipAddresses) {
this.ipAddresses = ipAddresses;
return this;
}
/**
* <p>The region ID.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The resource group ID.</p>
*
* <strong>example:</strong>
* <p>rg-acfmzawhxxc****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The resource ID.</p>
*
* <strong>example:</strong>
* <p>vtb-bp11lbh452fr8940s****</p>
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* <p>The resource name.</p>
*
* <strong>example:</strong>
* <p>group1</p>
*/
public Builder resourceName(String resourceName) {
this.resourceName = resourceName;
return this;
}
/**
* <p>The resource type.</p>
*
* <strong>example:</strong>
* <p>ACS::VPC::RouteTable</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* <p>The tags.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
this.tags = tags;
return this;
}
/**
* <p>The zone ID.</p>
* <blockquote>
* <p> Whether this parameter is returned is determined by the Alibaba Cloud service to which the resource belongs.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>cn-hangzhou-k</p>
*/
public Builder zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public Resources build() {
return new Resources(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/SearchResourcesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 SearchResourcesRequest} extends {@link RequestModel}
*
* <p>SearchResourcesRequest</p>
*/
public class SearchResourcesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Filter")
private java.util.List<Filter> filter;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
@com.aliyun.core.annotation.Validation(maximum = 500, minimum = 1)
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SortCriterion")
private SortCriterion sortCriterion;
private SearchResourcesRequest(Builder builder) {
super(builder);
this.filter = builder.filter;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.resourceGroupId = builder.resourceGroupId;
this.sortCriterion = builder.sortCriterion;
}
public static Builder builder() {
return new Builder();
}
public static SearchResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return filter
*/
public java.util.List<Filter> getFilter() {
return this.filter;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return sortCriterion
*/
public SortCriterion getSortCriterion() {
return this.sortCriterion;
}
public static final class Builder extends Request.Builder<SearchResourcesRequest, Builder> {
private java.util.List<Filter> filter;
private Integer maxResults;
private String nextToken;
private String resourceGroupId;
private SortCriterion sortCriterion;
private Builder() {
super();
}
private Builder(SearchResourcesRequest request) {
super(request);
this.filter = request.filter;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.resourceGroupId = request.resourceGroupId;
this.sortCriterion = request.sortCriterion;
}
/**
* <p>The filter conditions.</p>
*/
public Builder filter(java.util.List<Filter> filter) {
this.putQueryParameter("Filter", filter);
this.filter = filter;
return this;
}
/**
* <p>The maximum number of entries per page.</p>
* <p>Valid values: 1 to 100.</p>
* <p>Default value: 20.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
* <p>If the total number of entries returned for the current request exceeds the value of the <code>MaxResults</code> parameter, the entries are truncated. In this case, you can use the <code>token</code> to initiate another request and obtain the remaining entries.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-acfmzawhxxc****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The method that is used to sort the entries returned.</p>
*/
public Builder sortCriterion(SortCriterion sortCriterion) {
this.putQueryParameter("SortCriterion", sortCriterion);
this.sortCriterion = sortCriterion;
return this;
}
@Override
public SearchResourcesRequest build() {
return new SearchResourcesRequest(this);
}
}
/**
*
* {@link SearchResourcesRequest} extends {@link TeaModel}
*
* <p>SearchResourcesRequest</p>
*/
public static class Filter extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("MatchType")
private String matchType;
@com.aliyun.core.annotation.NameInMap("Value")
private java.util.List<String> value;
private Filter(Builder builder) {
this.key = builder.key;
this.matchType = builder.matchType;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Filter create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return matchType
*/
public String getMatchType() {
return this.matchType;
}
/**
* @return value
*/
public java.util.List<String> getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String matchType;
private java.util.List<String> value;
private Builder() {
}
private Builder(Filter model) {
this.key = model.key;
this.matchType = model.matchType;
this.value = model.value;
}
/**
* <p>The key of the filter condition. For more information, see <code>Supported filter parameters</code>.</p>
*
* <strong>example:</strong>
* <p>RegionId</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The matching mode.</p>
* <p>The value Equals indicates an equal match.</p>
*
* <strong>example:</strong>
* <p>Equals</p>
*/
public Builder matchType(String matchType) {
this.matchType = matchType;
return this;
}
/**
* <p>The values of the filter condition.</p>
*/
public Builder value(java.util.List<String> value) {
this.value = value;
return this;
}
public Filter build() {
return new Filter(this);
}
}
}
/**
*
* {@link SearchResourcesRequest} extends {@link TeaModel}
*
* <p>SearchResourcesRequest</p>
*/
public static class SortCriterion extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Order")
private String order;
private SortCriterion(Builder builder) {
this.key = builder.key;
this.order = builder.order;
}
public static Builder builder() {
return new Builder();
}
public static SortCriterion create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return order
*/
public String getOrder() {
return this.order;
}
public static final class Builder {
private String key;
private String order;
private Builder() {
}
private Builder(SortCriterion model) {
this.key = model.key;
this.order = model.order;
}
/**
* <p>The attribute based on which the entries are sorted.</p>
* <p>The value CreateTime indicates the creation time of resources.</p>
*
* <strong>example:</strong>
* <p>CreateTime</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The order in which the entries are sorted. Valid values:</p>
* <ul>
* <li>ASC: The entries are sorted in ascending order. This value is the default value.</li>
* <li>DESC: The entries are sorted in descending order.</li>
* </ul>
*
* <strong>example:</strong>
* <p>ASC</p>
*/
public Builder order(String order) {
this.order = order;
return this;
}
public SortCriterion build() {
return new SortCriterion(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/SearchResourcesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 SearchResourcesResponse} extends {@link TeaModel}
*
* <p>SearchResourcesResponse</p>
*/
public class SearchResourcesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private SearchResourcesResponseBody body;
private SearchResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SearchResourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public SearchResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SearchResourcesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(SearchResourcesResponseBody body);
@Override
SearchResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SearchResourcesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private SearchResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(SearchResourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(SearchResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public SearchResourcesResponse build() {
return new SearchResourcesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/SearchResourcesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 SearchResourcesResponseBody} extends {@link TeaModel}
*
* <p>SearchResourcesResponseBody</p>
*/
public class SearchResourcesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Filters")
private java.util.List<Filters> filters;
@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("Resources")
private java.util.List<Resources> resources;
private SearchResourcesResponseBody(Builder builder) {
this.filters = builder.filters;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.resources = builder.resources;
}
public static Builder builder() {
return new Builder();
}
public static SearchResourcesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return filters
*/
public java.util.List<Filters> getFilters() {
return this.filters;
}
/**
* @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 resources
*/
public java.util.List<Resources> getResources() {
return this.resources;
}
public static final class Builder {
private java.util.List<Filters> filters;
private Integer maxResults;
private String nextToken;
private String requestId;
private java.util.List<Resources> resources;
private Builder() {
}
private Builder(SearchResourcesResponseBody model) {
this.filters = model.filters;
this.maxResults = model.maxResults;
this.nextToken = model.nextToken;
this.requestId = model.requestId;
this.resources = model.resources;
}
/**
* <p>The filter conditions.</p>
*/
public Builder filters(java.util.List<Filters> filters) {
this.filters = filters;
return this;
}
/**
* <p>The maximum number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder maxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
/**
* <p>The pagination token that is used in the next request to retrieve a new page of results.</p>
*
* <strong>example:</strong>
* <p>eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>D696E6EF-3A6D-5770-801E-4982081FE4D0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the resources.</p>
*/
public Builder resources(java.util.List<Resources> resources) {
this.resources = resources;
return this;
}
public SearchResourcesResponseBody build() {
return new SearchResourcesResponseBody(this);
}
}
/**
*
* {@link SearchResourcesResponseBody} extends {@link TeaModel}
*
* <p>SearchResourcesResponseBody</p>
*/
public static class Filters extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("MatchType")
private String matchType;
@com.aliyun.core.annotation.NameInMap("Values")
private java.util.List<String> values;
private Filters(Builder builder) {
this.key = builder.key;
this.matchType = builder.matchType;
this.values = builder.values;
}
public static Builder builder() {
return new Builder();
}
public static Filters create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return matchType
*/
public String getMatchType() {
return this.matchType;
}
/**
* @return values
*/
public java.util.List<String> getValues() {
return this.values;
}
public static final class Builder {
private String key;
private String matchType;
private java.util.List<String> values;
private Builder() {
}
private Builder(Filters model) {
this.key = model.key;
this.matchType = model.matchType;
this.values = model.values;
}
/**
* <p>The key of the filter condition.</p>
*
* <strong>example:</strong>
* <p>RegionId</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The matching mode.</p>
*
* <strong>example:</strong>
* <p>Equals</p>
*/
public Builder matchType(String matchType) {
this.matchType = matchType;
return this;
}
/**
* <p>The values of the filter condition.</p>
*/
public Builder values(java.util.List<String> values) {
this.values = values;
return this;
}
public Filters build() {
return new Filters(this);
}
}
}
/**
*
* {@link SearchResourcesResponseBody} extends {@link TeaModel}
*
* <p>SearchResourcesResponseBody</p>
*/
public static class IpAddressAttributes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("IpAddress")
private String ipAddress;
@com.aliyun.core.annotation.NameInMap("NetworkType")
private String networkType;
@com.aliyun.core.annotation.NameInMap("Version")
private String version;
private IpAddressAttributes(Builder builder) {
this.ipAddress = builder.ipAddress;
this.networkType = builder.networkType;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static IpAddressAttributes create() {
return builder().build();
}
/**
* @return ipAddress
*/
public String getIpAddress() {
return this.ipAddress;
}
/**
* @return networkType
*/
public String getNetworkType() {
return this.networkType;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder {
private String ipAddress;
private String networkType;
private String version;
private Builder() {
}
private Builder(IpAddressAttributes model) {
this.ipAddress = model.ipAddress;
this.networkType = model.networkType;
this.version = model.version;
}
/**
* <p>The IP address.</p>
*
* <strong>example:</strong>
* <p>192.168.1.2</p>
*/
public Builder ipAddress(String ipAddress) {
this.ipAddress = ipAddress;
return this;
}
/**
* <p>The network type. Valid values:</p>
* <ul>
* <li><strong>Public</strong>: the Internet</li>
* <li><strong>Private</strong>: internal network</li>
* </ul>
*
* <strong>example:</strong>
* <p>Public</p>
*/
public Builder networkType(String networkType) {
this.networkType = networkType;
return this;
}
/**
* <p>The version.</p>
*
* <strong>example:</strong>
* <p>Ipv4</p>
*/
public Builder version(String version) {
this.version = version;
return this;
}
public IpAddressAttributes build() {
return new IpAddressAttributes(this);
}
}
}
/**
*
* {@link SearchResourcesResponseBody} extends {@link TeaModel}
*
* <p>SearchResourcesResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tags(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tags 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;
private Builder() {
}
private Builder(Tags model) {
this.key = model.key;
this.value = model.value;
}
/**
* <p>The key of tag N.</p>
*
* <strong>example:</strong>
* <p>test_key</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The value of tag N.</p>
*
* <strong>example:</strong>
* <p>test_value</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
/**
*
* {@link SearchResourcesResponseBody} extends {@link TeaModel}
*
* <p>SearchResourcesResponseBody</p>
*/
public static class Resources extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("ExpireTime")
private String expireTime;
@com.aliyun.core.annotation.NameInMap("IpAddressAttributes")
private java.util.List<IpAddressAttributes> ipAddressAttributes;
@com.aliyun.core.annotation.NameInMap("IpAddresses")
private java.util.List<String> ipAddresses;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.NameInMap("ResourceId")
private String resourceId;
@com.aliyun.core.annotation.NameInMap("ResourceName")
private String resourceName;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("Tags")
private java.util.List<Tags> tags;
@com.aliyun.core.annotation.NameInMap("ZoneId")
private String zoneId;
private Resources(Builder builder) {
this.accountId = builder.accountId;
this.createTime = builder.createTime;
this.expireTime = builder.expireTime;
this.ipAddressAttributes = builder.ipAddressAttributes;
this.ipAddresses = builder.ipAddresses;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceId = builder.resourceId;
this.resourceName = builder.resourceName;
this.resourceType = builder.resourceType;
this.tags = builder.tags;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static Resources create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return expireTime
*/
public String getExpireTime() {
return this.expireTime;
}
/**
* @return ipAddressAttributes
*/
public java.util.List<IpAddressAttributes> getIpAddressAttributes() {
return this.ipAddressAttributes;
}
/**
* @return ipAddresses
*/
public java.util.List<String> getIpAddresses() {
return this.ipAddresses;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceName
*/
public String getResourceName() {
return this.resourceName;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder {
private String accountId;
private String createTime;
private String expireTime;
private java.util.List<IpAddressAttributes> ipAddressAttributes;
private java.util.List<String> ipAddresses;
private String regionId;
private String resourceGroupId;
private String resourceId;
private String resourceName;
private String resourceType;
private java.util.List<Tags> tags;
private String zoneId;
private Builder() {
}
private Builder(Resources model) {
this.accountId = model.accountId;
this.createTime = model.createTime;
this.expireTime = model.expireTime;
this.ipAddressAttributes = model.ipAddressAttributes;
this.ipAddresses = model.ipAddresses;
this.regionId = model.regionId;
this.resourceGroupId = model.resourceGroupId;
this.resourceId = model.resourceId;
this.resourceName = model.resourceName;
this.resourceType = model.resourceType;
this.tags = model.tags;
this.zoneId = model.zoneId;
}
/**
* <p>The ID of the Alibaba Cloud account.</p>
*
* <strong>example:</strong>
* <p>151266687691****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The time when the resource was created.</p>
* <blockquote>
* <p> Whether this parameter is returned is determined by the Alibaba Cloud service to which the resource belongs.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>2021-06-30T09:20:08Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The time when the resource expires.</p>
*
* <strong>example:</strong>
* <p>2021-07-30T09:20:08Z</p>
*/
public Builder expireTime(String expireTime) {
this.expireTime = expireTime;
return this;
}
/**
* <p>The attributes of the IP address.</p>
*/
public Builder ipAddressAttributes(java.util.List<IpAddressAttributes> ipAddressAttributes) {
this.ipAddressAttributes = ipAddressAttributes;
return this;
}
/**
* <p>The IP addresses.</p>
* <blockquote>
* <p> Whether this parameter is returned is determined by the Alibaba Cloud service to which the resource belongs.</p>
* </blockquote>
*/
public Builder ipAddresses(java.util.List<String> ipAddresses) {
this.ipAddresses = ipAddresses;
return this;
}
/**
* <p>The region ID.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The resource group ID.</p>
*
* <strong>example:</strong>
* <p>rg-acfmzawhxxc****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The resource ID.</p>
*
* <strong>example:</strong>
* <p>vtb-bp11lbh452fr8940s****</p>
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* <p>The resource name.</p>
*
* <strong>example:</strong>
* <p>group1</p>
*/
public Builder resourceName(String resourceName) {
this.resourceName = resourceName;
return this;
}
/**
* <p>The resource type.</p>
*
* <strong>example:</strong>
* <p>ACS::VPC::RouteTable</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* <p>The tags.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
this.tags = tags;
return this;
}
/**
* <p>The zone ID.</p>
* <blockquote>
* <p> Whether this parameter is returned is determined by the Alibaba Cloud service to which the resource belongs.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>cn-hangzhou-k</p>
*/
public Builder zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public Resources build() {
return new Resources(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/UpdateDeliveryChannelRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 UpdateDeliveryChannelRequest} extends {@link RequestModel}
*
* <p>UpdateDeliveryChannelRequest</p>
*/
public class UpdateDeliveryChannelRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeliveryChannelDescription")
private String deliveryChannelDescription;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeliveryChannelFilter")
private DeliveryChannelFilter deliveryChannelFilter;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeliveryChannelId")
@com.aliyun.core.annotation.Validation(required = true)
private String deliveryChannelId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeliveryChannelName")
private String deliveryChannelName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceChangeDelivery")
private ResourceChangeDelivery resourceChangeDelivery;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceSnapshotDelivery")
private ResourceSnapshotDelivery resourceSnapshotDelivery;
private UpdateDeliveryChannelRequest(Builder builder) {
super(builder);
this.deliveryChannelDescription = builder.deliveryChannelDescription;
this.deliveryChannelFilter = builder.deliveryChannelFilter;
this.deliveryChannelId = builder.deliveryChannelId;
this.deliveryChannelName = builder.deliveryChannelName;
this.resourceChangeDelivery = builder.resourceChangeDelivery;
this.resourceSnapshotDelivery = builder.resourceSnapshotDelivery;
}
public static Builder builder() {
return new Builder();
}
public static UpdateDeliveryChannelRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deliveryChannelDescription
*/
public String getDeliveryChannelDescription() {
return this.deliveryChannelDescription;
}
/**
* @return deliveryChannelFilter
*/
public DeliveryChannelFilter getDeliveryChannelFilter() {
return this.deliveryChannelFilter;
}
/**
* @return deliveryChannelId
*/
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
/**
* @return deliveryChannelName
*/
public String getDeliveryChannelName() {
return this.deliveryChannelName;
}
/**
* @return resourceChangeDelivery
*/
public ResourceChangeDelivery getResourceChangeDelivery() {
return this.resourceChangeDelivery;
}
/**
* @return resourceSnapshotDelivery
*/
public ResourceSnapshotDelivery getResourceSnapshotDelivery() {
return this.resourceSnapshotDelivery;
}
public static final class Builder extends Request.Builder<UpdateDeliveryChannelRequest, Builder> {
private String deliveryChannelDescription;
private DeliveryChannelFilter deliveryChannelFilter;
private String deliveryChannelId;
private String deliveryChannelName;
private ResourceChangeDelivery resourceChangeDelivery;
private ResourceSnapshotDelivery resourceSnapshotDelivery;
private Builder() {
super();
}
private Builder(UpdateDeliveryChannelRequest request) {
super(request);
this.deliveryChannelDescription = request.deliveryChannelDescription;
this.deliveryChannelFilter = request.deliveryChannelFilter;
this.deliveryChannelId = request.deliveryChannelId;
this.deliveryChannelName = request.deliveryChannelName;
this.resourceChangeDelivery = request.resourceChangeDelivery;
this.resourceSnapshotDelivery = request.resourceSnapshotDelivery;
}
/**
* <p>The description of the delivery channel.</p>
*/
public Builder deliveryChannelDescription(String deliveryChannelDescription) {
this.putQueryParameter("DeliveryChannelDescription", deliveryChannelDescription);
this.deliveryChannelDescription = deliveryChannelDescription;
return this;
}
/**
* <p>The effective scope of the delivery channel.</p>
*/
public Builder deliveryChannelFilter(DeliveryChannelFilter deliveryChannelFilter) {
this.putQueryParameter("DeliveryChannelFilter", deliveryChannelFilter);
this.deliveryChannelFilter = deliveryChannelFilter;
return this;
}
/**
* <p>The ID of the delivery channel.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>dc-4m6ffpkgu***</p>
*/
public Builder deliveryChannelId(String deliveryChannelId) {
this.putQueryParameter("DeliveryChannelId", deliveryChannelId);
this.deliveryChannelId = deliveryChannelId;
return this;
}
/**
* <p>The name of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>test-delivery-channel</p>
*/
public Builder deliveryChannelName(String deliveryChannelName) {
this.putQueryParameter("DeliveryChannelName", deliveryChannelName);
this.deliveryChannelName = deliveryChannelName;
return this;
}
/**
* <p>The configurations for delivery of resource configuration change events.</p>
*/
public Builder resourceChangeDelivery(ResourceChangeDelivery resourceChangeDelivery) {
this.putQueryParameter("ResourceChangeDelivery", resourceChangeDelivery);
this.resourceChangeDelivery = resourceChangeDelivery;
return this;
}
/**
* <p>The configurations for delivery of scheduled resource snapshots.</p>
*/
public Builder resourceSnapshotDelivery(ResourceSnapshotDelivery resourceSnapshotDelivery) {
this.putQueryParameter("ResourceSnapshotDelivery", resourceSnapshotDelivery);
this.resourceSnapshotDelivery = resourceSnapshotDelivery;
return this;
}
@Override
public UpdateDeliveryChannelRequest build() {
return new UpdateDeliveryChannelRequest(this);
}
}
/**
*
* {@link UpdateDeliveryChannelRequest} extends {@link TeaModel}
*
* <p>UpdateDeliveryChannelRequest</p>
*/
public static class DeliveryChannelFilter extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ResourceTypes")
private java.util.List<String> resourceTypes;
private DeliveryChannelFilter(Builder builder) {
this.resourceTypes = builder.resourceTypes;
}
public static Builder builder() {
return new Builder();
}
public static DeliveryChannelFilter create() {
return builder().build();
}
/**
* @return resourceTypes
*/
public java.util.List<String> getResourceTypes() {
return this.resourceTypes;
}
public static final class Builder {
private java.util.List<String> resourceTypes;
private Builder() {
}
private Builder(DeliveryChannelFilter model) {
this.resourceTypes = model.resourceTypes;
}
/**
* <p>The effective resource types of the delivery channel.</p>
*/
public Builder resourceTypes(java.util.List<String> resourceTypes) {
this.resourceTypes = resourceTypes;
return this;
}
public DeliveryChannelFilter build() {
return new DeliveryChannelFilter(this);
}
}
}
/**
*
* {@link UpdateDeliveryChannelRequest} extends {@link TeaModel}
*
* <p>UpdateDeliveryChannelRequest</p>
*/
public static class SlsProperties extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OversizedDataOssTargetArn")
private String oversizedDataOssTargetArn;
private SlsProperties(Builder builder) {
this.oversizedDataOssTargetArn = builder.oversizedDataOssTargetArn;
}
public static Builder builder() {
return new Builder();
}
public static SlsProperties create() {
return builder().build();
}
/**
* @return oversizedDataOssTargetArn
*/
public String getOversizedDataOssTargetArn() {
return this.oversizedDataOssTargetArn;
}
public static final class Builder {
private String oversizedDataOssTargetArn;
private Builder() {
}
private Builder(SlsProperties model) {
this.oversizedDataOssTargetArn = model.oversizedDataOssTargetArn;
}
/**
* <p>The ARN of the destination to which large files are delivered.</p>
* <p>If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. You need to set this parameter to the ARN of a bucket whose name is prefixed with <code>resourcecenter-</code>.</p>
*
* <strong>example:</strong>
* <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p>
*/
public Builder oversizedDataOssTargetArn(String oversizedDataOssTargetArn) {
this.oversizedDataOssTargetArn = oversizedDataOssTargetArn;
return this;
}
public SlsProperties build() {
return new SlsProperties(this);
}
}
}
/**
*
* {@link UpdateDeliveryChannelRequest} extends {@link TeaModel}
*
* <p>UpdateDeliveryChannelRequest</p>
*/
public static class ResourceChangeDelivery extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Enabled")
private String enabled;
@com.aliyun.core.annotation.NameInMap("SlsProperties")
private SlsProperties slsProperties;
@com.aliyun.core.annotation.NameInMap("TargetArn")
private String targetArn;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private ResourceChangeDelivery(Builder builder) {
this.enabled = builder.enabled;
this.slsProperties = builder.slsProperties;
this.targetArn = builder.targetArn;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static ResourceChangeDelivery create() {
return builder().build();
}
/**
* @return enabled
*/
public String getEnabled() {
return this.enabled;
}
/**
* @return slsProperties
*/
public SlsProperties getSlsProperties() {
return this.slsProperties;
}
/**
* @return targetArn
*/
public String getTargetArn() {
return this.targetArn;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String enabled;
private SlsProperties slsProperties;
private String targetArn;
private String targetType;
private Builder() {
}
private Builder(ResourceChangeDelivery model) {
this.enabled = model.enabled;
this.slsProperties = model.slsProperties;
this.targetArn = model.targetArn;
this.targetType = model.targetType;
}
/**
* <p>Specifies whether to enable delivery of resource configuration change events. Valid values:</p>
* <ul>
* <li>true</li>
* <li>false</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder enabled(String enabled) {
this.enabled = enabled;
return this;
}
/**
* <p>The Simple Log Service configurations.</p>
*/
public Builder slsProperties(SlsProperties slsProperties) {
this.slsProperties = slsProperties;
return this;
}
/**
* <p>The ARN of the delivery destination. Valid values:</p>
* <ul>
* <li>If you set <code>TargetType</code> to <code>OSS</code>, you must set <code>TargetArn</code> to the ARN of a bucket whose name is prefixed with <code>resourcecenter-</code>.</li>
* <li>If you set <code>TargetType</code> to <code>SLS</code>, you must set <code>TargetArn</code> to the ARN of a Logstore whose name is prefixed with <code>resourcecenter-</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls</p>
*/
public Builder targetArn(String targetArn) {
this.targetArn = targetArn;
return this;
}
/**
* <p>The type of the delivery destination.</p>
* <p>Set the value to <code>SLS</code>.</p>
*
* <strong>example:</strong>
* <p>SLS</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public ResourceChangeDelivery build() {
return new ResourceChangeDelivery(this);
}
}
}
/**
*
* {@link UpdateDeliveryChannelRequest} extends {@link TeaModel}
*
* <p>UpdateDeliveryChannelRequest</p>
*/
public static class ResourceSnapshotDeliverySlsProperties extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OversizedDataOssTargetArn")
private String oversizedDataOssTargetArn;
private ResourceSnapshotDeliverySlsProperties(Builder builder) {
this.oversizedDataOssTargetArn = builder.oversizedDataOssTargetArn;
}
public static Builder builder() {
return new Builder();
}
public static ResourceSnapshotDeliverySlsProperties create() {
return builder().build();
}
/**
* @return oversizedDataOssTargetArn
*/
public String getOversizedDataOssTargetArn() {
return this.oversizedDataOssTargetArn;
}
public static final class Builder {
private String oversizedDataOssTargetArn;
private Builder() {
}
private Builder(ResourceSnapshotDeliverySlsProperties model) {
this.oversizedDataOssTargetArn = model.oversizedDataOssTargetArn;
}
/**
* <p>The ARN of the destination to which large files are delivered.</p>
* <p>If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. You need to set this parameter to the ARN of a bucket whose name is prefixed with <code>resourcecenter-</code>.</p>
* <blockquote>
* <p> This parameter takes effect only if you use custom delivery for scheduled resource snapshots. You do not need to configure this parameter if you use standard delivery for scheduled resource snapshots.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p>
*/
public Builder oversizedDataOssTargetArn(String oversizedDataOssTargetArn) {
this.oversizedDataOssTargetArn = oversizedDataOssTargetArn;
return this;
}
public ResourceSnapshotDeliverySlsProperties build() {
return new ResourceSnapshotDeliverySlsProperties(this);
}
}
}
/**
*
* {@link UpdateDeliveryChannelRequest} extends {@link TeaModel}
*
* <p>UpdateDeliveryChannelRequest</p>
*/
public static class ResourceSnapshotDelivery extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CustomExpression")
private String customExpression;
@com.aliyun.core.annotation.NameInMap("DeliveryTime")
private String deliveryTime;
@com.aliyun.core.annotation.NameInMap("Enabled")
private String enabled;
@com.aliyun.core.annotation.NameInMap("SlsProperties")
private ResourceSnapshotDeliverySlsProperties slsProperties;
@com.aliyun.core.annotation.NameInMap("TargetArn")
private String targetArn;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private ResourceSnapshotDelivery(Builder builder) {
this.customExpression = builder.customExpression;
this.deliveryTime = builder.deliveryTime;
this.enabled = builder.enabled;
this.slsProperties = builder.slsProperties;
this.targetArn = builder.targetArn;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static ResourceSnapshotDelivery create() {
return builder().build();
}
/**
* @return customExpression
*/
public String getCustomExpression() {
return this.customExpression;
}
/**
* @return deliveryTime
*/
public String getDeliveryTime() {
return this.deliveryTime;
}
/**
* @return enabled
*/
public String getEnabled() {
return this.enabled;
}
/**
* @return slsProperties
*/
public ResourceSnapshotDeliverySlsProperties getSlsProperties() {
return this.slsProperties;
}
/**
* @return targetArn
*/
public String getTargetArn() {
return this.targetArn;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String customExpression;
private String deliveryTime;
private String enabled;
private ResourceSnapshotDeliverySlsProperties slsProperties;
private String targetArn;
private String targetType;
private Builder() {
}
private Builder(ResourceSnapshotDelivery model) {
this.customExpression = model.customExpression;
this.deliveryTime = model.deliveryTime;
this.enabled = model.enabled;
this.slsProperties = model.slsProperties;
this.targetArn = model.targetArn;
this.targetType = model.targetType;
}
/**
* <p>The custom expression.</p>
*
* <strong>example:</strong>
* <p>select * from resources limit 100;</p>
*/
public Builder customExpression(String customExpression) {
this.customExpression = customExpression;
return this;
}
/**
* <p>The delivery time.</p>
*
* <strong>example:</strong>
* <p>09:00Z</p>
*/
public Builder deliveryTime(String deliveryTime) {
this.deliveryTime = deliveryTime;
return this;
}
/**
* <p>Specifies whether to enable delivery of scheduled resource snapshots. Valid values:</p>
* <ul>
* <li>true</li>
* <li>false</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder enabled(String enabled) {
this.enabled = enabled;
return this;
}
/**
* <p>The Simple Log Service configurations.</p>
*/
public Builder slsProperties(ResourceSnapshotDeliverySlsProperties slsProperties) {
this.slsProperties = slsProperties;
return this;
}
/**
* <p>The Alibaba Cloud Resource Name (ARN) of the delivery destination. Valid values:</p>
* <ul>
* <li>If you set <code>TargetType</code> to <code>OSS</code>, you must set <code>TargetArn</code> to the ARN of a bucket whose name is prefixed with <code>resourcecenter-</code>. Example: <code>acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss</code>.</li>
* <li>If you set <code>TargetType</code> to <code>SLS</code>, you must set <code>TargetArn</code> to the ARN of a Logstore whose name is prefixed with <code>resourcecenter-</code>. Example: <code>acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p>
*/
public Builder targetArn(String targetArn) {
this.targetArn = targetArn;
return this;
}
/**
* <p>The type of the delivery destination. Valid values:</p>
* <ul>
* <li><code>OSS</code> for standard delivery</li>
* <li><code>OSS</code> or <code>SLS</code> for custom delivery</li>
* </ul>
*
* <strong>example:</strong>
* <p>OSS</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public ResourceSnapshotDelivery build() {
return new ResourceSnapshotDelivery(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/UpdateDeliveryChannelResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 UpdateDeliveryChannelResponse} extends {@link TeaModel}
*
* <p>UpdateDeliveryChannelResponse</p>
*/
public class UpdateDeliveryChannelResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private UpdateDeliveryChannelResponseBody body;
private UpdateDeliveryChannelResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateDeliveryChannelResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateDeliveryChannelResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateDeliveryChannelResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateDeliveryChannelResponseBody body);
@Override
UpdateDeliveryChannelResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateDeliveryChannelResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateDeliveryChannelResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateDeliveryChannelResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateDeliveryChannelResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateDeliveryChannelResponse build() {
return new UpdateDeliveryChannelResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/UpdateDeliveryChannelResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 UpdateDeliveryChannelResponseBody} extends {@link TeaModel}
*
* <p>UpdateDeliveryChannelResponseBody</p>
*/
public class UpdateDeliveryChannelResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UpdateDeliveryChannelResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateDeliveryChannelResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
private Builder() {
}
private Builder(UpdateDeliveryChannelResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>AD5F848D-CCDC-5464-93E1-4BA50A482***</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateDeliveryChannelResponseBody build() {
return new UpdateDeliveryChannelResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/UpdateFilterRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 UpdateFilterRequest} extends {@link RequestModel}
*
* <p>UpdateFilterRequest</p>
*/
public class UpdateFilterRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("FilterConfiguration")
@com.aliyun.core.annotation.Validation(required = true)
private String filterConfiguration;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("FilterName")
@com.aliyun.core.annotation.Validation(required = true)
private String filterName;
private UpdateFilterRequest(Builder builder) {
super(builder);
this.filterConfiguration = builder.filterConfiguration;
this.filterName = builder.filterName;
}
public static Builder builder() {
return new Builder();
}
public static UpdateFilterRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return filterConfiguration
*/
public String getFilterConfiguration() {
return this.filterConfiguration;
}
/**
* @return filterName
*/
public String getFilterName() {
return this.filterName;
}
public static final class Builder extends Request.Builder<UpdateFilterRequest, Builder> {
private String filterConfiguration;
private String filterName;
private Builder() {
super();
}
private Builder(UpdateFilterRequest request) {
super(request);
this.filterConfiguration = request.filterConfiguration;
this.filterName = request.filterName;
}
/**
* <p>The configurations of the filter.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>{
* "regions": [],
* "tagFilters": [
* [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }],
* [{ "tagKey": "xxx", "tagValue": "xxx" }]
* ],
* "resourceTypes": [
* "ACS::ECS::AutoSnapshotPolicy"
* ]
* }</p>
*/
public Builder filterConfiguration(String filterConfiguration) {
this.putQueryParameter("FilterConfiguration", filterConfiguration);
this.filterConfiguration = filterConfiguration;
return this;
}
/**
* <p>The name of the filter.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ECS</p>
*/
public Builder filterName(String filterName) {
this.putQueryParameter("FilterName", filterName);
this.filterName = filterName;
return this;
}
@Override
public UpdateFilterRequest build() {
return new UpdateFilterRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/UpdateFilterResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 UpdateFilterResponse} extends {@link TeaModel}
*
* <p>UpdateFilterResponse</p>
*/
public class UpdateFilterResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private UpdateFilterResponseBody body;
private UpdateFilterResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateFilterResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateFilterResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateFilterResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateFilterResponseBody body);
@Override
UpdateFilterResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateFilterResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private UpdateFilterResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateFilterResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateFilterResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateFilterResponse build() {
return new UpdateFilterResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/UpdateFilterResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 UpdateFilterResponseBody} extends {@link TeaModel}
*
* <p>UpdateFilterResponseBody</p>
*/
public class UpdateFilterResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private UpdateFilterResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateFilterResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
private Builder() {
}
private Builder(UpdateFilterResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>3C5CDBF6-4DB7-53E9-ADDC-5919E3FACF6F</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateFilterResponseBody build() {
return new UpdateFilterResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201 | java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/UpdateMultiAccountDeliveryChannelRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcecenter20221201.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 UpdateMultiAccountDeliveryChannelRequest} extends {@link RequestModel}
*
* <p>UpdateMultiAccountDeliveryChannelRequest</p>
*/
public class UpdateMultiAccountDeliveryChannelRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeliveryChannelDescription")
private String deliveryChannelDescription;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeliveryChannelFilter")
private DeliveryChannelFilter deliveryChannelFilter;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeliveryChannelId")
@com.aliyun.core.annotation.Validation(required = true)
private String deliveryChannelId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeliveryChannelName")
private String deliveryChannelName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceChangeDelivery")
private ResourceChangeDelivery resourceChangeDelivery;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceSnapshotDelivery")
private ResourceSnapshotDelivery resourceSnapshotDelivery;
private UpdateMultiAccountDeliveryChannelRequest(Builder builder) {
super(builder);
this.deliveryChannelDescription = builder.deliveryChannelDescription;
this.deliveryChannelFilter = builder.deliveryChannelFilter;
this.deliveryChannelId = builder.deliveryChannelId;
this.deliveryChannelName = builder.deliveryChannelName;
this.resourceChangeDelivery = builder.resourceChangeDelivery;
this.resourceSnapshotDelivery = builder.resourceSnapshotDelivery;
}
public static Builder builder() {
return new Builder();
}
public static UpdateMultiAccountDeliveryChannelRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deliveryChannelDescription
*/
public String getDeliveryChannelDescription() {
return this.deliveryChannelDescription;
}
/**
* @return deliveryChannelFilter
*/
public DeliveryChannelFilter getDeliveryChannelFilter() {
return this.deliveryChannelFilter;
}
/**
* @return deliveryChannelId
*/
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
/**
* @return deliveryChannelName
*/
public String getDeliveryChannelName() {
return this.deliveryChannelName;
}
/**
* @return resourceChangeDelivery
*/
public ResourceChangeDelivery getResourceChangeDelivery() {
return this.resourceChangeDelivery;
}
/**
* @return resourceSnapshotDelivery
*/
public ResourceSnapshotDelivery getResourceSnapshotDelivery() {
return this.resourceSnapshotDelivery;
}
public static final class Builder extends Request.Builder<UpdateMultiAccountDeliveryChannelRequest, Builder> {
private String deliveryChannelDescription;
private DeliveryChannelFilter deliveryChannelFilter;
private String deliveryChannelId;
private String deliveryChannelName;
private ResourceChangeDelivery resourceChangeDelivery;
private ResourceSnapshotDelivery resourceSnapshotDelivery;
private Builder() {
super();
}
private Builder(UpdateMultiAccountDeliveryChannelRequest request) {
super(request);
this.deliveryChannelDescription = request.deliveryChannelDescription;
this.deliveryChannelFilter = request.deliveryChannelFilter;
this.deliveryChannelId = request.deliveryChannelId;
this.deliveryChannelName = request.deliveryChannelName;
this.resourceChangeDelivery = request.resourceChangeDelivery;
this.resourceSnapshotDelivery = request.resourceSnapshotDelivery;
}
/**
* <p>The description of the delivery channel.</p>
*/
public Builder deliveryChannelDescription(String deliveryChannelDescription) {
this.putQueryParameter("DeliveryChannelDescription", deliveryChannelDescription);
this.deliveryChannelDescription = deliveryChannelDescription;
return this;
}
/**
* <p>The effective scope of the delivery channel.</p>
*/
public Builder deliveryChannelFilter(DeliveryChannelFilter deliveryChannelFilter) {
this.putQueryParameter("DeliveryChannelFilter", deliveryChannelFilter);
this.deliveryChannelFilter = deliveryChannelFilter;
return this;
}
/**
* <p>The ID of the delivery channel.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>dc-4m6ffpkgu***</p>
*/
public Builder deliveryChannelId(String deliveryChannelId) {
this.putQueryParameter("DeliveryChannelId", deliveryChannelId);
this.deliveryChannelId = deliveryChannelId;
return this;
}
/**
* <p>The name of the delivery channel.</p>
*
* <strong>example:</strong>
* <p>test-multi-account-delivery-channel</p>
*/
public Builder deliveryChannelName(String deliveryChannelName) {
this.putQueryParameter("DeliveryChannelName", deliveryChannelName);
this.deliveryChannelName = deliveryChannelName;
return this;
}
/**
* <p>The configurations for delivery of resource configuration change events.</p>
*/
public Builder resourceChangeDelivery(ResourceChangeDelivery resourceChangeDelivery) {
this.putQueryParameter("ResourceChangeDelivery", resourceChangeDelivery);
this.resourceChangeDelivery = resourceChangeDelivery;
return this;
}
/**
* <p>The configurations for delivery of scheduled resource snapshots.</p>
*/
public Builder resourceSnapshotDelivery(ResourceSnapshotDelivery resourceSnapshotDelivery) {
this.putQueryParameter("ResourceSnapshotDelivery", resourceSnapshotDelivery);
this.resourceSnapshotDelivery = resourceSnapshotDelivery;
return this;
}
@Override
public UpdateMultiAccountDeliveryChannelRequest build() {
return new UpdateMultiAccountDeliveryChannelRequest(this);
}
}
/**
*
* {@link UpdateMultiAccountDeliveryChannelRequest} extends {@link TeaModel}
*
* <p>UpdateMultiAccountDeliveryChannelRequest</p>
*/
public static class DeliveryChannelFilter extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountScopes")
private java.util.List<String> accountScopes;
@com.aliyun.core.annotation.NameInMap("ResourceTypes")
private java.util.List<String> resourceTypes;
private DeliveryChannelFilter(Builder builder) {
this.accountScopes = builder.accountScopes;
this.resourceTypes = builder.resourceTypes;
}
public static Builder builder() {
return new Builder();
}
public static DeliveryChannelFilter create() {
return builder().build();
}
/**
* @return accountScopes
*/
public java.util.List<String> getAccountScopes() {
return this.accountScopes;
}
/**
* @return resourceTypes
*/
public java.util.List<String> getResourceTypes() {
return this.resourceTypes;
}
public static final class Builder {
private java.util.List<String> accountScopes;
private java.util.List<String> resourceTypes;
private Builder() {
}
private Builder(DeliveryChannelFilter model) {
this.accountScopes = model.accountScopes;
this.resourceTypes = model.resourceTypes;
}
/**
* <p>An array of effective account scopes for the delivery channel.</p>
*/
public Builder accountScopes(java.util.List<String> accountScopes) {
this.accountScopes = accountScopes;
return this;
}
/**
* <p>The effective resource types of the delivery channel.</p>
*/
public Builder resourceTypes(java.util.List<String> resourceTypes) {
this.resourceTypes = resourceTypes;
return this;
}
public DeliveryChannelFilter build() {
return new DeliveryChannelFilter(this);
}
}
}
/**
*
* {@link UpdateMultiAccountDeliveryChannelRequest} extends {@link TeaModel}
*
* <p>UpdateMultiAccountDeliveryChannelRequest</p>
*/
public static class SlsProperties extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OversizedDataOssTargetArn")
private String oversizedDataOssTargetArn;
private SlsProperties(Builder builder) {
this.oversizedDataOssTargetArn = builder.oversizedDataOssTargetArn;
}
public static Builder builder() {
return new Builder();
}
public static SlsProperties create() {
return builder().build();
}
/**
* @return oversizedDataOssTargetArn
*/
public String getOversizedDataOssTargetArn() {
return this.oversizedDataOssTargetArn;
}
public static final class Builder {
private String oversizedDataOssTargetArn;
private Builder() {
}
private Builder(SlsProperties model) {
this.oversizedDataOssTargetArn = model.oversizedDataOssTargetArn;
}
/**
* <p>The ARN of the destination to which large files are delivered.</p>
* <p>If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. You need to set this parameter to the ARN of a bucket whose name is prefixed with <code>resourcecenter-</code>.</p>
*
* <strong>example:</strong>
* <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p>
*/
public Builder oversizedDataOssTargetArn(String oversizedDataOssTargetArn) {
this.oversizedDataOssTargetArn = oversizedDataOssTargetArn;
return this;
}
public SlsProperties build() {
return new SlsProperties(this);
}
}
}
/**
*
* {@link UpdateMultiAccountDeliveryChannelRequest} extends {@link TeaModel}
*
* <p>UpdateMultiAccountDeliveryChannelRequest</p>
*/
public static class ResourceChangeDelivery extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Enabled")
private String enabled;
@com.aliyun.core.annotation.NameInMap("SlsProperties")
private SlsProperties slsProperties;
@com.aliyun.core.annotation.NameInMap("TargetArn")
private String targetArn;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private ResourceChangeDelivery(Builder builder) {
this.enabled = builder.enabled;
this.slsProperties = builder.slsProperties;
this.targetArn = builder.targetArn;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static ResourceChangeDelivery create() {
return builder().build();
}
/**
* @return enabled
*/
public String getEnabled() {
return this.enabled;
}
/**
* @return slsProperties
*/
public SlsProperties getSlsProperties() {
return this.slsProperties;
}
/**
* @return targetArn
*/
public String getTargetArn() {
return this.targetArn;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String enabled;
private SlsProperties slsProperties;
private String targetArn;
private String targetType;
private Builder() {
}
private Builder(ResourceChangeDelivery model) {
this.enabled = model.enabled;
this.slsProperties = model.slsProperties;
this.targetArn = model.targetArn;
this.targetType = model.targetType;
}
/**
* <p>Specifies whether to enable delivery of resource configuration change events. Valid values:</p>
* <ul>
* <li>true</li>
* <li>false</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder enabled(String enabled) {
this.enabled = enabled;
return this;
}
/**
* <p>The Simple Log Service configurations.</p>
*/
public Builder slsProperties(SlsProperties slsProperties) {
this.slsProperties = slsProperties;
return this;
}
/**
* <p>The ARN of the delivery destination. Valid values:</p>
* <ul>
* <li>If you set <code>TargetType</code> to <code>OSS</code>, you must set <code>TargetArn</code> to the ARN of a bucket whose name is prefixed with <code>resourcecenter-</code>.</li>
* <li>If you set <code>TargetType</code> to <code>SLS</code>, you must set <code>TargetArn</code> to the ARN of a Logstore whose name is prefixed with <code>resourcecenter-</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls</p>
*/
public Builder targetArn(String targetArn) {
this.targetArn = targetArn;
return this;
}
/**
* <p>The type of the delivery destination.</p>
* <p>Set the value to <code>SLS</code>.</p>
*
* <strong>example:</strong>
* <p>SLS</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public ResourceChangeDelivery build() {
return new ResourceChangeDelivery(this);
}
}
}
/**
*
* {@link UpdateMultiAccountDeliveryChannelRequest} extends {@link TeaModel}
*
* <p>UpdateMultiAccountDeliveryChannelRequest</p>
*/
public static class ResourceSnapshotDeliverySlsProperties extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OversizedDataOssTargetArn")
private String oversizedDataOssTargetArn;
private ResourceSnapshotDeliverySlsProperties(Builder builder) {
this.oversizedDataOssTargetArn = builder.oversizedDataOssTargetArn;
}
public static Builder builder() {
return new Builder();
}
public static ResourceSnapshotDeliverySlsProperties create() {
return builder().build();
}
/**
* @return oversizedDataOssTargetArn
*/
public String getOversizedDataOssTargetArn() {
return this.oversizedDataOssTargetArn;
}
public static final class Builder {
private String oversizedDataOssTargetArn;
private Builder() {
}
private Builder(ResourceSnapshotDeliverySlsProperties model) {
this.oversizedDataOssTargetArn = model.oversizedDataOssTargetArn;
}
/**
* <p>The ARN of the destination to which large files are delivered.</p>
* <p>If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. You need to set this parameter to the ARN of a bucket whose name is prefixed with <code>resourcecenter-</code>.</p>
* <blockquote>
* <p> This parameter takes effect only if you use custom delivery for scheduled resource snapshots. You do not need to configure this parameter if you use standard delivery for scheduled resource snapshots.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p>
*/
public Builder oversizedDataOssTargetArn(String oversizedDataOssTargetArn) {
this.oversizedDataOssTargetArn = oversizedDataOssTargetArn;
return this;
}
public ResourceSnapshotDeliverySlsProperties build() {
return new ResourceSnapshotDeliverySlsProperties(this);
}
}
}
/**
*
* {@link UpdateMultiAccountDeliveryChannelRequest} extends {@link TeaModel}
*
* <p>UpdateMultiAccountDeliveryChannelRequest</p>
*/
public static class ResourceSnapshotDelivery extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CustomExpression")
private String customExpression;
@com.aliyun.core.annotation.NameInMap("DeliveryTime")
private String deliveryTime;
@com.aliyun.core.annotation.NameInMap("Enabled")
private String enabled;
@com.aliyun.core.annotation.NameInMap("SlsProperties")
private ResourceSnapshotDeliverySlsProperties slsProperties;
@com.aliyun.core.annotation.NameInMap("TargetArn")
private String targetArn;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private ResourceSnapshotDelivery(Builder builder) {
this.customExpression = builder.customExpression;
this.deliveryTime = builder.deliveryTime;
this.enabled = builder.enabled;
this.slsProperties = builder.slsProperties;
this.targetArn = builder.targetArn;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static ResourceSnapshotDelivery create() {
return builder().build();
}
/**
* @return customExpression
*/
public String getCustomExpression() {
return this.customExpression;
}
/**
* @return deliveryTime
*/
public String getDeliveryTime() {
return this.deliveryTime;
}
/**
* @return enabled
*/
public String getEnabled() {
return this.enabled;
}
/**
* @return slsProperties
*/
public ResourceSnapshotDeliverySlsProperties getSlsProperties() {
return this.slsProperties;
}
/**
* @return targetArn
*/
public String getTargetArn() {
return this.targetArn;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String customExpression;
private String deliveryTime;
private String enabled;
private ResourceSnapshotDeliverySlsProperties slsProperties;
private String targetArn;
private String targetType;
private Builder() {
}
private Builder(ResourceSnapshotDelivery model) {
this.customExpression = model.customExpression;
this.deliveryTime = model.deliveryTime;
this.enabled = model.enabled;
this.slsProperties = model.slsProperties;
this.targetArn = model.targetArn;
this.targetType = model.targetType;
}
/**
* <p>The custom expression.</p>
*
* <strong>example:</strong>
* <p>select * from resources limit 100;</p>
*/
public Builder customExpression(String customExpression) {
this.customExpression = customExpression;
return this;
}
/**
* <p>The delivery time.</p>
*
* <strong>example:</strong>
* <p>09:00Z</p>
*/
public Builder deliveryTime(String deliveryTime) {
this.deliveryTime = deliveryTime;
return this;
}
/**
* <p>Specifies whether to enable delivery of scheduled resource snapshots. Valid values:</p>
* <ul>
* <li>true</li>
* <li>false</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder enabled(String enabled) {
this.enabled = enabled;
return this;
}
/**
* <p>The Simple Log Service configurations.</p>
*/
public Builder slsProperties(ResourceSnapshotDeliverySlsProperties slsProperties) {
this.slsProperties = slsProperties;
return this;
}
/**
* <p>The Alibaba Cloud Resource Name (ARN) of the delivery destination. Valid values:</p>
* <ul>
* <li>If you set <code>TargetType</code> to <code>OSS</code>, you must set <code>TargetArn</code> to the ARN of a bucket whose name is prefixed with <code>resourcecenter-</code>. Example: <code>acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss</code>.</li>
* <li>If you set <code>TargetType</code> to <code>SLS</code>, you must set <code>TargetArn</code> to the ARN of a Logstore whose name is prefixed with <code>resourcecenter-</code>. Example: <code>acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls</code>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p>
*/
public Builder targetArn(String targetArn) {
this.targetArn = targetArn;
return this;
}
/**
* <p>The type of the delivery destination. Valid values:</p>
* <ul>
* <li><code>OSS</code> for standard delivery</li>
* <li><code>OSS</code> or <code>SLS</code> for custom delivery</li>
* </ul>
*
* <strong>example:</strong>
* <p>OSS</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public ResourceSnapshotDelivery build() {
return new ResourceSnapshotDelivery(this);
}
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.