index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/DisableAutoGroupingRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 DisableAutoGroupingRequest} extends {@link RequestModel}
*
* <p>DisableAutoGroupingRequest</p>
*/
public class DisableAutoGroupingRequest extends Request {
private DisableAutoGroupingRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static DisableAutoGroupingRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<DisableAutoGroupingRequest, Builder> {
private Builder() {
super();
}
private Builder(DisableAutoGroupingRequest request) {
super(request);
}
@Override
public DisableAutoGroupingRequest build() {
return new DisableAutoGroupingRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/DisableAutoGroupingResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 DisableAutoGroupingResponse} extends {@link TeaModel}
*
* <p>DisableAutoGroupingResponse</p>
*/
public class DisableAutoGroupingResponse 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 DisableAutoGroupingResponseBody body;
private DisableAutoGroupingResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DisableAutoGroupingResponse 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 DisableAutoGroupingResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DisableAutoGroupingResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DisableAutoGroupingResponseBody body);
@Override
DisableAutoGroupingResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DisableAutoGroupingResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DisableAutoGroupingResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DisableAutoGroupingResponse 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(DisableAutoGroupingResponseBody body) {
this.body = body;
return this;
}
@Override
public DisableAutoGroupingResponse build() {
return new DisableAutoGroupingResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/DisableAutoGroupingResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 DisableAutoGroupingResponseBody} extends {@link TeaModel}
*
* <p>DisableAutoGroupingResponseBody</p>
*/
public class DisableAutoGroupingResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DisableAutoGroupingResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DisableAutoGroupingResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>898FAB24-7509-43EE-A287-086FE4C44394</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DisableAutoGroupingResponseBody build() {
return new DisableAutoGroupingResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/DisableControlPolicyRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 DisableControlPolicyRequest} extends {@link RequestModel}
*
* <p>DisableControlPolicyRequest</p>
*/
public class DisableControlPolicyRequest extends Request {
private DisableControlPolicyRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static DisableControlPolicyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<DisableControlPolicyRequest, Builder> {
private Builder() {
super();
}
private Builder(DisableControlPolicyRequest request) {
super(request);
}
@Override
public DisableControlPolicyRequest build() {
return new DisableControlPolicyRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/DisableControlPolicyResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 DisableControlPolicyResponse} extends {@link TeaModel}
*
* <p>DisableControlPolicyResponse</p>
*/
public class DisableControlPolicyResponse 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 DisableControlPolicyResponseBody body;
private DisableControlPolicyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DisableControlPolicyResponse 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 DisableControlPolicyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DisableControlPolicyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DisableControlPolicyResponseBody body);
@Override
DisableControlPolicyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DisableControlPolicyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DisableControlPolicyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DisableControlPolicyResponse 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(DisableControlPolicyResponseBody body) {
this.body = body;
return this;
}
@Override
public DisableControlPolicyResponse build() {
return new DisableControlPolicyResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/DisableControlPolicyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 DisableControlPolicyResponseBody} extends {@link TeaModel}
*
* <p>DisableControlPolicyResponseBody</p>
*/
public class DisableControlPolicyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnablementStatus")
private String enablementStatus;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DisableControlPolicyResponseBody(Builder builder) {
this.enablementStatus = builder.enablementStatus;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DisableControlPolicyResponseBody create() {
return builder().build();
}
/**
* @return enablementStatus
*/
public String getEnablementStatus() {
return this.enablementStatus;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String enablementStatus;
private String requestId;
/**
* <p>The status of the Control Policy feature. Valid values:</p>
* <ul>
* <li>Enabled: The Control Policy feature is enabled.</li>
* <li>PendingEnable: The Control Policy feature is being enabled.</li>
* <li>Disabled: The Control Policy feature is disabled.</li>
* <li>PendingDisable: The Control Policy feature is being disabled.</li>
* </ul>
*
* <strong>example:</strong>
* <p>PendingDisable</p>
*/
public Builder enablementStatus(String enablementStatus) {
this.enablementStatus = enablementStatus;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>7C709979-451D-4C92-835D-7DDCCAA562E9</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DisableControlPolicyResponseBody build() {
return new DisableControlPolicyResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/EnableAssociatedTransferRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 EnableAssociatedTransferRequest} extends {@link RequestModel}
*
* <p>EnableAssociatedTransferRequest</p>
*/
public class EnableAssociatedTransferRequest extends Request {
private EnableAssociatedTransferRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static EnableAssociatedTransferRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<EnableAssociatedTransferRequest, Builder> {
private Builder() {
super();
}
private Builder(EnableAssociatedTransferRequest request) {
super(request);
}
@Override
public EnableAssociatedTransferRequest build() {
return new EnableAssociatedTransferRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/EnableAssociatedTransferResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 EnableAssociatedTransferResponse} extends {@link TeaModel}
*
* <p>EnableAssociatedTransferResponse</p>
*/
public class EnableAssociatedTransferResponse 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 EnableAssociatedTransferResponseBody body;
private EnableAssociatedTransferResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static EnableAssociatedTransferResponse 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 EnableAssociatedTransferResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<EnableAssociatedTransferResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(EnableAssociatedTransferResponseBody body);
@Override
EnableAssociatedTransferResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<EnableAssociatedTransferResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private EnableAssociatedTransferResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(EnableAssociatedTransferResponse 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(EnableAssociatedTransferResponseBody body) {
this.body = body;
return this;
}
@Override
public EnableAssociatedTransferResponse build() {
return new EnableAssociatedTransferResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/EnableAssociatedTransferResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 EnableAssociatedTransferResponseBody} extends {@link TeaModel}
*
* <p>EnableAssociatedTransferResponseBody</p>
*/
public class EnableAssociatedTransferResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private EnableAssociatedTransferResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static EnableAssociatedTransferResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>2D69A58F-345C-4FDE-88E4-BF5189484114</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public EnableAssociatedTransferResponseBody build() {
return new EnableAssociatedTransferResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/EnableAutoGroupingRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 EnableAutoGroupingRequest} extends {@link RequestModel}
*
* <p>EnableAutoGroupingRequest</p>
*/
public class EnableAutoGroupingRequest extends Request {
private EnableAutoGroupingRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static EnableAutoGroupingRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<EnableAutoGroupingRequest, Builder> {
private Builder() {
super();
}
private Builder(EnableAutoGroupingRequest request) {
super(request);
}
@Override
public EnableAutoGroupingRequest build() {
return new EnableAutoGroupingRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/EnableAutoGroupingResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 EnableAutoGroupingResponse} extends {@link TeaModel}
*
* <p>EnableAutoGroupingResponse</p>
*/
public class EnableAutoGroupingResponse 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 EnableAutoGroupingResponseBody body;
private EnableAutoGroupingResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static EnableAutoGroupingResponse 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 EnableAutoGroupingResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<EnableAutoGroupingResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(EnableAutoGroupingResponseBody body);
@Override
EnableAutoGroupingResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<EnableAutoGroupingResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private EnableAutoGroupingResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(EnableAutoGroupingResponse 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(EnableAutoGroupingResponseBody body) {
this.body = body;
return this;
}
@Override
public EnableAutoGroupingResponse build() {
return new EnableAutoGroupingResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/EnableAutoGroupingResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 EnableAutoGroupingResponseBody} extends {@link TeaModel}
*
* <p>EnableAutoGroupingResponseBody</p>
*/
public class EnableAutoGroupingResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private EnableAutoGroupingResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static EnableAutoGroupingResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>DF5D5C52-7BD0-40E7-94C6-23A1505038A2</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public EnableAutoGroupingResponseBody build() {
return new EnableAutoGroupingResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/EnableControlPolicyRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 EnableControlPolicyRequest} extends {@link RequestModel}
*
* <p>EnableControlPolicyRequest</p>
*/
public class EnableControlPolicyRequest extends Request {
private EnableControlPolicyRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static EnableControlPolicyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<EnableControlPolicyRequest, Builder> {
private Builder() {
super();
}
private Builder(EnableControlPolicyRequest request) {
super(request);
}
@Override
public EnableControlPolicyRequest build() {
return new EnableControlPolicyRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/EnableControlPolicyResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 EnableControlPolicyResponse} extends {@link TeaModel}
*
* <p>EnableControlPolicyResponse</p>
*/
public class EnableControlPolicyResponse 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 EnableControlPolicyResponseBody body;
private EnableControlPolicyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static EnableControlPolicyResponse 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 EnableControlPolicyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<EnableControlPolicyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(EnableControlPolicyResponseBody body);
@Override
EnableControlPolicyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<EnableControlPolicyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private EnableControlPolicyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(EnableControlPolicyResponse 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(EnableControlPolicyResponseBody body) {
this.body = body;
return this;
}
@Override
public EnableControlPolicyResponse build() {
return new EnableControlPolicyResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/EnableControlPolicyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 EnableControlPolicyResponseBody} extends {@link TeaModel}
*
* <p>EnableControlPolicyResponseBody</p>
*/
public class EnableControlPolicyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnablementStatus")
private String enablementStatus;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private EnableControlPolicyResponseBody(Builder builder) {
this.enablementStatus = builder.enablementStatus;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static EnableControlPolicyResponseBody create() {
return builder().build();
}
/**
* @return enablementStatus
*/
public String getEnablementStatus() {
return this.enablementStatus;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String enablementStatus;
private String requestId;
/**
* <p>The status of the Control Policy feature. Valid values:</p>
* <ul>
* <li>Enabled: The Control Policy feature is enabled.</li>
* <li>PendingEnable: The Control Policy feature is being enabled.</li>
* <li>Disabled: The Control Policy feature is disabled.</li>
* <li>PendingDisable: The Control Policy feature is being disabled.</li>
* </ul>
*
* <strong>example:</strong>
* <p>PendingEnable</p>
*/
public Builder enablementStatus(String enablementStatus) {
this.enablementStatus = enablementStatus;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>8CE7BD95-EFFA-4911-A1E0-BD4412697FEB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public EnableControlPolicyResponseBody build() {
return new EnableControlPolicyResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/EnableResourceDirectoryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 EnableResourceDirectoryRequest} extends {@link RequestModel}
*
* <p>EnableResourceDirectoryRequest</p>
*/
public class EnableResourceDirectoryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EnableMode")
@com.aliyun.core.annotation.Validation(required = true)
private String enableMode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MAName")
private String MAName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MASecureMobilePhone")
private String MASecureMobilePhone;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VerificationCode")
private String verificationCode;
private EnableResourceDirectoryRequest(Builder builder) {
super(builder);
this.enableMode = builder.enableMode;
this.MAName = builder.MAName;
this.MASecureMobilePhone = builder.MASecureMobilePhone;
this.verificationCode = builder.verificationCode;
}
public static Builder builder() {
return new Builder();
}
public static EnableResourceDirectoryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return enableMode
*/
public String getEnableMode() {
return this.enableMode;
}
/**
* @return MAName
*/
public String getMAName() {
return this.MAName;
}
/**
* @return MASecureMobilePhone
*/
public String getMASecureMobilePhone() {
return this.MASecureMobilePhone;
}
/**
* @return verificationCode
*/
public String getVerificationCode() {
return this.verificationCode;
}
public static final class Builder extends Request.Builder<EnableResourceDirectoryRequest, Builder> {
private String enableMode;
private String MAName;
private String MASecureMobilePhone;
private String verificationCode;
private Builder() {
super();
}
private Builder(EnableResourceDirectoryRequest request) {
super(request);
this.enableMode = request.enableMode;
this.MAName = request.MAName;
this.MASecureMobilePhone = request.MASecureMobilePhone;
this.verificationCode = request.verificationCode;
}
/**
* <p>The mode in which you enable a resource directory. Valid values:</p>
* <ul>
* <li>CurrentAccount: indicates that the current account is used to enable a resource directory.</li>
* <li>NewManagementAccount: indicates that a newly created account is used to enable a resource directory. If you select this mode, you must configure the <code>MAName</code>, <code>MASecureMobilePhone</code>, and <code>VerificationCode</code> parameters.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>CurrentAccount</p>
*/
public Builder enableMode(String enableMode) {
this.putQueryParameter("EnableMode", enableMode);
this.enableMode = enableMode;
return this;
}
/**
* <p>The name of the newly created account.</p>
* <p>Specify the name in the <code><Prefix>@rdadmin.aliyunid.com</code> format. The prefix can contain letters, digits, and special characters but cannot contain consecutive special characters. The prefix must start with a letter or digit and end with a letter or digit. Valid special characters include underscores (_), periods (.), and hyphens (-). The prefix must be 2 to 50 characters in length.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:user01@rdadmin.aliyunid.com">user01@rdadmin.aliyunid.com</a></p>
*/
public Builder MAName(String MAName) {
this.putQueryParameter("MAName", MAName);
this.MAName = MAName;
return this;
}
/**
* <p>The mobile phone number that is bound to the newly created account.</p>
* <p>If you leave this parameter empty, the mobile phone number that is bound to the current account is used. The mobile phone number you specify must be the same as the mobile phone number that you specify when you call the <a href="https://help.aliyun.com/document_detail/364248.html">SendVerificationCodeForEnableRD</a> operation to obtain a verification code.</p>
* <p>Specify the mobile phone number in the <code><Country code>-<Mobile phone number></code> format.</p>
* <blockquote>
* <p> Mobile phone numbers in the <code>86-<Mobile phone number></code> format in the Chinese mainland are not supported.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>xx-13900001234</p>
*/
public Builder MASecureMobilePhone(String MASecureMobilePhone) {
this.putQueryParameter("MASecureMobilePhone", MASecureMobilePhone);
this.MASecureMobilePhone = MASecureMobilePhone;
return this;
}
/**
* <p>The verification code.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/364248.html">SendVerificationCodeForEnableRD</a> operation to obtain the verification code.</p>
*
* <strong>example:</strong>
* <p>123456</p>
*/
public Builder verificationCode(String verificationCode) {
this.putQueryParameter("VerificationCode", verificationCode);
this.verificationCode = verificationCode;
return this;
}
@Override
public EnableResourceDirectoryRequest build() {
return new EnableResourceDirectoryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/EnableResourceDirectoryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 EnableResourceDirectoryResponse} extends {@link TeaModel}
*
* <p>EnableResourceDirectoryResponse</p>
*/
public class EnableResourceDirectoryResponse 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 EnableResourceDirectoryResponseBody body;
private EnableResourceDirectoryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static EnableResourceDirectoryResponse 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 EnableResourceDirectoryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<EnableResourceDirectoryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(EnableResourceDirectoryResponseBody body);
@Override
EnableResourceDirectoryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<EnableResourceDirectoryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private EnableResourceDirectoryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(EnableResourceDirectoryResponse 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(EnableResourceDirectoryResponseBody body) {
this.body = body;
return this;
}
@Override
public EnableResourceDirectoryResponse build() {
return new EnableResourceDirectoryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/EnableResourceDirectoryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 EnableResourceDirectoryResponseBody} extends {@link TeaModel}
*
* <p>EnableResourceDirectoryResponseBody</p>
*/
public class EnableResourceDirectoryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceDirectory")
private ResourceDirectory resourceDirectory;
private EnableResourceDirectoryResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.resourceDirectory = builder.resourceDirectory;
}
public static Builder builder() {
return new Builder();
}
public static EnableResourceDirectoryResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceDirectory
*/
public ResourceDirectory getResourceDirectory() {
return this.resourceDirectory;
}
public static final class Builder {
private String requestId;
private ResourceDirectory resourceDirectory;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>EC2FE94D-A4A2-51A1-A493-5C273A36C46A</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information of the resource directory.</p>
*/
public Builder resourceDirectory(ResourceDirectory resourceDirectory) {
this.resourceDirectory = resourceDirectory;
return this;
}
public EnableResourceDirectoryResponseBody build() {
return new EnableResourceDirectoryResponseBody(this);
}
}
/**
*
* {@link EnableResourceDirectoryResponseBody} extends {@link TeaModel}
*
* <p>EnableResourceDirectoryResponseBody</p>
*/
public static class ResourceDirectory extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("MasterAccountId")
private String masterAccountId;
@com.aliyun.core.annotation.NameInMap("MasterAccountName")
private String masterAccountName;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("RootFolderId")
private String rootFolderId;
private ResourceDirectory(Builder builder) {
this.createTime = builder.createTime;
this.masterAccountId = builder.masterAccountId;
this.masterAccountName = builder.masterAccountName;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.rootFolderId = builder.rootFolderId;
}
public static Builder builder() {
return new Builder();
}
public static ResourceDirectory create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return masterAccountId
*/
public String getMasterAccountId() {
return this.masterAccountId;
}
/**
* @return masterAccountName
*/
public String getMasterAccountName() {
return this.masterAccountName;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return rootFolderId
*/
public String getRootFolderId() {
return this.rootFolderId;
}
public static final class Builder {
private String createTime;
private String masterAccountId;
private String masterAccountName;
private String resourceDirectoryId;
private String rootFolderId;
/**
* <p>The time when the resource directory was enabled.</p>
*
* <strong>example:</strong>
* <p>2021-12-08T02:15:31.744Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The ID of the management account.</p>
*
* <strong>example:</strong>
* <p>507408460615****</p>
*/
public Builder masterAccountId(String masterAccountId) {
this.masterAccountId = masterAccountId;
return this;
}
/**
* <p>The name of the management account.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:alice@example.com">alice@example.com</a></p>
*/
public Builder masterAccountName(String masterAccountName) {
this.masterAccountName = masterAccountName;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-54****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The ID of the Root folder.</p>
*
* <strong>example:</strong>
* <p>r-G9****</p>
*/
public Builder rootFolderId(String rootFolderId) {
this.rootFolderId = rootFolderId;
return this;
}
public ResourceDirectory build() {
return new ResourceDirectory(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAccountDeletionCheckResultRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAccountDeletionCheckResultRequest} extends {@link RequestModel}
*
* <p>GetAccountDeletionCheckResultRequest</p>
*/
public class GetAccountDeletionCheckResultRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
private GetAccountDeletionCheckResultRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
}
public static Builder builder() {
return new Builder();
}
public static GetAccountDeletionCheckResultRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
public static final class Builder extends Request.Builder<GetAccountDeletionCheckResultRequest, Builder> {
private String accountId;
private Builder() {
super();
}
private Builder(GetAccountDeletionCheckResultRequest request) {
super(request);
this.accountId = request.accountId;
}
/**
* <p>The ID of the member that you want to delete.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>179855839641****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
@Override
public GetAccountDeletionCheckResultRequest build() {
return new GetAccountDeletionCheckResultRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAccountDeletionCheckResultResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAccountDeletionCheckResultResponse} extends {@link TeaModel}
*
* <p>GetAccountDeletionCheckResultResponse</p>
*/
public class GetAccountDeletionCheckResultResponse 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 GetAccountDeletionCheckResultResponseBody body;
private GetAccountDeletionCheckResultResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAccountDeletionCheckResultResponse 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 GetAccountDeletionCheckResultResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAccountDeletionCheckResultResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetAccountDeletionCheckResultResponseBody body);
@Override
GetAccountDeletionCheckResultResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAccountDeletionCheckResultResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetAccountDeletionCheckResultResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAccountDeletionCheckResultResponse 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(GetAccountDeletionCheckResultResponseBody body) {
this.body = body;
return this;
}
@Override
public GetAccountDeletionCheckResultResponse build() {
return new GetAccountDeletionCheckResultResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAccountDeletionCheckResultResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAccountDeletionCheckResultResponseBody} extends {@link TeaModel}
*
* <p>GetAccountDeletionCheckResultResponseBody</p>
*/
public class GetAccountDeletionCheckResultResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountDeletionCheckResultInfo")
private AccountDeletionCheckResultInfo accountDeletionCheckResultInfo;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetAccountDeletionCheckResultResponseBody(Builder builder) {
this.accountDeletionCheckResultInfo = builder.accountDeletionCheckResultInfo;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetAccountDeletionCheckResultResponseBody create() {
return builder().build();
}
/**
* @return accountDeletionCheckResultInfo
*/
public AccountDeletionCheckResultInfo getAccountDeletionCheckResultInfo() {
return this.accountDeletionCheckResultInfo;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private AccountDeletionCheckResultInfo accountDeletionCheckResultInfo;
private String requestId;
/**
* <p>The result of the deletion check for the member.</p>
*/
public Builder accountDeletionCheckResultInfo(AccountDeletionCheckResultInfo accountDeletionCheckResultInfo) {
this.accountDeletionCheckResultInfo = accountDeletionCheckResultInfo;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>54AC391D-4F7F-5F08-B8D3-0AECDE6EC5BD</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetAccountDeletionCheckResultResponseBody build() {
return new GetAccountDeletionCheckResultResponseBody(this);
}
}
/**
*
* {@link GetAccountDeletionCheckResultResponseBody} extends {@link TeaModel}
*
* <p>GetAccountDeletionCheckResultResponseBody</p>
*/
public static class AbandonableChecks extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CheckId")
private String checkId;
@com.aliyun.core.annotation.NameInMap("CheckName")
private String checkName;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
private AbandonableChecks(Builder builder) {
this.checkId = builder.checkId;
this.checkName = builder.checkName;
this.description = builder.description;
}
public static Builder builder() {
return new Builder();
}
public static AbandonableChecks create() {
return builder().build();
}
/**
* @return checkId
*/
public String getCheckId() {
return this.checkId;
}
/**
* @return checkName
*/
public String getCheckName() {
return this.checkName;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
public static final class Builder {
private String checkId;
private String checkName;
private String description;
/**
* <p>The ID of the check item.</p>
*
* <strong>example:</strong>
* <p>NON_SP_cs</p>
*/
public Builder checkId(String checkId) {
this.checkId = checkId;
return this;
}
/**
* <p>The name of the cloud service to which the check item belongs.</p>
*
* <strong>example:</strong>
* <p>Container Service for Kubernetes</p>
*/
public Builder checkName(String checkName) {
this.checkName = checkName;
return this;
}
/**
* <p>The description of the check item.</p>
*
* <strong>example:</strong>
* <p>An instance of a cloud service is running within the member. Submit a ticket to contact Alibaba Cloud technical support.</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
public AbandonableChecks build() {
return new AbandonableChecks(this);
}
}
}
/**
*
* {@link GetAccountDeletionCheckResultResponseBody} extends {@link TeaModel}
*
* <p>GetAccountDeletionCheckResultResponseBody</p>
*/
public static class NotAllowReason extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CheckId")
private String checkId;
@com.aliyun.core.annotation.NameInMap("CheckName")
private String checkName;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
private NotAllowReason(Builder builder) {
this.checkId = builder.checkId;
this.checkName = builder.checkName;
this.description = builder.description;
}
public static Builder builder() {
return new Builder();
}
public static NotAllowReason create() {
return builder().build();
}
/**
* @return checkId
*/
public String getCheckId() {
return this.checkId;
}
/**
* @return checkName
*/
public String getCheckName() {
return this.checkName;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
public static final class Builder {
private String checkId;
private String checkName;
private String description;
/**
* <p>The ID of the check item.</p>
*
* <strong>example:</strong>
* <p>NON_SP_efc</p>
*/
public Builder checkId(String checkId) {
this.checkId = checkId;
return this;
}
/**
* <p>The name of the cloud service to which the check item belongs.</p>
*
* <strong>example:</strong>
* <p>Enterprise finance</p>
*/
public Builder checkName(String checkName) {
this.checkName = checkName;
return this;
}
/**
* <p>The description of the check item.</p>
*
* <strong>example:</strong>
* <p>This account is an Enterprise Finance associated account. Please remove the financial association of this account before deleting it.</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
public NotAllowReason build() {
return new NotAllowReason(this);
}
}
}
/**
*
* {@link GetAccountDeletionCheckResultResponseBody} extends {@link TeaModel}
*
* <p>GetAccountDeletionCheckResultResponseBody</p>
*/
public static class AccountDeletionCheckResultInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AbandonableChecks")
private java.util.List<AbandonableChecks> abandonableChecks;
@com.aliyun.core.annotation.NameInMap("AllowDelete")
private String allowDelete;
@com.aliyun.core.annotation.NameInMap("NotAllowReason")
private java.util.List<NotAllowReason> notAllowReason;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private AccountDeletionCheckResultInfo(Builder builder) {
this.abandonableChecks = builder.abandonableChecks;
this.allowDelete = builder.allowDelete;
this.notAllowReason = builder.notAllowReason;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static AccountDeletionCheckResultInfo create() {
return builder().build();
}
/**
* @return abandonableChecks
*/
public java.util.List<AbandonableChecks> getAbandonableChecks() {
return this.abandonableChecks;
}
/**
* @return allowDelete
*/
public String getAllowDelete() {
return this.allowDelete;
}
/**
* @return notAllowReason
*/
public java.util.List<NotAllowReason> getNotAllowReason() {
return this.notAllowReason;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private java.util.List<AbandonableChecks> abandonableChecks;
private String allowDelete;
private java.util.List<NotAllowReason> notAllowReason;
private String status;
/**
* <p>The check items that you can choose to ignore for the member deletion.</p>
* <blockquote>
* <p> This parameter may be returned if the value of AllowDelete is true.</p>
* </blockquote>
*/
public Builder abandonableChecks(java.util.List<AbandonableChecks> abandonableChecks) {
this.abandonableChecks = abandonableChecks;
return this;
}
/**
* <p>Indicates whether the member can be deleted. Valid values:</p>
* <ul>
* <li>true: The member can be deleted.</li>
* <li>false: The member cannot be deleted.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder allowDelete(String allowDelete) {
this.allowDelete = allowDelete;
return this;
}
/**
* <p>The reasons why the member cannot be deleted.</p>
* <blockquote>
* <p> This parameter is returned only if the value of AllowDelete is false.</p>
* </blockquote>
*/
public Builder notAllowReason(java.util.List<NotAllowReason> notAllowReason) {
this.notAllowReason = notAllowReason;
return this;
}
/**
* <p>The status of the check. Valid values:</p>
* <ul>
* <li>PreCheckComplete: The check is complete.</li>
* <li>PreChecking: The check is in progress.</li>
* </ul>
*
* <strong>example:</strong>
* <p>PreCheckComplete</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public AccountDeletionCheckResultInfo build() {
return new AccountDeletionCheckResultInfo(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAccountDeletionStatusRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAccountDeletionStatusRequest} extends {@link RequestModel}
*
* <p>GetAccountDeletionStatusRequest</p>
*/
public class GetAccountDeletionStatusRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
private GetAccountDeletionStatusRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
}
public static Builder builder() {
return new Builder();
}
public static GetAccountDeletionStatusRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
public static final class Builder extends Request.Builder<GetAccountDeletionStatusRequest, Builder> {
private String accountId;
private Builder() {
super();
}
private Builder(GetAccountDeletionStatusRequest request) {
super(request);
this.accountId = request.accountId;
}
/**
* <p>The Alibaba Cloud account ID of the member.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>169946124551****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
@Override
public GetAccountDeletionStatusRequest build() {
return new GetAccountDeletionStatusRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAccountDeletionStatusResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAccountDeletionStatusResponse} extends {@link TeaModel}
*
* <p>GetAccountDeletionStatusResponse</p>
*/
public class GetAccountDeletionStatusResponse 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 GetAccountDeletionStatusResponseBody body;
private GetAccountDeletionStatusResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAccountDeletionStatusResponse 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 GetAccountDeletionStatusResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAccountDeletionStatusResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetAccountDeletionStatusResponseBody body);
@Override
GetAccountDeletionStatusResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAccountDeletionStatusResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetAccountDeletionStatusResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAccountDeletionStatusResponse 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(GetAccountDeletionStatusResponseBody body) {
this.body = body;
return this;
}
@Override
public GetAccountDeletionStatusResponse build() {
return new GetAccountDeletionStatusResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAccountDeletionStatusResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAccountDeletionStatusResponseBody} extends {@link TeaModel}
*
* <p>GetAccountDeletionStatusResponseBody</p>
*/
public class GetAccountDeletionStatusResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RdAccountDeletionStatus")
private RdAccountDeletionStatus rdAccountDeletionStatus;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetAccountDeletionStatusResponseBody(Builder builder) {
this.rdAccountDeletionStatus = builder.rdAccountDeletionStatus;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetAccountDeletionStatusResponseBody create() {
return builder().build();
}
/**
* @return rdAccountDeletionStatus
*/
public RdAccountDeletionStatus getRdAccountDeletionStatus() {
return this.rdAccountDeletionStatus;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private RdAccountDeletionStatus rdAccountDeletionStatus;
private String requestId;
/**
* <p>The deletion status of the member.</p>
*/
public Builder rdAccountDeletionStatus(RdAccountDeletionStatus rdAccountDeletionStatus) {
this.rdAccountDeletionStatus = rdAccountDeletionStatus;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>8AA43293-7C8F-5730-8F2D-7F864EC092C5</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetAccountDeletionStatusResponseBody build() {
return new GetAccountDeletionStatusResponseBody(this);
}
}
/**
*
* {@link GetAccountDeletionStatusResponseBody} extends {@link TeaModel}
*
* <p>GetAccountDeletionStatusResponseBody</p>
*/
public static class FailReasonList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
private FailReasonList(Builder builder) {
this.description = builder.description;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static FailReasonList create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private String description;
private String name;
/**
* <p>The description of the check item.</p>
*
* <strong>example:</strong>
* <p>This account has a payer account. Please release the financial relationship of this account first.</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The name of the cloud service to which the check item belongs.</p>
*
* <strong>example:</strong>
* <p>Others</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
public FailReasonList build() {
return new FailReasonList(this);
}
}
}
/**
*
* {@link GetAccountDeletionStatusResponseBody} extends {@link TeaModel}
*
* <p>GetAccountDeletionStatusResponseBody</p>
*/
public static class RdAccountDeletionStatus 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("DeletionTime")
@com.aliyun.core.annotation.Validation(required = true)
private String deletionTime;
@com.aliyun.core.annotation.NameInMap("DeletionType")
private String deletionType;
@com.aliyun.core.annotation.NameInMap("FailReasonList")
private java.util.List<FailReasonList> failReasonList;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private RdAccountDeletionStatus(Builder builder) {
this.accountId = builder.accountId;
this.createTime = builder.createTime;
this.deletionTime = builder.deletionTime;
this.deletionType = builder.deletionType;
this.failReasonList = builder.failReasonList;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static RdAccountDeletionStatus create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return deletionTime
*/
public String getDeletionTime() {
return this.deletionTime;
}
/**
* @return deletionType
*/
public String getDeletionType() {
return this.deletionType;
}
/**
* @return failReasonList
*/
public java.util.List<FailReasonList> getFailReasonList() {
return this.failReasonList;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String accountId;
private String createTime;
private String deletionTime;
private String deletionType;
private java.util.List<FailReasonList> failReasonList;
private String status;
/**
* <p>The Alibaba Cloud account ID of the member.</p>
*
* <strong>example:</strong>
* <p>169946124551****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The start time of the deletion.</p>
*
* <strong>example:</strong>
* <p>2022-08-23T17:05:30+08:00</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The end time of the deletion.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2022-08-23T17:06:01+08:00</p>
*/
public Builder deletionTime(String deletionTime) {
this.deletionTime = deletionTime;
return this;
}
/**
* <p>The type of the deletion. Valid values:</p>
* <ul>
* <li>0: direct deletion. If the member does not have pay-as-you-go resources that are purchased within the previous 30 days, the system directly deletes the member.</li>
* <li>1: deletion with a silence period. If the member has pay-as-you-go resources that are purchased within the previous 30 days, the member enters a silence period. The system starts to delete the member until the silence period ends. For more information about the silence period, see <a href="https://help.aliyun.com/document_detail/446079.html">What is the silence period for member deletion?</a></li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder deletionType(String deletionType) {
this.deletionType = deletionType;
return this;
}
/**
* <p>The reasons why the member fails to be deleted.</p>
*/
public Builder failReasonList(java.util.List<FailReasonList> failReasonList) {
this.failReasonList = failReasonList;
return this;
}
/**
* <p>The status. Valid values:</p>
* <ul>
* <li>Success: The member is deleted.</li>
* <li>Checking: A deletion check is being performed for the member.</li>
* <li>Deleting: The member is being deleted.</li>
* <li>CheckFailed: The deletion check for the member fails.</li>
* <li>DeleteFailed: The member fails to be deleted.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Success</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public RdAccountDeletionStatus build() {
return new RdAccountDeletionStatus(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAccountRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAccountRequest} extends {@link RequestModel}
*
* <p>GetAccountRequest</p>
*/
public class GetAccountRequest 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("IncludeTags")
private Boolean includeTags;
private GetAccountRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
this.includeTags = builder.includeTags;
}
public static Builder builder() {
return new Builder();
}
public static GetAccountRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return includeTags
*/
public Boolean getIncludeTags() {
return this.includeTags;
}
public static final class Builder extends Request.Builder<GetAccountRequest, Builder> {
private String accountId;
private Boolean includeTags;
private Builder() {
super();
}
private Builder(GetAccountRequest request) {
super(request);
this.accountId = request.accountId;
this.includeTags = request.includeTags;
}
/**
* <p>The Alibaba Cloud account ID of the member.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>181761095690****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
/**
* <p>Specifies whether to return the information of tags. Valid values:</p>
* <ul>
* <li>false (default value)</li>
* <li>true</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder includeTags(Boolean includeTags) {
this.putQueryParameter("IncludeTags", includeTags);
this.includeTags = includeTags;
return this;
}
@Override
public GetAccountRequest build() {
return new GetAccountRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAccountResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAccountResponse} extends {@link TeaModel}
*
* <p>GetAccountResponse</p>
*/
public class GetAccountResponse 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 GetAccountResponseBody body;
private GetAccountResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAccountResponse 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 GetAccountResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAccountResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetAccountResponseBody body);
@Override
GetAccountResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAccountResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetAccountResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAccountResponse 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(GetAccountResponseBody body) {
this.body = body;
return this;
}
@Override
public GetAccountResponse build() {
return new GetAccountResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAccountResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAccountResponseBody} extends {@link TeaModel}
*
* <p>GetAccountResponseBody</p>
*/
public class GetAccountResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Account")
private Account account;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetAccountResponseBody(Builder builder) {
this.account = builder.account;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetAccountResponseBody create() {
return builder().build();
}
/**
* @return account
*/
public Account getAccount() {
return this.account;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Account account;
private String requestId;
/**
* <p>The information of the member.</p>
*/
public Builder account(Account account) {
this.account = account;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetAccountResponseBody build() {
return new GetAccountResponseBody(this);
}
}
/**
*
* {@link GetAccountResponseBody} extends {@link TeaModel}
*
* <p>GetAccountResponseBody</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;
/**
* <p>A tag key.</p>
*
* <strong>example:</strong>
* <p>tag_key</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>A tag value.</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);
}
}
}
/**
*
* {@link GetAccountResponseBody} extends {@link TeaModel}
*
* <p>GetAccountResponseBody</p>
*/
public static class Account extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("AccountName")
private String accountName;
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("EmailStatus")
private String emailStatus;
@com.aliyun.core.annotation.NameInMap("FolderId")
private String folderId;
@com.aliyun.core.annotation.NameInMap("IdentityInformation")
private String identityInformation;
@com.aliyun.core.annotation.NameInMap("JoinMethod")
private String joinMethod;
@com.aliyun.core.annotation.NameInMap("JoinTime")
private String joinTime;
@com.aliyun.core.annotation.NameInMap("Location")
private String location;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryPath")
private String resourceDirectoryPath;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Tags")
private java.util.List<Tags> tags;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private Account(Builder builder) {
this.accountId = builder.accountId;
this.accountName = builder.accountName;
this.displayName = builder.displayName;
this.emailStatus = builder.emailStatus;
this.folderId = builder.folderId;
this.identityInformation = builder.identityInformation;
this.joinMethod = builder.joinMethod;
this.joinTime = builder.joinTime;
this.location = builder.location;
this.modifyTime = builder.modifyTime;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.resourceDirectoryPath = builder.resourceDirectoryPath;
this.status = builder.status;
this.tags = builder.tags;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Account create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return accountName
*/
public String getAccountName() {
return this.accountName;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return emailStatus
*/
public String getEmailStatus() {
return this.emailStatus;
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
/**
* @return identityInformation
*/
public String getIdentityInformation() {
return this.identityInformation;
}
/**
* @return joinMethod
*/
public String getJoinMethod() {
return this.joinMethod;
}
/**
* @return joinTime
*/
public String getJoinTime() {
return this.joinTime;
}
/**
* @return location
*/
public String getLocation() {
return this.location;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return resourceDirectoryPath
*/
public String getResourceDirectoryPath() {
return this.resourceDirectoryPath;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String accountId;
private String accountName;
private String displayName;
private String emailStatus;
private String folderId;
private String identityInformation;
private String joinMethod;
private String joinTime;
private String location;
private String modifyTime;
private String resourceDirectoryId;
private String resourceDirectoryPath;
private String status;
private java.util.List<Tags> tags;
private String type;
/**
* <p>The Alibaba Cloud account ID of the member.</p>
*
* <strong>example:</strong>
* <p>181761095690****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The Alibaba Cloud account name of the member.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:someone@example.com">someone@example.com</a></p>
*/
public Builder accountName(String accountName) {
this.accountName = accountName;
return this;
}
/**
* <p>The display name of the member.</p>
*
* <strong>example:</strong>
* <p>admin</p>
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* <p>The status of the modification for the email address bound to the member. Valid values:</p>
* <ul>
* <li>WAIT_MODIFY: in progress</li>
* <li>CANCELLED: canceled</li>
* <li>EXPIRED: expired</li>
* </ul>
* <p>If the value of this parameter is empty, no modification is performed for the email address.</p>
*
* <strong>example:</strong>
* <p>WAIT_MODIFY</p>
*/
public Builder emailStatus(String emailStatus) {
this.emailStatus = emailStatus;
return this;
}
/**
* <p>The ID of the folder.</p>
*
* <strong>example:</strong>
* <p>fd-bVaRIG****</p>
*/
public Builder folderId(String folderId) {
this.folderId = folderId;
return this;
}
/**
* <p>The real-name verification information.</p>
*
* <strong>example:</strong>
* <p>aliyun-admin</p>
*/
public Builder identityInformation(String identityInformation) {
this.identityInformation = identityInformation;
return this;
}
/**
* <p>The way in which the member joins the resource directory. Valid values:</p>
* <ul>
* <li>invited: The member is invited to join the resource directory.</li>
* <li>created: The member is directly created in the resource directory.</li>
* </ul>
*
* <strong>example:</strong>
* <p>created</p>
*/
public Builder joinMethod(String joinMethod) {
this.joinMethod = joinMethod;
return this;
}
/**
* <p>The time when the member joined the resource directory.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder joinTime(String joinTime) {
this.joinTime = joinTime;
return this;
}
/**
* <p>The location of the member in the resource directory.</p>
*/
public Builder location(String location) {
this.location = location;
return this;
}
/**
* <p>The time when the member was modified.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-k3****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The path of the member in the resource directory.</p>
*/
public Builder resourceDirectoryPath(String resourceDirectoryPath) {
this.resourceDirectoryPath = resourceDirectoryPath;
return this;
}
/**
* <p>The status of the member. Valid values:</p>
* <ul>
* <li>CreateSuccess: The member is created.</li>
* <li>PromoteVerifying: The upgrade of the member is being confirmed.</li>
* <li>PromoteFailed: The upgrade of the member fails.</li>
* <li>PromoteExpired: The upgrade of the member expires.</li>
* <li>PromoteCancelled: The upgrade of the member is canceled.</li>
* <li>PromoteSuccess: The member is upgraded.</li>
* <li>InviteSuccess: The member accepts the invitation.</li>
* </ul>
*
* <strong>example:</strong>
* <p>CreateSuccess</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The tags that are added to the member.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
this.tags = tags;
return this;
}
/**
* <p>The type of the member. Valid values:</p>
* <ul>
* <li>CloudAccount: cloud account</li>
* <li>ResourceAccount: resource account</li>
* </ul>
*
* <strong>example:</strong>
* <p>ResourceAccount</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Account build() {
return new Account(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAutoGroupingRuleRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAutoGroupingRuleRequest} extends {@link RequestModel}
*
* <p>GetAutoGroupingRuleRequest</p>
*/
public class GetAutoGroupingRuleRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RuleId")
@com.aliyun.core.annotation.Validation(required = true)
private String ruleId;
private GetAutoGroupingRuleRequest(Builder builder) {
super(builder);
this.ruleId = builder.ruleId;
}
public static Builder builder() {
return new Builder();
}
public static GetAutoGroupingRuleRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ruleId
*/
public String getRuleId() {
return this.ruleId;
}
public static final class Builder extends Request.Builder<GetAutoGroupingRuleRequest, Builder> {
private String ruleId;
private Builder() {
super();
}
private Builder(GetAutoGroupingRuleRequest request) {
super(request);
this.ruleId = request.ruleId;
}
/**
* <p>The ID of the rule.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>gr-acfo******hy6a</p>
*/
public Builder ruleId(String ruleId) {
this.putQueryParameter("RuleId", ruleId);
this.ruleId = ruleId;
return this;
}
@Override
public GetAutoGroupingRuleRequest build() {
return new GetAutoGroupingRuleRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAutoGroupingRuleResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAutoGroupingRuleResponse} extends {@link TeaModel}
*
* <p>GetAutoGroupingRuleResponse</p>
*/
public class GetAutoGroupingRuleResponse 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 GetAutoGroupingRuleResponseBody body;
private GetAutoGroupingRuleResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAutoGroupingRuleResponse 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 GetAutoGroupingRuleResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAutoGroupingRuleResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetAutoGroupingRuleResponseBody body);
@Override
GetAutoGroupingRuleResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAutoGroupingRuleResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetAutoGroupingRuleResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAutoGroupingRuleResponse 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(GetAutoGroupingRuleResponseBody body) {
this.body = body;
return this;
}
@Override
public GetAutoGroupingRuleResponse build() {
return new GetAutoGroupingRuleResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAutoGroupingRuleResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAutoGroupingRuleResponseBody} extends {@link TeaModel}
*
* <p>GetAutoGroupingRuleResponseBody</p>
*/
public class GetAutoGroupingRuleResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Rule")
private Rule rule;
private GetAutoGroupingRuleResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.rule = builder.rule;
}
public static Builder builder() {
return new Builder();
}
public static GetAutoGroupingRuleResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return rule
*/
public Rule getRule() {
return this.rule;
}
public static final class Builder {
private String requestId;
private Rule rule;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>9EA4F962-1A2E-4AFE-BE0C-B14736FC46CC</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information about the rule.</p>
*/
public Builder rule(Rule rule) {
this.rule = rule;
return this;
}
public GetAutoGroupingRuleResponseBody build() {
return new GetAutoGroupingRuleResponseBody(this);
}
}
/**
*
* {@link GetAutoGroupingRuleResponseBody} extends {@link TeaModel}
*
* <p>GetAutoGroupingRuleResponseBody</p>
*/
public static class RuleContents extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AutoGroupingScopeCondition")
private String autoGroupingScopeCondition;
@com.aliyun.core.annotation.NameInMap("RuleContentId")
private String ruleContentId;
@com.aliyun.core.annotation.NameInMap("TargetResourceGroupCondition")
private String targetResourceGroupCondition;
private RuleContents(Builder builder) {
this.autoGroupingScopeCondition = builder.autoGroupingScopeCondition;
this.ruleContentId = builder.ruleContentId;
this.targetResourceGroupCondition = builder.targetResourceGroupCondition;
}
public static Builder builder() {
return new Builder();
}
public static RuleContents create() {
return builder().build();
}
/**
* @return autoGroupingScopeCondition
*/
public String getAutoGroupingScopeCondition() {
return this.autoGroupingScopeCondition;
}
/**
* @return ruleContentId
*/
public String getRuleContentId() {
return this.ruleContentId;
}
/**
* @return targetResourceGroupCondition
*/
public String getTargetResourceGroupCondition() {
return this.targetResourceGroupCondition;
}
public static final class Builder {
private String autoGroupingScopeCondition;
private String ruleContentId;
private String targetResourceGroupCondition;
/**
* <p>The condition for the range of resources that are automatically transferred.</p>
*
* <strong>example:</strong>
* <p>{"children":[{"desired":"{"env":"online", "project":"A"}","featurePath":"$.tags","featureSource":"RESOURCE","operator":"TagMatchAll"}],"operator":"and"}</p>
*/
public Builder autoGroupingScopeCondition(String autoGroupingScopeCondition) {
this.autoGroupingScopeCondition = autoGroupingScopeCondition;
return this;
}
/**
* <p>The ID of the content record.</p>
*
* <strong>example:</strong>
* <p>grc-acfo******fwybpq</p>
*/
public Builder ruleContentId(String ruleContentId) {
this.ruleContentId = ruleContentId;
return this;
}
/**
* <p>The condition for the destination resource group.</p>
*
* <strong>example:</strong>
* <p>{"children":[{"desired":"rg-aek2********qcy","featurePath":"$.resourceGroupId","featureSource":"RESOURCE","operator":"StringEquals"}],"operator":"and"}</p>
*/
public Builder targetResourceGroupCondition(String targetResourceGroupCondition) {
this.targetResourceGroupCondition = targetResourceGroupCondition;
return this;
}
public RuleContents build() {
return new RuleContents(this);
}
}
}
/**
*
* {@link GetAutoGroupingRuleResponseBody} extends {@link TeaModel}
*
* <p>GetAutoGroupingRuleResponseBody</p>
*/
public static class Rule extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("ExcludeRegionIdsScope")
private String excludeRegionIdsScope;
@com.aliyun.core.annotation.NameInMap("ExcludeResourceGroupIdsScope")
private String excludeResourceGroupIdsScope;
@com.aliyun.core.annotation.NameInMap("ExcludeResourceIdsScope")
private String excludeResourceIdsScope;
@com.aliyun.core.annotation.NameInMap("ExcludeResourceTypesScope")
private String excludeResourceTypesScope;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("RegionIdsScope")
private String regionIdsScope;
@com.aliyun.core.annotation.NameInMap("ResourceGroupIdsScope")
private String resourceGroupIdsScope;
@com.aliyun.core.annotation.NameInMap("ResourceIdsScope")
private String resourceIdsScope;
@com.aliyun.core.annotation.NameInMap("ResourceTypesScope")
private String resourceTypesScope;
@com.aliyun.core.annotation.NameInMap("RuleContents")
private java.util.List<RuleContents> ruleContents;
@com.aliyun.core.annotation.NameInMap("RuleDesc")
private String ruleDesc;
@com.aliyun.core.annotation.NameInMap("RuleId")
private String ruleId;
@com.aliyun.core.annotation.NameInMap("RuleName")
private String ruleName;
@com.aliyun.core.annotation.NameInMap("RuleType")
private String ruleType;
private Rule(Builder builder) {
this.createTime = builder.createTime;
this.excludeRegionIdsScope = builder.excludeRegionIdsScope;
this.excludeResourceGroupIdsScope = builder.excludeResourceGroupIdsScope;
this.excludeResourceIdsScope = builder.excludeResourceIdsScope;
this.excludeResourceTypesScope = builder.excludeResourceTypesScope;
this.modifyTime = builder.modifyTime;
this.regionIdsScope = builder.regionIdsScope;
this.resourceGroupIdsScope = builder.resourceGroupIdsScope;
this.resourceIdsScope = builder.resourceIdsScope;
this.resourceTypesScope = builder.resourceTypesScope;
this.ruleContents = builder.ruleContents;
this.ruleDesc = builder.ruleDesc;
this.ruleId = builder.ruleId;
this.ruleName = builder.ruleName;
this.ruleType = builder.ruleType;
}
public static Builder builder() {
return new Builder();
}
public static Rule create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return excludeRegionIdsScope
*/
public String getExcludeRegionIdsScope() {
return this.excludeRegionIdsScope;
}
/**
* @return excludeResourceGroupIdsScope
*/
public String getExcludeResourceGroupIdsScope() {
return this.excludeResourceGroupIdsScope;
}
/**
* @return excludeResourceIdsScope
*/
public String getExcludeResourceIdsScope() {
return this.excludeResourceIdsScope;
}
/**
* @return excludeResourceTypesScope
*/
public String getExcludeResourceTypesScope() {
return this.excludeResourceTypesScope;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return regionIdsScope
*/
public String getRegionIdsScope() {
return this.regionIdsScope;
}
/**
* @return resourceGroupIdsScope
*/
public String getResourceGroupIdsScope() {
return this.resourceGroupIdsScope;
}
/**
* @return resourceIdsScope
*/
public String getResourceIdsScope() {
return this.resourceIdsScope;
}
/**
* @return resourceTypesScope
*/
public String getResourceTypesScope() {
return this.resourceTypesScope;
}
/**
* @return ruleContents
*/
public java.util.List<RuleContents> getRuleContents() {
return this.ruleContents;
}
/**
* @return ruleDesc
*/
public String getRuleDesc() {
return this.ruleDesc;
}
/**
* @return ruleId
*/
public String getRuleId() {
return this.ruleId;
}
/**
* @return ruleName
*/
public String getRuleName() {
return this.ruleName;
}
/**
* @return ruleType
*/
public String getRuleType() {
return this.ruleType;
}
public static final class Builder {
private String createTime;
private String excludeRegionIdsScope;
private String excludeResourceGroupIdsScope;
private String excludeResourceIdsScope;
private String excludeResourceTypesScope;
private String modifyTime;
private String regionIdsScope;
private String resourceGroupIdsScope;
private String resourceIdsScope;
private String resourceTypesScope;
private java.util.List<RuleContents> ruleContents;
private String ruleDesc;
private String ruleId;
private String ruleName;
private String ruleType;
/**
* <p>The time when the rule was created.</p>
*
* <strong>example:</strong>
* <p>2025-01-01T10:00:00+08:00</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The IDs of excluded regions. Multiple IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou,cn-shanghai</p>
*/
public Builder excludeRegionIdsScope(String excludeRegionIdsScope) {
this.excludeRegionIdsScope = excludeRegionIdsScope;
return this;
}
/**
* <p>The IDs of excluded resource groups. Multiple IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>rg-aekz<strong><strong><strong>4b5ea,rg-aek2</strong></strong></strong>fxykq</p>
*/
public Builder excludeResourceGroupIdsScope(String excludeResourceGroupIdsScope) {
this.excludeResourceGroupIdsScope = excludeResourceGroupIdsScope;
return this;
}
/**
* <p>The IDs of excluded resources. Multiple IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>i-2zee<strong><strong><strong>ym49kfmwis,vpc-5ts6</strong></strong></strong>fnw493g849a</p>
*/
public Builder excludeResourceIdsScope(String excludeResourceIdsScope) {
this.excludeResourceIdsScope = excludeResourceIdsScope;
return this;
}
/**
* <p>The excluded resource types. Multiple resource types are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>ecs.instance,vpc.vpc</p>
*/
public Builder excludeResourceTypesScope(String excludeResourceTypesScope) {
this.excludeResourceTypesScope = excludeResourceTypesScope;
return this;
}
/**
* <p>The time when the rule was modified.</p>
*
* <strong>example:</strong>
* <p>2025-01-01T10:00:00+08:00</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The IDs of regions. Multiple IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou,cn-shanghai</p>
*/
public Builder regionIdsScope(String regionIdsScope) {
this.regionIdsScope = regionIdsScope;
return this;
}
/**
* <p>The IDs of resource groups. Multiple IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>rg-aekz<strong><strong><strong>4b5ea,rg-aek2</strong></strong></strong>fxykq</p>
*/
public Builder resourceGroupIdsScope(String resourceGroupIdsScope) {
this.resourceGroupIdsScope = resourceGroupIdsScope;
return this;
}
/**
* <p>The IDs of resources. Multiple IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>i-2zee<strong><strong><strong>ym49kfmwis,vpc-5ts6</strong></strong></strong>fnw493g849a</p>
*/
public Builder resourceIdsScope(String resourceIdsScope) {
this.resourceIdsScope = resourceIdsScope;
return this;
}
/**
* <p>The resource types. Multiple resource types are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>ecs.instance,vpc.vpc</p>
*/
public Builder resourceTypesScope(String resourceTypesScope) {
this.resourceTypesScope = resourceTypesScope;
return this;
}
/**
* <p>The content records of the rule.</p>
*/
public Builder ruleContents(java.util.List<RuleContents> ruleContents) {
this.ruleContents = ruleContents;
return this;
}
/**
* <p>The description of the rule.</p>
*
* <strong>example:</strong>
* <p>Transfer resources to which the {"env": "online"} and {"project": "A"} tags are added to the resource group rg-aek2********qcy.</p>
*/
public Builder ruleDesc(String ruleDesc) {
this.ruleDesc = ruleDesc;
return this;
}
/**
* <p>The ID of the rule.</p>
*
* <strong>example:</strong>
* <p>gr-acfo******hy6a</p>
*/
public Builder ruleId(String ruleId) {
this.ruleId = ruleId;
return this;
}
/**
* <p>The name of the rule.</p>
*
* <strong>example:</strong>
* <p>Custom Transfer Rule for Online Resources of Project A</p>
*/
public Builder ruleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
/**
* <p>The type of the rule. Valid values:</p>
* <ul>
* <li>custom_condition: custom transfer rule</li>
* <li>associated_transfer: transfer rule for associated resources</li>
* </ul>
*
* <strong>example:</strong>
* <p>associated_transfer</p>
*/
public Builder ruleType(String ruleType) {
this.ruleType = ruleType;
return this;
}
public Rule build() {
return new Rule(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAutoGroupingStatusRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAutoGroupingStatusRequest} extends {@link RequestModel}
*
* <p>GetAutoGroupingStatusRequest</p>
*/
public class GetAutoGroupingStatusRequest extends Request {
private GetAutoGroupingStatusRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static GetAutoGroupingStatusRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<GetAutoGroupingStatusRequest, Builder> {
private Builder() {
super();
}
private Builder(GetAutoGroupingStatusRequest request) {
super(request);
}
@Override
public GetAutoGroupingStatusRequest build() {
return new GetAutoGroupingStatusRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAutoGroupingStatusResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAutoGroupingStatusResponse} extends {@link TeaModel}
*
* <p>GetAutoGroupingStatusResponse</p>
*/
public class GetAutoGroupingStatusResponse 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 GetAutoGroupingStatusResponseBody body;
private GetAutoGroupingStatusResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAutoGroupingStatusResponse 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 GetAutoGroupingStatusResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAutoGroupingStatusResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetAutoGroupingStatusResponseBody body);
@Override
GetAutoGroupingStatusResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAutoGroupingStatusResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetAutoGroupingStatusResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAutoGroupingStatusResponse 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(GetAutoGroupingStatusResponseBody body) {
this.body = body;
return this;
}
@Override
public GetAutoGroupingStatusResponse build() {
return new GetAutoGroupingStatusResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetAutoGroupingStatusResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetAutoGroupingStatusResponseBody} extends {@link TeaModel}
*
* <p>GetAutoGroupingStatusResponseBody</p>
*/
public class GetAutoGroupingStatusResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnableExistedResourcesTransfer")
private Boolean enableExistedResourcesTransfer;
@com.aliyun.core.annotation.NameInMap("EnableStatus")
private String enableStatus;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetAutoGroupingStatusResponseBody(Builder builder) {
this.enableExistedResourcesTransfer = builder.enableExistedResourcesTransfer;
this.enableStatus = builder.enableStatus;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetAutoGroupingStatusResponseBody create() {
return builder().build();
}
/**
* @return enableExistedResourcesTransfer
*/
public Boolean getEnableExistedResourcesTransfer() {
return this.enableExistedResourcesTransfer;
}
/**
* @return enableStatus
*/
public String getEnableStatus() {
return this.enableStatus;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Boolean enableExistedResourcesTransfer;
private String enableStatus;
private String requestId;
/**
* <p>Indicates whether the Transfer Existing Associated Resources feature is enabled. Valid values:</p>
* <ul>
* <li>true</li>
* <li>false</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder enableExistedResourcesTransfer(Boolean enableExistedResourcesTransfer) {
this.enableExistedResourcesTransfer = enableExistedResourcesTransfer;
return this;
}
/**
* <p>The status of the Automatic Resource Transfer feature. Valid values:</p>
* <ul>
* <li>Enabling: The feature is being enabled.</li>
* <li>Enable: The feature is enabled.</li>
* <li>Partial_Enable: The transfer of associated resources is enabled, but custom transfer rule-based resource transfer is disabled. You can call the <a href="https://help.aliyun.com/document_detail/2870380.html">EnableAutoGrouping</a> operation to enable custom transfer rule-based resource transfer.</li>
* <li>Disable: The feature is disabled.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Enable</p>
*/
public Builder enableStatus(String enableStatus) {
this.enableStatus = enableStatus;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>0217AFEB-5318-56D4-B167-1933D83EDF3F</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetAutoGroupingStatusResponseBody build() {
return new GetAutoGroupingStatusResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetControlPolicyEnablementStatusRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetControlPolicyEnablementStatusRequest} extends {@link RequestModel}
*
* <p>GetControlPolicyEnablementStatusRequest</p>
*/
public class GetControlPolicyEnablementStatusRequest extends Request {
private GetControlPolicyEnablementStatusRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static GetControlPolicyEnablementStatusRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<GetControlPolicyEnablementStatusRequest, Builder> {
private Builder() {
super();
}
private Builder(GetControlPolicyEnablementStatusRequest request) {
super(request);
}
@Override
public GetControlPolicyEnablementStatusRequest build() {
return new GetControlPolicyEnablementStatusRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetControlPolicyEnablementStatusResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetControlPolicyEnablementStatusResponse} extends {@link TeaModel}
*
* <p>GetControlPolicyEnablementStatusResponse</p>
*/
public class GetControlPolicyEnablementStatusResponse 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 GetControlPolicyEnablementStatusResponseBody body;
private GetControlPolicyEnablementStatusResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetControlPolicyEnablementStatusResponse 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 GetControlPolicyEnablementStatusResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetControlPolicyEnablementStatusResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetControlPolicyEnablementStatusResponseBody body);
@Override
GetControlPolicyEnablementStatusResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetControlPolicyEnablementStatusResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetControlPolicyEnablementStatusResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetControlPolicyEnablementStatusResponse 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(GetControlPolicyEnablementStatusResponseBody body) {
this.body = body;
return this;
}
@Override
public GetControlPolicyEnablementStatusResponse build() {
return new GetControlPolicyEnablementStatusResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetControlPolicyEnablementStatusResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetControlPolicyEnablementStatusResponseBody} extends {@link TeaModel}
*
* <p>GetControlPolicyEnablementStatusResponseBody</p>
*/
public class GetControlPolicyEnablementStatusResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnablementStatus")
private String enablementStatus;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetControlPolicyEnablementStatusResponseBody(Builder builder) {
this.enablementStatus = builder.enablementStatus;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetControlPolicyEnablementStatusResponseBody create() {
return builder().build();
}
/**
* @return enablementStatus
*/
public String getEnablementStatus() {
return this.enablementStatus;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String enablementStatus;
private String requestId;
/**
* <p>The status of the Control Policy feature. Valid values:</p>
* <ul>
* <li>Enabled: The Control Policy feature is enabled.</li>
* <li>PendingEnable: The Control Policy feature is being enabled.</li>
* <li>Disabled: The Control Policy feature is disabled.</li>
* <li>PendingDisable: The Control Policy feature is being disabled.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Disabled</p>
*/
public Builder enablementStatus(String enablementStatus) {
this.enablementStatus = enablementStatus;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>1DC39A4E-3B52-4EFE-9F93-4897D7FFA0C4</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetControlPolicyEnablementStatusResponseBody build() {
return new GetControlPolicyEnablementStatusResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetControlPolicyRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetControlPolicyRequest} extends {@link RequestModel}
*
* <p>GetControlPolicyRequest</p>
*/
public class GetControlPolicyRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Language")
private String language;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyId")
@com.aliyun.core.annotation.Validation(required = true)
private String policyId;
private GetControlPolicyRequest(Builder builder) {
super(builder);
this.language = builder.language;
this.policyId = builder.policyId;
}
public static Builder builder() {
return new Builder();
}
public static GetControlPolicyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return language
*/
public String getLanguage() {
return this.language;
}
/**
* @return policyId
*/
public String getPolicyId() {
return this.policyId;
}
public static final class Builder extends Request.Builder<GetControlPolicyRequest, Builder> {
private String language;
private String policyId;
private Builder() {
super();
}
private Builder(GetControlPolicyRequest request) {
super(request);
this.language = request.language;
this.policyId = request.policyId;
}
/**
* <p>The language in which you want to return the description of the access control policy. Valid values:</p>
* <ul>
* <li>zh-CN (default value): Chinese</li>
* <li>en: English</li>
* <li>ja: Japanese</li>
* </ul>
* <blockquote>
* <p> This parameter is valid only for system access control policies.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>zh-CN</p>
*/
public Builder language(String language) {
this.putQueryParameter("Language", language);
this.language = language;
return this;
}
/**
* <p>The ID of the access control policy.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cp-SImPt8GCEwiq****</p>
*/
public Builder policyId(String policyId) {
this.putQueryParameter("PolicyId", policyId);
this.policyId = policyId;
return this;
}
@Override
public GetControlPolicyRequest build() {
return new GetControlPolicyRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetControlPolicyResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetControlPolicyResponse} extends {@link TeaModel}
*
* <p>GetControlPolicyResponse</p>
*/
public class GetControlPolicyResponse 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 GetControlPolicyResponseBody body;
private GetControlPolicyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetControlPolicyResponse 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 GetControlPolicyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetControlPolicyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetControlPolicyResponseBody body);
@Override
GetControlPolicyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetControlPolicyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetControlPolicyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetControlPolicyResponse 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(GetControlPolicyResponseBody body) {
this.body = body;
return this;
}
@Override
public GetControlPolicyResponse build() {
return new GetControlPolicyResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetControlPolicyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetControlPolicyResponseBody} extends {@link TeaModel}
*
* <p>GetControlPolicyResponseBody</p>
*/
public class GetControlPolicyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ControlPolicy")
private ControlPolicy controlPolicy;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetControlPolicyResponseBody(Builder builder) {
this.controlPolicy = builder.controlPolicy;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetControlPolicyResponseBody create() {
return builder().build();
}
/**
* @return controlPolicy
*/
public ControlPolicy getControlPolicy() {
return this.controlPolicy;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private ControlPolicy controlPolicy;
private String requestId;
/**
* <p>The details of the access control policy.</p>
*/
public Builder controlPolicy(ControlPolicy controlPolicy) {
this.controlPolicy = controlPolicy;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>AB769936-CDFA-4D52-8CE2-A3581800044A</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetControlPolicyResponseBody build() {
return new GetControlPolicyResponseBody(this);
}
}
/**
*
* {@link GetControlPolicyResponseBody} extends {@link TeaModel}
*
* <p>GetControlPolicyResponseBody</p>
*/
public static class ControlPolicy extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AttachmentCount")
private String attachmentCount;
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("EffectScope")
private String effectScope;
@com.aliyun.core.annotation.NameInMap("PolicyDocument")
private String policyDocument;
@com.aliyun.core.annotation.NameInMap("PolicyId")
private String policyId;
@com.aliyun.core.annotation.NameInMap("PolicyName")
private String policyName;
@com.aliyun.core.annotation.NameInMap("PolicyType")
private String policyType;
@com.aliyun.core.annotation.NameInMap("UpdateDate")
private String updateDate;
private ControlPolicy(Builder builder) {
this.attachmentCount = builder.attachmentCount;
this.createDate = builder.createDate;
this.description = builder.description;
this.effectScope = builder.effectScope;
this.policyDocument = builder.policyDocument;
this.policyId = builder.policyId;
this.policyName = builder.policyName;
this.policyType = builder.policyType;
this.updateDate = builder.updateDate;
}
public static Builder builder() {
return new Builder();
}
public static ControlPolicy create() {
return builder().build();
}
/**
* @return attachmentCount
*/
public String getAttachmentCount() {
return this.attachmentCount;
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return effectScope
*/
public String getEffectScope() {
return this.effectScope;
}
/**
* @return policyDocument
*/
public String getPolicyDocument() {
return this.policyDocument;
}
/**
* @return policyId
*/
public String getPolicyId() {
return this.policyId;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
/**
* @return updateDate
*/
public String getUpdateDate() {
return this.updateDate;
}
public static final class Builder {
private String attachmentCount;
private String createDate;
private String description;
private String effectScope;
private String policyDocument;
private String policyId;
private String policyName;
private String policyType;
private String updateDate;
/**
* <p>The number of times that the access control policy is referenced.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder attachmentCount(String attachmentCount) {
this.attachmentCount = attachmentCount;
return this;
}
/**
* <p>The time when the access control policy was created.</p>
*
* <strong>example:</strong>
* <p>2021-03-18T08:51:33Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The description of the access control policy.</p>
*
* <strong>example:</strong>
* <p>ExampleControlPolicy</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The effective scope of the access control policy. Valid values:</p>
* <ul>
* <li>All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.</li>
* <li>RAM: The access control policy is in effect only for RAM users and RAM roles.</li>
* </ul>
*
* <strong>example:</strong>
* <p>RAM</p>
*/
public Builder effectScope(String effectScope) {
this.effectScope = effectScope;
return this;
}
/**
* <p>The document of the access control policy.</p>
*
* <strong>example:</strong>
* <p>{"Version":"1","Statement":[{"Effect":"Deny","Action":["ram:UpdateRole","ram:DeleteRole","ram:AttachPolicyToRole","ram:DetachPolicyFromRole"],"Resource":"acs:ram:<em>:</em>:role/ResourceDirectoryAccountAccessRole"}]}</p>
*/
public Builder policyDocument(String policyDocument) {
this.policyDocument = policyDocument;
return this;
}
/**
* <p>The ID of the access control policy.</p>
*
* <strong>example:</strong>
* <p>cp-SImPt8GCEwiq****</p>
*/
public Builder policyId(String policyId) {
this.policyId = policyId;
return this;
}
/**
* <p>The name of the access control policy.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder policyName(String policyName) {
this.policyName = policyName;
return this;
}
/**
* <p>The type of the access control policy. Valid values:</p>
* <ul>
* <li>System: system access control policy</li>
* <li>Custom: custom access control policy</li>
* </ul>
*
* <strong>example:</strong>
* <p>Custom</p>
*/
public Builder policyType(String policyType) {
this.policyType = policyType;
return this;
}
/**
* <p>The time when the access control policy was updated.</p>
*
* <strong>example:</strong>
* <p>2021-03-18T08:51:33Z</p>
*/
public Builder updateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
public ControlPolicy build() {
return new ControlPolicy(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetFolderRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetFolderRequest} extends {@link RequestModel}
*
* <p>GetFolderRequest</p>
*/
public class GetFolderRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("FolderId")
@com.aliyun.core.annotation.Validation(required = true)
private String folderId;
private GetFolderRequest(Builder builder) {
super(builder);
this.folderId = builder.folderId;
}
public static Builder builder() {
return new Builder();
}
public static GetFolderRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
public static final class Builder extends Request.Builder<GetFolderRequest, Builder> {
private String folderId;
private Builder() {
super();
}
private Builder(GetFolderRequest request) {
super(request);
this.folderId = request.folderId;
}
/**
* <p>The ID of the folder.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>fd-Jyl5U7****</p>
*/
public Builder folderId(String folderId) {
this.putQueryParameter("FolderId", folderId);
this.folderId = folderId;
return this;
}
@Override
public GetFolderRequest build() {
return new GetFolderRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetFolderResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetFolderResponse} extends {@link TeaModel}
*
* <p>GetFolderResponse</p>
*/
public class GetFolderResponse 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 GetFolderResponseBody body;
private GetFolderResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetFolderResponse 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 GetFolderResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetFolderResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetFolderResponseBody body);
@Override
GetFolderResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetFolderResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetFolderResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetFolderResponse 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(GetFolderResponseBody body) {
this.body = body;
return this;
}
@Override
public GetFolderResponse build() {
return new GetFolderResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetFolderResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetFolderResponseBody} extends {@link TeaModel}
*
* <p>GetFolderResponseBody</p>
*/
public class GetFolderResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Folder")
private Folder folder;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetFolderResponseBody(Builder builder) {
this.folder = builder.folder;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetFolderResponseBody create() {
return builder().build();
}
/**
* @return folder
*/
public Folder getFolder() {
return this.folder;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Folder folder;
private String requestId;
/**
* <p>The information of the folder.</p>
*/
public Builder folder(Folder folder) {
this.folder = folder;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>C2CBCA30-C8DD-423E-B4AD-4FB694C9180C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetFolderResponseBody build() {
return new GetFolderResponseBody(this);
}
}
/**
*
* {@link GetFolderResponseBody} extends {@link TeaModel}
*
* <p>GetFolderResponseBody</p>
*/
public static class Folder extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("FolderId")
private String folderId;
@com.aliyun.core.annotation.NameInMap("FolderName")
private String folderName;
@com.aliyun.core.annotation.NameInMap("ParentFolderId")
private String parentFolderId;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryPath")
private String resourceDirectoryPath;
private Folder(Builder builder) {
this.createTime = builder.createTime;
this.folderId = builder.folderId;
this.folderName = builder.folderName;
this.parentFolderId = builder.parentFolderId;
this.resourceDirectoryPath = builder.resourceDirectoryPath;
}
public static Builder builder() {
return new Builder();
}
public static Folder create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
/**
* @return folderName
*/
public String getFolderName() {
return this.folderName;
}
/**
* @return parentFolderId
*/
public String getParentFolderId() {
return this.parentFolderId;
}
/**
* @return resourceDirectoryPath
*/
public String getResourceDirectoryPath() {
return this.resourceDirectoryPath;
}
public static final class Builder {
private String createTime;
private String folderId;
private String folderName;
private String parentFolderId;
private String resourceDirectoryPath;
/**
* <p>The time when the folder was created.</p>
*
* <strong>example:</strong>
* <p>2021-06-15T06:39:08.521Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The ID of the folder.</p>
*
* <strong>example:</strong>
* <p>fd-Jyl5U7****</p>
*/
public Builder folderId(String folderId) {
this.folderId = folderId;
return this;
}
/**
* <p>The name of the folder.</p>
*
* <strong>example:</strong>
* <p>Applications</p>
*/
public Builder folderName(String folderName) {
this.folderName = folderName;
return this;
}
/**
* <p>The ID of the parent folder.</p>
*
* <strong>example:</strong>
* <p>r-Wm****</p>
*/
public Builder parentFolderId(String parentFolderId) {
this.parentFolderId = parentFolderId;
return this;
}
/**
* <p>The path of the folder in the resource directory.</p>
*/
public Builder resourceDirectoryPath(String resourceDirectoryPath) {
this.resourceDirectoryPath = resourceDirectoryPath;
return this;
}
public Folder build() {
return new Folder(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetHandshakeRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetHandshakeRequest} extends {@link RequestModel}
*
* <p>GetHandshakeRequest</p>
*/
public class GetHandshakeRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HandshakeId")
@com.aliyun.core.annotation.Validation(required = true)
private String handshakeId;
private GetHandshakeRequest(Builder builder) {
super(builder);
this.handshakeId = builder.handshakeId;
}
public static Builder builder() {
return new Builder();
}
public static GetHandshakeRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return handshakeId
*/
public String getHandshakeId() {
return this.handshakeId;
}
public static final class Builder extends Request.Builder<GetHandshakeRequest, Builder> {
private String handshakeId;
private Builder() {
super();
}
private Builder(GetHandshakeRequest request) {
super(request);
this.handshakeId = request.handshakeId;
}
/**
* <p>The ID of the invitation.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>h-ycm4rp****</p>
*/
public Builder handshakeId(String handshakeId) {
this.putQueryParameter("HandshakeId", handshakeId);
this.handshakeId = handshakeId;
return this;
}
@Override
public GetHandshakeRequest build() {
return new GetHandshakeRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetHandshakeResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetHandshakeResponse} extends {@link TeaModel}
*
* <p>GetHandshakeResponse</p>
*/
public class GetHandshakeResponse 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 GetHandshakeResponseBody body;
private GetHandshakeResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetHandshakeResponse 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 GetHandshakeResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetHandshakeResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetHandshakeResponseBody body);
@Override
GetHandshakeResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetHandshakeResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetHandshakeResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetHandshakeResponse 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(GetHandshakeResponseBody body) {
this.body = body;
return this;
}
@Override
public GetHandshakeResponse build() {
return new GetHandshakeResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetHandshakeResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetHandshakeResponseBody} extends {@link TeaModel}
*
* <p>GetHandshakeResponseBody</p>
*/
public class GetHandshakeResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Handshake")
private Handshake handshake;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetHandshakeResponseBody(Builder builder) {
this.handshake = builder.handshake;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetHandshakeResponseBody create() {
return builder().build();
}
/**
* @return handshake
*/
public Handshake getHandshake() {
return this.handshake;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Handshake handshake;
private String requestId;
/**
* <p>The information of the invitation.</p>
*/
public Builder handshake(Handshake handshake) {
this.handshake = handshake;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetHandshakeResponseBody build() {
return new GetHandshakeResponseBody(this);
}
}
/**
*
* {@link GetHandshakeResponseBody} extends {@link TeaModel}
*
* <p>GetHandshakeResponseBody</p>
*/
public static class Handshake extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("ExpireTime")
private String expireTime;
@com.aliyun.core.annotation.NameInMap("HandshakeId")
private String handshakeId;
@com.aliyun.core.annotation.NameInMap("InvitedAccountRealName")
private String invitedAccountRealName;
@com.aliyun.core.annotation.NameInMap("MasterAccountId")
private String masterAccountId;
@com.aliyun.core.annotation.NameInMap("MasterAccountName")
private String masterAccountName;
@com.aliyun.core.annotation.NameInMap("MasterAccountRealName")
private String masterAccountRealName;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("Note")
private String note;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("TargetEntity")
private String targetEntity;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private Handshake(Builder builder) {
this.createTime = builder.createTime;
this.expireTime = builder.expireTime;
this.handshakeId = builder.handshakeId;
this.invitedAccountRealName = builder.invitedAccountRealName;
this.masterAccountId = builder.masterAccountId;
this.masterAccountName = builder.masterAccountName;
this.masterAccountRealName = builder.masterAccountRealName;
this.modifyTime = builder.modifyTime;
this.note = builder.note;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.status = builder.status;
this.targetEntity = builder.targetEntity;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static Handshake create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return expireTime
*/
public String getExpireTime() {
return this.expireTime;
}
/**
* @return handshakeId
*/
public String getHandshakeId() {
return this.handshakeId;
}
/**
* @return invitedAccountRealName
*/
public String getInvitedAccountRealName() {
return this.invitedAccountRealName;
}
/**
* @return masterAccountId
*/
public String getMasterAccountId() {
return this.masterAccountId;
}
/**
* @return masterAccountName
*/
public String getMasterAccountName() {
return this.masterAccountName;
}
/**
* @return masterAccountRealName
*/
public String getMasterAccountRealName() {
return this.masterAccountRealName;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return note
*/
public String getNote() {
return this.note;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return targetEntity
*/
public String getTargetEntity() {
return this.targetEntity;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String createTime;
private String expireTime;
private String handshakeId;
private String invitedAccountRealName;
private String masterAccountId;
private String masterAccountName;
private String masterAccountRealName;
private String modifyTime;
private String note;
private String resourceDirectoryId;
private String status;
private String targetEntity;
private String targetType;
/**
* <p>The time when the invitation was created. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-08-10T09:55:41Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The time when the invitation expires. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-08-24T09:55:41Z</p>
*/
public Builder expireTime(String expireTime) {
this.expireTime = expireTime;
return this;
}
/**
* <p>The ID of the invitation.</p>
*
* <strong>example:</strong>
* <p>h-ycm4rp****</p>
*/
public Builder handshakeId(String handshakeId) {
this.handshakeId = handshakeId;
return this;
}
/**
* <p>The real-name verification information of the invitee.</p>
* <blockquote>
* <p> This parameter is available only when an invitee calls this operation.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>Alice</p>
*/
public Builder invitedAccountRealName(String invitedAccountRealName) {
this.invitedAccountRealName = invitedAccountRealName;
return this;
}
/**
* <p>The ID of the management account of the resource directory.</p>
*
* <strong>example:</strong>
* <p>172841235500****</p>
*/
public Builder masterAccountId(String masterAccountId) {
this.masterAccountId = masterAccountId;
return this;
}
/**
* <p>The name of the management account of the resource directory.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:company@example.com">company@example.com</a></p>
*/
public Builder masterAccountName(String masterAccountName) {
this.masterAccountName = masterAccountName;
return this;
}
/**
* <p>The real-name verification information of the management account of the resource directory.</p>
* <blockquote>
* <p> This parameter is available only when an invitee calls this operation.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>company</p>
*/
public Builder masterAccountRealName(String masterAccountRealName) {
this.masterAccountRealName = masterAccountRealName;
return this;
}
/**
* <p>The time when the invitation was modified. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-08-10T09:55:41Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The comment on the invitation.</p>
*
* <strong>example:</strong>
* <p>Welcome</p>
*/
public Builder note(String note) {
this.note = note;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-abcdef****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The status of the invitation. Valid values:</p>
* <ul>
* <li>Pending: The invitation is waiting for confirmation.</li>
* <li>Accepted: The invitation is accepted.</li>
* <li>Cancelled: The invitation is canceled.</li>
* <li>Declined: The invitation is rejected.</li>
* <li>Expired: The invitation expires.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Pending</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The ID or logon email address of the invited account.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:someone@example.com">someone@example.com</a></p>
*/
public Builder targetEntity(String targetEntity) {
this.targetEntity = targetEntity;
return this;
}
/**
* <p>The type of the invited account. Valid values:</p>
* <ul>
* <li>Account: indicates the ID of the account.</li>
* <li>Email: indicates the logon email address of the account.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Email</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public Handshake build() {
return new Handshake(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetPayerForAccountRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetPayerForAccountRequest} extends {@link RequestModel}
*
* <p>GetPayerForAccountRequest</p>
*/
public class GetPayerForAccountRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
private GetPayerForAccountRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
}
public static Builder builder() {
return new Builder();
}
public static GetPayerForAccountRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
public static final class Builder extends Request.Builder<GetPayerForAccountRequest, Builder> {
private String accountId;
private Builder() {
super();
}
private Builder(GetPayerForAccountRequest request) {
super(request);
this.accountId = request.accountId;
}
/**
* <p>The ID of the account.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>12323344****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
@Override
public GetPayerForAccountRequest build() {
return new GetPayerForAccountRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetPayerForAccountResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetPayerForAccountResponse} extends {@link TeaModel}
*
* <p>GetPayerForAccountResponse</p>
*/
public class GetPayerForAccountResponse 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 GetPayerForAccountResponseBody body;
private GetPayerForAccountResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetPayerForAccountResponse 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 GetPayerForAccountResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetPayerForAccountResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetPayerForAccountResponseBody body);
@Override
GetPayerForAccountResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetPayerForAccountResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetPayerForAccountResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetPayerForAccountResponse 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(GetPayerForAccountResponseBody body) {
this.body = body;
return this;
}
@Override
public GetPayerForAccountResponse build() {
return new GetPayerForAccountResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetPayerForAccountResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetPayerForAccountResponseBody} extends {@link TeaModel}
*
* <p>GetPayerForAccountResponseBody</p>
*/
public class GetPayerForAccountResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PayerAccountId")
private String payerAccountId;
@com.aliyun.core.annotation.NameInMap("PayerAccountName")
private String payerAccountName;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetPayerForAccountResponseBody(Builder builder) {
this.payerAccountId = builder.payerAccountId;
this.payerAccountName = builder.payerAccountName;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetPayerForAccountResponseBody create() {
return builder().build();
}
/**
* @return payerAccountId
*/
public String getPayerAccountId() {
return this.payerAccountId;
}
/**
* @return payerAccountName
*/
public String getPayerAccountName() {
return this.payerAccountName;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String payerAccountId;
private String payerAccountName;
private String requestId;
/**
* <p>The ID of the settlement account.</p>
*
* <strong>example:</strong>
* <p>172841235500****</p>
*/
public Builder payerAccountId(String payerAccountId) {
this.payerAccountId = payerAccountId;
return this;
}
/**
* <p>The name of the settlement account.</p>
*
* <strong>example:</strong>
* <p>Alice</p>
*/
public Builder payerAccountName(String payerAccountName) {
this.payerAccountName = payerAccountName;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetPayerForAccountResponseBody build() {
return new GetPayerForAccountResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetPolicyRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetPolicyRequest} extends {@link RequestModel}
*
* <p>GetPolicyRequest</p>
*/
public class GetPolicyRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Language")
private String language;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyName")
@com.aliyun.core.annotation.Validation(required = true)
private String policyName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyType")
@com.aliyun.core.annotation.Validation(required = true)
private String policyType;
private GetPolicyRequest(Builder builder) {
super(builder);
this.language = builder.language;
this.policyName = builder.policyName;
this.policyType = builder.policyType;
}
public static Builder builder() {
return new Builder();
}
public static GetPolicyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return language
*/
public String getLanguage() {
return this.language;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
public static final class Builder extends Request.Builder<GetPolicyRequest, Builder> {
private String language;
private String policyName;
private String policyType;
private Builder() {
super();
}
private Builder(GetPolicyRequest request) {
super(request);
this.language = request.language;
this.policyName = request.policyName;
this.policyType = request.policyType;
}
/**
* <p>The language that is used to return the description of the system policy. Valid values:</p>
* <ul>
* <li>en: English</li>
* <li>zh-CN: Chinese</li>
* <li>ja: Japanese</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh-CN</p>
*/
public Builder language(String language) {
this.putQueryParameter("Language", language);
this.language = language;
return this;
}
/**
* <p>The name of the policy.</p>
* <p>The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OSS-Administrator</p>
*/
public Builder policyName(String policyName) {
this.putQueryParameter("PolicyName", policyName);
this.policyName = policyName;
return this;
}
/**
* <p>The type of the policy. Valid values:</p>
* <ul>
* <li>Custom: custom policy</li>
* <li>System: system policy</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Custom</p>
*/
public Builder policyType(String policyType) {
this.putQueryParameter("PolicyType", policyType);
this.policyType = policyType;
return this;
}
@Override
public GetPolicyRequest build() {
return new GetPolicyRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetPolicyResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetPolicyResponse} extends {@link TeaModel}
*
* <p>GetPolicyResponse</p>
*/
public class GetPolicyResponse 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 GetPolicyResponseBody body;
private GetPolicyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetPolicyResponse 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 GetPolicyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetPolicyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetPolicyResponseBody body);
@Override
GetPolicyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetPolicyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetPolicyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetPolicyResponse 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(GetPolicyResponseBody body) {
this.body = body;
return this;
}
@Override
public GetPolicyResponse build() {
return new GetPolicyResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetPolicyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetPolicyResponseBody} extends {@link TeaModel}
*
* <p>GetPolicyResponseBody</p>
*/
public class GetPolicyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Policy")
private Policy policy;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetPolicyResponseBody(Builder builder) {
this.policy = builder.policy;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetPolicyResponseBody create() {
return builder().build();
}
/**
* @return policy
*/
public Policy getPolicy() {
return this.policy;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Policy policy;
private String requestId;
/**
* <p>The information of the policy.</p>
*/
public Builder policy(Policy policy) {
this.policy = policy;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>697852FB-50D7-44D9-9774-530C31EAC572</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetPolicyResponseBody build() {
return new GetPolicyResponseBody(this);
}
}
/**
*
* {@link GetPolicyResponseBody} extends {@link TeaModel}
*
* <p>GetPolicyResponseBody</p>
*/
public static class Policy extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AttachmentCount")
private Integer attachmentCount;
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("DefaultVersion")
private String defaultVersion;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("PolicyDocument")
private String policyDocument;
@com.aliyun.core.annotation.NameInMap("PolicyName")
private String policyName;
@com.aliyun.core.annotation.NameInMap("PolicyType")
private String policyType;
@com.aliyun.core.annotation.NameInMap("UpdateDate")
private String updateDate;
private Policy(Builder builder) {
this.attachmentCount = builder.attachmentCount;
this.createDate = builder.createDate;
this.defaultVersion = builder.defaultVersion;
this.description = builder.description;
this.policyDocument = builder.policyDocument;
this.policyName = builder.policyName;
this.policyType = builder.policyType;
this.updateDate = builder.updateDate;
}
public static Builder builder() {
return new Builder();
}
public static Policy create() {
return builder().build();
}
/**
* @return attachmentCount
*/
public Integer getAttachmentCount() {
return this.attachmentCount;
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return defaultVersion
*/
public String getDefaultVersion() {
return this.defaultVersion;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return policyDocument
*/
public String getPolicyDocument() {
return this.policyDocument;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
/**
* @return updateDate
*/
public String getUpdateDate() {
return this.updateDate;
}
public static final class Builder {
private Integer attachmentCount;
private String createDate;
private String defaultVersion;
private String description;
private String policyDocument;
private String policyName;
private String policyType;
private String updateDate;
/**
* <p>The number of times the policy is referenced.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder attachmentCount(Integer attachmentCount) {
this.attachmentCount = attachmentCount;
return this;
}
/**
* <p>The time when the policy was created.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The default version of the policy.</p>
*
* <strong>example:</strong>
* <p>v1</p>
*/
public Builder defaultVersion(String defaultVersion) {
this.defaultVersion = defaultVersion;
return this;
}
/**
* <p>The description of the policy.</p>
*
* <strong>example:</strong>
* <p>OSS administrator</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The document of the policy.</p>
*
* <strong>example:</strong>
* <p>{ "Statement": [{ "Action": ["oss:<em>"], "Effect": "Allow", "Resource": ["acs:oss:</em>:<em>:</em>"]}], "Version": "1"}</p>
*/
public Builder policyDocument(String policyDocument) {
this.policyDocument = policyDocument;
return this;
}
/**
* <p>The name of the policy.</p>
*
* <strong>example:</strong>
* <p>OSS-Administrator</p>
*/
public Builder policyName(String policyName) {
this.policyName = policyName;
return this;
}
/**
* <p>The type of the policy. Valid values:</p>
* <ul>
* <li>Custom: custom policy</li>
* <li>System: system policy</li>
* </ul>
*
* <strong>example:</strong>
* <p>Custom</p>
*/
public Builder policyType(String policyType) {
this.policyType = policyType;
return this;
}
/**
* <p>The time when the policy was updated.</p>
*
* <strong>example:</strong>
* <p>2016-01-23T12:33:18Z</p>
*/
public Builder updateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
public Policy build() {
return new Policy(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetPolicyVersionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetPolicyVersionRequest} extends {@link RequestModel}
*
* <p>GetPolicyVersionRequest</p>
*/
public class GetPolicyVersionRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyName")
@com.aliyun.core.annotation.Validation(required = true)
private String policyName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyType")
@com.aliyun.core.annotation.Validation(required = true)
private String policyType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VersionId")
@com.aliyun.core.annotation.Validation(required = true)
private String versionId;
private GetPolicyVersionRequest(Builder builder) {
super(builder);
this.policyName = builder.policyName;
this.policyType = builder.policyType;
this.versionId = builder.versionId;
}
public static Builder builder() {
return new Builder();
}
public static GetPolicyVersionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
/**
* @return versionId
*/
public String getVersionId() {
return this.versionId;
}
public static final class Builder extends Request.Builder<GetPolicyVersionRequest, Builder> {
private String policyName;
private String policyType;
private String versionId;
private Builder() {
super();
}
private Builder(GetPolicyVersionRequest request) {
super(request);
this.policyName = request.policyName;
this.policyType = request.policyType;
this.versionId = request.versionId;
}
/**
* <p>The name of the policy.</p>
* <p>The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>OSS-Administrator</p>
*/
public Builder policyName(String policyName) {
this.putQueryParameter("PolicyName", policyName);
this.policyName = policyName;
return this;
}
/**
* <p>The type of the policy. Valid values:</p>
* <ul>
* <li>Custom: custom policy</li>
* <li>System: system policy</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Custom</p>
*/
public Builder policyType(String policyType) {
this.putQueryParameter("PolicyType", policyType);
this.policyType = policyType;
return this;
}
/**
* <p>The ID of the policy version.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>v3</p>
*/
public Builder versionId(String versionId) {
this.putQueryParameter("VersionId", versionId);
this.versionId = versionId;
return this;
}
@Override
public GetPolicyVersionRequest build() {
return new GetPolicyVersionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetPolicyVersionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetPolicyVersionResponse} extends {@link TeaModel}
*
* <p>GetPolicyVersionResponse</p>
*/
public class GetPolicyVersionResponse 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 GetPolicyVersionResponseBody body;
private GetPolicyVersionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetPolicyVersionResponse 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 GetPolicyVersionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetPolicyVersionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetPolicyVersionResponseBody body);
@Override
GetPolicyVersionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetPolicyVersionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetPolicyVersionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetPolicyVersionResponse 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(GetPolicyVersionResponseBody body) {
this.body = body;
return this;
}
@Override
public GetPolicyVersionResponse build() {
return new GetPolicyVersionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetPolicyVersionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetPolicyVersionResponseBody} extends {@link TeaModel}
*
* <p>GetPolicyVersionResponseBody</p>
*/
public class GetPolicyVersionResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PolicyVersion")
private PolicyVersion policyVersion;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetPolicyVersionResponseBody(Builder builder) {
this.policyVersion = builder.policyVersion;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetPolicyVersionResponseBody create() {
return builder().build();
}
/**
* @return policyVersion
*/
public PolicyVersion getPolicyVersion() {
return this.policyVersion;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private PolicyVersion policyVersion;
private String requestId;
/**
* <p>The information of the policy version.</p>
*/
public Builder policyVersion(PolicyVersion policyVersion) {
this.policyVersion = policyVersion;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetPolicyVersionResponseBody build() {
return new GetPolicyVersionResponseBody(this);
}
}
/**
*
* {@link GetPolicyVersionResponseBody} extends {@link TeaModel}
*
* <p>GetPolicyVersionResponseBody</p>
*/
public static class PolicyVersion extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("IsDefaultVersion")
private Boolean isDefaultVersion;
@com.aliyun.core.annotation.NameInMap("PolicyDocument")
private String policyDocument;
@com.aliyun.core.annotation.NameInMap("VersionId")
private String versionId;
private PolicyVersion(Builder builder) {
this.createDate = builder.createDate;
this.isDefaultVersion = builder.isDefaultVersion;
this.policyDocument = builder.policyDocument;
this.versionId = builder.versionId;
}
public static Builder builder() {
return new Builder();
}
public static PolicyVersion create() {
return builder().build();
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return isDefaultVersion
*/
public Boolean getIsDefaultVersion() {
return this.isDefaultVersion;
}
/**
* @return policyDocument
*/
public String getPolicyDocument() {
return this.policyDocument;
}
/**
* @return versionId
*/
public String getVersionId() {
return this.versionId;
}
public static final class Builder {
private String createDate;
private Boolean isDefaultVersion;
private String policyDocument;
private String versionId;
/**
* <p>The time when the policy version was created.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>Indicates whether the policy version is the default version.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder isDefaultVersion(Boolean isDefaultVersion) {
this.isDefaultVersion = isDefaultVersion;
return this;
}
/**
* <p>The document of the policy.</p>
*
* <strong>example:</strong>
* <p>{ "Statement": [{ "Action": ["oss:<em>"], "Effect": "Allow", "Resource": ["acs:oss:</em>:<em>:</em>"]}], "Version": "1"}</p>
*/
public Builder policyDocument(String policyDocument) {
this.policyDocument = policyDocument;
return this;
}
/**
* <p>The ID of the policy version.</p>
*
* <strong>example:</strong>
* <p>v3</p>
*/
public Builder versionId(String versionId) {
this.versionId = versionId;
return this;
}
public PolicyVersion build() {
return new PolicyVersion(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetResourceDirectoryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetResourceDirectoryRequest} extends {@link RequestModel}
*
* <p>GetResourceDirectoryRequest</p>
*/
public class GetResourceDirectoryRequest extends Request {
private GetResourceDirectoryRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static GetResourceDirectoryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<GetResourceDirectoryRequest, Builder> {
private Builder() {
super();
}
private Builder(GetResourceDirectoryRequest request) {
super(request);
}
@Override
public GetResourceDirectoryRequest build() {
return new GetResourceDirectoryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetResourceDirectoryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetResourceDirectoryResponse} extends {@link TeaModel}
*
* <p>GetResourceDirectoryResponse</p>
*/
public class GetResourceDirectoryResponse 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 GetResourceDirectoryResponseBody body;
private GetResourceDirectoryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetResourceDirectoryResponse 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 GetResourceDirectoryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetResourceDirectoryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetResourceDirectoryResponseBody body);
@Override
GetResourceDirectoryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetResourceDirectoryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetResourceDirectoryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetResourceDirectoryResponse 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(GetResourceDirectoryResponseBody body) {
this.body = body;
return this;
}
@Override
public GetResourceDirectoryResponse build() {
return new GetResourceDirectoryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetResourceDirectoryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetResourceDirectoryResponseBody} extends {@link TeaModel}
*
* <p>GetResourceDirectoryResponseBody</p>
*/
public class GetResourceDirectoryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceDirectory")
private ResourceDirectory resourceDirectory;
private GetResourceDirectoryResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.resourceDirectory = builder.resourceDirectory;
}
public static Builder builder() {
return new Builder();
}
public static GetResourceDirectoryResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceDirectory
*/
public ResourceDirectory getResourceDirectory() {
return this.resourceDirectory;
}
public static final class Builder {
private String requestId;
private ResourceDirectory resourceDirectory;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>CD76D376-2517-4924-92C5-DBC52262F93A</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information of the resource directory.</p>
*/
public Builder resourceDirectory(ResourceDirectory resourceDirectory) {
this.resourceDirectory = resourceDirectory;
return this;
}
public GetResourceDirectoryResponseBody build() {
return new GetResourceDirectoryResponseBody(this);
}
}
/**
*
* {@link GetResourceDirectoryResponseBody} extends {@link TeaModel}
*
* <p>GetResourceDirectoryResponseBody</p>
*/
public static class ResourceDirectory extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ControlPolicyStatus")
private String controlPolicyStatus;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("IdentityInformation")
private String identityInformation;
@com.aliyun.core.annotation.NameInMap("MasterAccountId")
private String masterAccountId;
@com.aliyun.core.annotation.NameInMap("MasterAccountName")
private String masterAccountName;
@com.aliyun.core.annotation.NameInMap("MemberDeletionStatus")
private String memberDeletionStatus;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("RootFolderId")
private String rootFolderId;
private ResourceDirectory(Builder builder) {
this.controlPolicyStatus = builder.controlPolicyStatus;
this.createTime = builder.createTime;
this.identityInformation = builder.identityInformation;
this.masterAccountId = builder.masterAccountId;
this.masterAccountName = builder.masterAccountName;
this.memberDeletionStatus = builder.memberDeletionStatus;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.rootFolderId = builder.rootFolderId;
}
public static Builder builder() {
return new Builder();
}
public static ResourceDirectory create() {
return builder().build();
}
/**
* @return controlPolicyStatus
*/
public String getControlPolicyStatus() {
return this.controlPolicyStatus;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return identityInformation
*/
public String getIdentityInformation() {
return this.identityInformation;
}
/**
* @return masterAccountId
*/
public String getMasterAccountId() {
return this.masterAccountId;
}
/**
* @return masterAccountName
*/
public String getMasterAccountName() {
return this.masterAccountName;
}
/**
* @return memberDeletionStatus
*/
public String getMemberDeletionStatus() {
return this.memberDeletionStatus;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return rootFolderId
*/
public String getRootFolderId() {
return this.rootFolderId;
}
public static final class Builder {
private String controlPolicyStatus;
private String createTime;
private String identityInformation;
private String masterAccountId;
private String masterAccountName;
private String memberDeletionStatus;
private String resourceDirectoryId;
private String rootFolderId;
/**
* <p>The status of the Control Policy feature. Valid values:</p>
* <ul>
* <li>Enabled: The feature is enabled.</li>
* <li>PendingEnable: The feature is being enabled.</li>
* <li>Disabled: The feature is disabled.</li>
* <li>PendingDisable: The feature is being disabled.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Enabled</p>
*/
public Builder controlPolicyStatus(String controlPolicyStatus) {
this.controlPolicyStatus = controlPolicyStatus;
return this;
}
/**
* <p>The time when the resource directory was enabled.</p>
*
* <strong>example:</strong>
* <p>2019-02-18T15:32:10.473Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The real-name verification information.</p>
*
* <strong>example:</strong>
* <p>*** Co., Ltd.</p>
*/
public Builder identityInformation(String identityInformation) {
this.identityInformation = identityInformation;
return this;
}
/**
* <p>The ID of the management account.</p>
*
* <strong>example:</strong>
* <p>172845045600****</p>
*/
public Builder masterAccountId(String masterAccountId) {
this.masterAccountId = masterAccountId;
return this;
}
/**
* <p>The name of the management account.</p>
*
* <strong>example:</strong>
* <p>aliyun-admin</p>
*/
public Builder masterAccountName(String masterAccountName) {
this.masterAccountName = masterAccountName;
return this;
}
/**
* <p>The status of the member deletion feature. Valid values:</p>
* <ul>
* <li>Enabled: The feature is enabled. You can call the <a href="https://help.aliyun.com/document_detail/311546.html">DeleteAccount</a> operation to delete members of the resource account type.</li>
* <li>Disabled: The feature is disabled. You cannot delete members of the resource account type.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Enabled</p>
*/
public Builder memberDeletionStatus(String memberDeletionStatus) {
this.memberDeletionStatus = memberDeletionStatus;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-St****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The ID of the Root folder.</p>
*
* <strong>example:</strong>
* <p>r-Zo****</p>
*/
public Builder rootFolderId(String rootFolderId) {
this.rootFolderId = rootFolderId;
return this;
}
public ResourceDirectory build() {
return new ResourceDirectory(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetResourceGroupRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetResourceGroupRequest} extends {@link RequestModel}
*
* <p>GetResourceGroupRequest</p>
*/
public class GetResourceGroupRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("IncludeTags")
private Boolean includeTags;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceGroupId;
private GetResourceGroupRequest(Builder builder) {
super(builder);
this.includeTags = builder.includeTags;
this.resourceGroupId = builder.resourceGroupId;
}
public static Builder builder() {
return new Builder();
}
public static GetResourceGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return includeTags
*/
public Boolean getIncludeTags() {
return this.includeTags;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
public static final class Builder extends Request.Builder<GetResourceGroupRequest, Builder> {
private Boolean includeTags;
private String resourceGroupId;
private Builder() {
super();
}
private Builder(GetResourceGroupRequest request) {
super(request);
this.includeTags = request.includeTags;
this.resourceGroupId = request.resourceGroupId;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder includeTags(Boolean includeTags) {
this.putQueryParameter("IncludeTags", includeTags);
this.includeTags = includeTags;
return this;
}
/**
* <p>Specifies whether to return the information of tags. Valid values:</p>
* <ul>
* <li>false (default value)</li>
* <li>true</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rg-9gLOoK****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
@Override
public GetResourceGroupRequest build() {
return new GetResourceGroupRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetResourceGroupResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetResourceGroupResponse} extends {@link TeaModel}
*
* <p>GetResourceGroupResponse</p>
*/
public class GetResourceGroupResponse 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 GetResourceGroupResponseBody body;
private GetResourceGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetResourceGroupResponse 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 GetResourceGroupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetResourceGroupResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetResourceGroupResponseBody body);
@Override
GetResourceGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetResourceGroupResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetResourceGroupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetResourceGroupResponse 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(GetResourceGroupResponseBody body) {
this.body = body;
return this;
}
@Override
public GetResourceGroupResponse build() {
return new GetResourceGroupResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetResourceGroupResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetResourceGroupResponseBody} extends {@link TeaModel}
*
* <p>GetResourceGroupResponseBody</p>
*/
public class GetResourceGroupResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceGroup")
private ResourceGroup resourceGroup;
private GetResourceGroupResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.resourceGroup = builder.resourceGroup;
}
public static Builder builder() {
return new Builder();
}
public static GetResourceGroupResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceGroup
*/
public ResourceGroup getResourceGroup() {
return this.resourceGroup;
}
public static final class Builder {
private String requestId;
private ResourceGroup resourceGroup;
/**
* <p>The information of the resource group.</p>
*
* <strong>example:</strong>
* <p>2D69A58F-345C-4FDE-88E4-BF5189484043</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The display name of the resource group.</p>
*/
public Builder resourceGroup(ResourceGroup resourceGroup) {
this.resourceGroup = resourceGroup;
return this;
}
public GetResourceGroupResponseBody build() {
return new GetResourceGroupResponseBody(this);
}
}
/**
*
* {@link GetResourceGroupResponseBody} extends {@link TeaModel}
*
* <p>GetResourceGroupResponseBody</p>
*/
public static class RegionStatus extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private RegionStatus(Builder builder) {
this.regionId = builder.regionId;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static RegionStatus create() {
return builder().build();
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String regionId;
private String status;
/**
* <p>The ID of the Alibaba Cloud account to which the resource group belongs.</p>
*
* <strong>example:</strong>
* <p>cn-qingdao</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The region ID.</p>
*
* <strong>example:</strong>
* <p>OK</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public RegionStatus build() {
return new RegionStatus(this);
}
}
}
/**
*
* {@link GetResourceGroupResponseBody} extends {@link TeaModel}
*
* <p>GetResourceGroupResponseBody</p>
*/
public static class RegionStatuses extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RegionStatus")
private java.util.List<RegionStatus> regionStatus;
private RegionStatuses(Builder builder) {
this.regionStatus = builder.regionStatus;
}
public static Builder builder() {
return new Builder();
}
public static RegionStatuses create() {
return builder().build();
}
/**
* @return regionStatus
*/
public java.util.List<RegionStatus> getRegionStatus() {
return this.regionStatus;
}
public static final class Builder {
private java.util.List<RegionStatus> regionStatus;
/**
* RegionStatus.
*/
public Builder regionStatus(java.util.List<RegionStatus> regionStatus) {
this.regionStatus = regionStatus;
return this;
}
public RegionStatuses build() {
return new RegionStatuses(this);
}
}
}
/**
*
* {@link GetResourceGroupResponseBody} extends {@link TeaModel}
*
* <p>GetResourceGroupResponseBody</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("TagKey")
private String tagKey;
@com.aliyun.core.annotation.NameInMap("TagValue")
private String tagValue;
private Tag(Builder builder) {
this.tagKey = builder.tagKey;
this.tagValue = builder.tagValue;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return tagKey
*/
public String getTagKey() {
return this.tagKey;
}
/**
* @return tagValue
*/
public String getTagValue() {
return this.tagValue;
}
public static final class Builder {
private String tagKey;
private String tagValue;
/**
* <p>The tag value.</p>
*
* <strong>example:</strong>
* <p>k1</p>
*/
public Builder tagKey(String tagKey) {
this.tagKey = tagKey;
return this;
}
/**
* TagValue.
*/
public Builder tagValue(String tagValue) {
this.tagValue = tagValue;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
/**
*
* {@link GetResourceGroupResponseBody} extends {@link TeaModel}
*
* <p>GetResourceGroupResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
private Tags(Builder builder) {
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder {
private java.util.List<Tag> tag;
/**
* Tag.
*/
public Builder tag(java.util.List<Tag> tag) {
this.tag = tag;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
/**
*
* {@link GetResourceGroupResponseBody} extends {@link TeaModel}
*
* <p>GetResourceGroupResponseBody</p>
*/
public static class ResourceGroup 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("RegionStatuses")
private RegionStatuses regionStatuses;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Tags")
private Tags tags;
private ResourceGroup(Builder builder) {
this.accountId = builder.accountId;
this.createDate = builder.createDate;
this.displayName = builder.displayName;
this.id = builder.id;
this.name = builder.name;
this.regionStatuses = builder.regionStatuses;
this.status = builder.status;
this.tags = builder.tags;
}
public static Builder builder() {
return new Builder();
}
public static ResourceGroup 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 regionStatuses
*/
public RegionStatuses getRegionStatuses() {
return this.regionStatuses;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tags
*/
public Tags getTags() {
return this.tags;
}
public static final class Builder {
private String accountId;
private String createDate;
private String displayName;
private String id;
private String name;
private RegionStatuses regionStatuses;
private String status;
private Tags tags;
/**
* <p>The identifier of the resource group.</p>
*
* <strong>example:</strong>
* <p>123456789****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
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>my-project</p>
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* <p>The tags that are added to the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-9gLOoK****</p>
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* <p>The time when the resource group was created. The time is displayed in UTC.</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>
* <li>Deleting: The resource group is being deleted.</li>
* </ul>
*/
public Builder regionStatuses(RegionStatuses regionStatuses) {
this.regionStatuses = regionStatuses;
return this;
}
/**
* <p>The status of the resource group in all regions.</p>
*
* <strong>example:</strong>
* <p>OK</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The tag key.</p>
*/
public Builder tags(Tags tags) {
this.tags = tags;
return this;
}
public ResourceGroup build() {
return new ResourceGroup(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetRoleRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetRoleRequest} extends {@link RequestModel}
*
* <p>GetRoleRequest</p>
*/
public class GetRoleRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Language")
private String language;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RoleName")
@com.aliyun.core.annotation.Validation(required = true)
private String roleName;
private GetRoleRequest(Builder builder) {
super(builder);
this.language = builder.language;
this.roleName = builder.roleName;
}
public static Builder builder() {
return new Builder();
}
public static GetRoleRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return language
*/
public String getLanguage() {
return this.language;
}
/**
* @return roleName
*/
public String getRoleName() {
return this.roleName;
}
public static final class Builder extends Request.Builder<GetRoleRequest, Builder> {
private String language;
private String roleName;
private Builder() {
super();
}
private Builder(GetRoleRequest request) {
super(request);
this.language = request.language;
this.roleName = request.roleName;
}
/**
* <p>The language that is used to return the description of the RAM role. Valid values:</p>
* <ul>
* <li>en: English</li>
* <li>zh-CN: Chinese</li>
* <li>ja: Japanese</li>
* </ul>
*
* <strong>example:</strong>
* <p>zh-CN</p>
*/
public Builder language(String language) {
this.putQueryParameter("Language", language);
this.language = language;
return this;
}
/**
* <p>The name of the RAM role.</p>
* <p>The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), and hyphens (-).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ECSAdmin</p>
*/
public Builder roleName(String roleName) {
this.putQueryParameter("RoleName", roleName);
this.roleName = roleName;
return this;
}
@Override
public GetRoleRequest build() {
return new GetRoleRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetRoleResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetRoleResponse} extends {@link TeaModel}
*
* <p>GetRoleResponse</p>
*/
public class GetRoleResponse 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 GetRoleResponseBody body;
private GetRoleResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetRoleResponse 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 GetRoleResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetRoleResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetRoleResponseBody body);
@Override
GetRoleResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetRoleResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetRoleResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetRoleResponse 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(GetRoleResponseBody body) {
this.body = body;
return this;
}
@Override
public GetRoleResponse build() {
return new GetRoleResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetRoleResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetRoleResponseBody} extends {@link TeaModel}
*
* <p>GetRoleResponseBody</p>
*/
public class GetRoleResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Role")
private Role role;
private GetRoleResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.role = builder.role;
}
public static Builder builder() {
return new Builder();
}
public static GetRoleResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return role
*/
public Role getRole() {
return this.role;
}
public static final class Builder {
private String requestId;
private Role role;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>04F0F334-1335-436C-A1D7-6C044FE73368</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information of the RAM role.</p>
*/
public Builder role(Role role) {
this.role = role;
return this;
}
public GetRoleResponseBody build() {
return new GetRoleResponseBody(this);
}
}
/**
*
* {@link GetRoleResponseBody} extends {@link TeaModel}
*
* <p>GetRoleResponseBody</p>
*/
public static class LatestDeletionTask extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("DeletionTaskId")
private String deletionTaskId;
private LatestDeletionTask(Builder builder) {
this.createDate = builder.createDate;
this.deletionTaskId = builder.deletionTaskId;
}
public static Builder builder() {
return new Builder();
}
public static LatestDeletionTask create() {
return builder().build();
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return deletionTaskId
*/
public String getDeletionTaskId() {
return this.deletionTaskId;
}
public static final class Builder {
private String createDate;
private String deletionTaskId;
/**
* <p>The time when the deletion task was created.</p>
*
* <strong>example:</strong>
* <p>2018-10-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The ID of the deletion task.</p>
*
* <strong>example:</strong>
* <p>ECSAdmin/cc61514b-26eb-4453-ab53-b142eb702a3d</p>
*/
public Builder deletionTaskId(String deletionTaskId) {
this.deletionTaskId = deletionTaskId;
return this;
}
public LatestDeletionTask build() {
return new LatestDeletionTask(this);
}
}
}
/**
*
* {@link GetRoleResponseBody} extends {@link TeaModel}
*
* <p>GetRoleResponseBody</p>
*/
public static class Role extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Arn")
private String arn;
@com.aliyun.core.annotation.NameInMap("AssumeRolePolicyDocument")
private String assumeRolePolicyDocument;
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("IsServiceLinkedRole")
private Boolean isServiceLinkedRole;
@com.aliyun.core.annotation.NameInMap("LatestDeletionTask")
private LatestDeletionTask latestDeletionTask;
@com.aliyun.core.annotation.NameInMap("MaxSessionDuration")
private Long maxSessionDuration;
@com.aliyun.core.annotation.NameInMap("RoleId")
private String roleId;
@com.aliyun.core.annotation.NameInMap("RoleName")
private String roleName;
@com.aliyun.core.annotation.NameInMap("RolePrincipalName")
private String rolePrincipalName;
@com.aliyun.core.annotation.NameInMap("UpdateDate")
private String updateDate;
private Role(Builder builder) {
this.arn = builder.arn;
this.assumeRolePolicyDocument = builder.assumeRolePolicyDocument;
this.createDate = builder.createDate;
this.description = builder.description;
this.isServiceLinkedRole = builder.isServiceLinkedRole;
this.latestDeletionTask = builder.latestDeletionTask;
this.maxSessionDuration = builder.maxSessionDuration;
this.roleId = builder.roleId;
this.roleName = builder.roleName;
this.rolePrincipalName = builder.rolePrincipalName;
this.updateDate = builder.updateDate;
}
public static Builder builder() {
return new Builder();
}
public static Role create() {
return builder().build();
}
/**
* @return arn
*/
public String getArn() {
return this.arn;
}
/**
* @return assumeRolePolicyDocument
*/
public String getAssumeRolePolicyDocument() {
return this.assumeRolePolicyDocument;
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return isServiceLinkedRole
*/
public Boolean getIsServiceLinkedRole() {
return this.isServiceLinkedRole;
}
/**
* @return latestDeletionTask
*/
public LatestDeletionTask getLatestDeletionTask() {
return this.latestDeletionTask;
}
/**
* @return maxSessionDuration
*/
public Long getMaxSessionDuration() {
return this.maxSessionDuration;
}
/**
* @return roleId
*/
public String getRoleId() {
return this.roleId;
}
/**
* @return roleName
*/
public String getRoleName() {
return this.roleName;
}
/**
* @return rolePrincipalName
*/
public String getRolePrincipalName() {
return this.rolePrincipalName;
}
/**
* @return updateDate
*/
public String getUpdateDate() {
return this.updateDate;
}
public static final class Builder {
private String arn;
private String assumeRolePolicyDocument;
private String createDate;
private String description;
private Boolean isServiceLinkedRole;
private LatestDeletionTask latestDeletionTask;
private Long maxSessionDuration;
private String roleId;
private String roleName;
private String rolePrincipalName;
private String updateDate;
/**
* <p>The Alibaba Cloud Resource Name (ARN) of the RAM role.</p>
*
* <strong>example:</strong>
* <p>acs:ram::123456789012****:role/ECSAdmin</p>
*/
public Builder arn(String arn) {
this.arn = arn;
return this;
}
/**
* <p>The document of the policy that specifies the trusted entity to assume the RAM role.</p>
*
* <strong>example:</strong>
* <p>{ "Statement": [ { "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { "RAM": "acs:ram::12345678901234****:root" } } ], "Version": "1" }</p>
*/
public Builder assumeRolePolicyDocument(String assumeRolePolicyDocument) {
this.assumeRolePolicyDocument = assumeRolePolicyDocument;
return this;
}
/**
* <p>The time when the RAM role was created.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The description of the RAM role.</p>
*
* <strong>example:</strong>
* <p>ECS administrator</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>Indicates whether the RAM role is a service linked role.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder isServiceLinkedRole(Boolean isServiceLinkedRole) {
this.isServiceLinkedRole = isServiceLinkedRole;
return this;
}
/**
* <p>The information of the most recent deletion task.</p>
*/
public Builder latestDeletionTask(LatestDeletionTask latestDeletionTask) {
this.latestDeletionTask = latestDeletionTask;
return this;
}
/**
* <p>The maximum session duration of the RAM role.</p>
*
* <strong>example:</strong>
* <p>3600</p>
*/
public Builder maxSessionDuration(Long maxSessionDuration) {
this.maxSessionDuration = maxSessionDuration;
return this;
}
/**
* <p>The ID of the RAM role.</p>
*
* <strong>example:</strong>
* <p>90123456789****</p>
*/
public Builder roleId(String roleId) {
this.roleId = roleId;
return this;
}
/**
* <p>The name of the RAM role.</p>
*
* <strong>example:</strong>
* <p>ECSAdmin</p>
*/
public Builder roleName(String roleName) {
this.roleName = roleName;
return this;
}
/**
* <p>The name of the RAM role after authorization.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:ECSAdmin@role.123456.onaliyunservice.com">ECSAdmin@role.123456.onaliyunservice.com</a></p>
*/
public Builder rolePrincipalName(String rolePrincipalName) {
this.rolePrincipalName = rolePrincipalName;
return this;
}
/**
* <p>The time when the RAM role was updated.</p>
*
* <strong>example:</strong>
* <p>2016-01-23T12:33:18Z</p>
*/
public Builder updateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
public Role build() {
return new Role(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetServiceLinkedRoleDeletionStatusRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetServiceLinkedRoleDeletionStatusRequest} extends {@link RequestModel}
*
* <p>GetServiceLinkedRoleDeletionStatusRequest</p>
*/
public class GetServiceLinkedRoleDeletionStatusRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeletionTaskId")
private String deletionTaskId;
private GetServiceLinkedRoleDeletionStatusRequest(Builder builder) {
super(builder);
this.deletionTaskId = builder.deletionTaskId;
}
public static Builder builder() {
return new Builder();
}
public static GetServiceLinkedRoleDeletionStatusRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deletionTaskId
*/
public String getDeletionTaskId() {
return this.deletionTaskId;
}
public static final class Builder extends Request.Builder<GetServiceLinkedRoleDeletionStatusRequest, Builder> {
private String deletionTaskId;
private Builder() {
super();
}
private Builder(GetServiceLinkedRoleDeletionStatusRequest request) {
super(request);
this.deletionTaskId = request.deletionTaskId;
}
/**
* <p>The ID of the deletion task.</p>
*
* <strong>example:</strong>
* <p>task/acs-service-role/hdr.aliyuncs.com/AliyunServiceRoleForHdr/c4d22c52-247f-4ee1-83a2-6c0460bd****</p>
*/
public Builder deletionTaskId(String deletionTaskId) {
this.putQueryParameter("DeletionTaskId", deletionTaskId);
this.deletionTaskId = deletionTaskId;
return this;
}
@Override
public GetServiceLinkedRoleDeletionStatusRequest build() {
return new GetServiceLinkedRoleDeletionStatusRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetServiceLinkedRoleDeletionStatusResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetServiceLinkedRoleDeletionStatusResponse} extends {@link TeaModel}
*
* <p>GetServiceLinkedRoleDeletionStatusResponse</p>
*/
public class GetServiceLinkedRoleDeletionStatusResponse 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 GetServiceLinkedRoleDeletionStatusResponseBody body;
private GetServiceLinkedRoleDeletionStatusResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetServiceLinkedRoleDeletionStatusResponse 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 GetServiceLinkedRoleDeletionStatusResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetServiceLinkedRoleDeletionStatusResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetServiceLinkedRoleDeletionStatusResponseBody body);
@Override
GetServiceLinkedRoleDeletionStatusResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetServiceLinkedRoleDeletionStatusResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetServiceLinkedRoleDeletionStatusResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetServiceLinkedRoleDeletionStatusResponse 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(GetServiceLinkedRoleDeletionStatusResponseBody body) {
this.body = body;
return this;
}
@Override
public GetServiceLinkedRoleDeletionStatusResponse build() {
return new GetServiceLinkedRoleDeletionStatusResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/GetServiceLinkedRoleDeletionStatusResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 GetServiceLinkedRoleDeletionStatusResponseBody} extends {@link TeaModel}
*
* <p>GetServiceLinkedRoleDeletionStatusResponseBody</p>
*/
public class GetServiceLinkedRoleDeletionStatusResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Reason")
private Reason reason;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private GetServiceLinkedRoleDeletionStatusResponseBody(Builder builder) {
this.reason = builder.reason;
this.requestId = builder.requestId;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static GetServiceLinkedRoleDeletionStatusResponseBody create() {
return builder().build();
}
/**
* @return reason
*/
public Reason getReason() {
return this.reason;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private Reason reason;
private String requestId;
private String status;
/**
* <p>The reason why the deletion task failed.</p>
*/
public Builder reason(Reason reason) {
this.reason = reason;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>07194EB1-DB50-4513-A51D-99B30D635AEF</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The status of the task.</p>
* <ul>
* <li>SUCCEEDED</li>
* <li>IN_PROGRESS</li>
* <li>FAILED</li>
* <li>NOT_STARTED</li>
* <li>INTERNAL_ERROR</li>
* </ul>
*
* <strong>example:</strong>
* <p>FAILED</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public GetServiceLinkedRoleDeletionStatusResponseBody build() {
return new GetServiceLinkedRoleDeletionStatusResponseBody(this);
}
}
/**
*
* {@link GetServiceLinkedRoleDeletionStatusResponseBody} extends {@link TeaModel}
*
* <p>GetServiceLinkedRoleDeletionStatusResponseBody</p>
*/
public static class Resources extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Resource")
private java.util.List<String> resource;
private Resources(Builder builder) {
this.resource = builder.resource;
}
public static Builder builder() {
return new Builder();
}
public static Resources create() {
return builder().build();
}
/**
* @return resource
*/
public java.util.List<String> getResource() {
return this.resource;
}
public static final class Builder {
private java.util.List<String> resource;
/**
* Resource.
*/
public Builder resource(java.util.List<String> resource) {
this.resource = resource;
return this;
}
public Resources build() {
return new Resources(this);
}
}
}
/**
*
* {@link GetServiceLinkedRoleDeletionStatusResponseBody} extends {@link TeaModel}
*
* <p>GetServiceLinkedRoleDeletionStatusResponseBody</p>
*/
public static class RoleUsage extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Region")
private String region;
@com.aliyun.core.annotation.NameInMap("Resources")
private Resources resources;
private RoleUsage(Builder builder) {
this.region = builder.region;
this.resources = builder.resources;
}
public static Builder builder() {
return new Builder();
}
public static RoleUsage create() {
return builder().build();
}
/**
* @return region
*/
public String getRegion() {
return this.region;
}
/**
* @return resources
*/
public Resources getResources() {
return this.resources;
}
public static final class Builder {
private String region;
private Resources resources;
/**
* <p>The IDs of the regions in which the resources are to be queried.</p>
*
* <strong>example:</strong>
* <p>global</p>
*/
public Builder region(String region) {
this.region = region;
return this;
}
/**
* <p>The returned resources.</p>
*/
public Builder resources(Resources resources) {
this.resources = resources;
return this;
}
public RoleUsage build() {
return new RoleUsage(this);
}
}
}
/**
*
* {@link GetServiceLinkedRoleDeletionStatusResponseBody} extends {@link TeaModel}
*
* <p>GetServiceLinkedRoleDeletionStatusResponseBody</p>
*/
public static class RoleUsages extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RoleUsage")
private java.util.List<RoleUsage> roleUsage;
private RoleUsages(Builder builder) {
this.roleUsage = builder.roleUsage;
}
public static Builder builder() {
return new Builder();
}
public static RoleUsages create() {
return builder().build();
}
/**
* @return roleUsage
*/
public java.util.List<RoleUsage> getRoleUsage() {
return this.roleUsage;
}
public static final class Builder {
private java.util.List<RoleUsage> roleUsage;
/**
* RoleUsage.
*/
public Builder roleUsage(java.util.List<RoleUsage> roleUsage) {
this.roleUsage = roleUsage;
return this;
}
public RoleUsages build() {
return new RoleUsages(this);
}
}
}
/**
*
* {@link GetServiceLinkedRoleDeletionStatusResponseBody} extends {@link TeaModel}
*
* <p>GetServiceLinkedRoleDeletionStatusResponseBody</p>
*/
public static class Reason extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RoleUsages")
private RoleUsages roleUsages;
private Reason(Builder builder) {
this.message = builder.message;
this.roleUsages = builder.roleUsages;
}
public static Builder builder() {
return new Builder();
}
public static Reason create() {
return builder().build();
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return roleUsages
*/
public RoleUsages getRoleUsages() {
return this.roleUsages;
}
public static final class Builder {
private String message;
private RoleUsages roleUsages;
/**
* <p>Failure information.</p>
*
* <strong>example:</strong>
* <p>Service-Linked Role acs:ram::196813227629****:role/aliyunserviceroleforhdr cannot be deleted as it is in use by hdr.aliyuncs.com.</p>
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* <p>Use resource information of the service linked role.</p>
*/
public Builder roleUsages(RoleUsages roleUsages) {
this.roleUsages = roleUsages;
return this;
}
public Reason build() {
return new Reason(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/InitResourceDirectoryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 InitResourceDirectoryRequest} extends {@link RequestModel}
*
* <p>InitResourceDirectoryRequest</p>
*/
public class InitResourceDirectoryRequest extends Request {
private InitResourceDirectoryRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static InitResourceDirectoryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<InitResourceDirectoryRequest, Builder> {
private Builder() {
super();
}
private Builder(InitResourceDirectoryRequest request) {
super(request);
}
@Override
public InitResourceDirectoryRequest build() {
return new InitResourceDirectoryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/InitResourceDirectoryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 InitResourceDirectoryResponse} extends {@link TeaModel}
*
* <p>InitResourceDirectoryResponse</p>
*/
public class InitResourceDirectoryResponse 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 InitResourceDirectoryResponseBody body;
private InitResourceDirectoryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static InitResourceDirectoryResponse 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 InitResourceDirectoryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<InitResourceDirectoryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(InitResourceDirectoryResponseBody body);
@Override
InitResourceDirectoryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<InitResourceDirectoryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private InitResourceDirectoryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(InitResourceDirectoryResponse 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(InitResourceDirectoryResponseBody body) {
this.body = body;
return this;
}
@Override
public InitResourceDirectoryResponse build() {
return new InitResourceDirectoryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/InitResourceDirectoryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 InitResourceDirectoryResponseBody} extends {@link TeaModel}
*
* <p>InitResourceDirectoryResponseBody</p>
*/
public class InitResourceDirectoryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceDirectory")
private ResourceDirectory resourceDirectory;
private InitResourceDirectoryResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.resourceDirectory = builder.resourceDirectory;
}
public static Builder builder() {
return new Builder();
}
public static InitResourceDirectoryResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceDirectory
*/
public ResourceDirectory getResourceDirectory() {
return this.resourceDirectory;
}
public static final class Builder {
private String requestId;
private ResourceDirectory resourceDirectory;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>CD76D376-2517-4924-92C5-DBC52262F93A</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The information of the resource directory.</p>
*/
public Builder resourceDirectory(ResourceDirectory resourceDirectory) {
this.resourceDirectory = resourceDirectory;
return this;
}
public InitResourceDirectoryResponseBody build() {
return new InitResourceDirectoryResponseBody(this);
}
}
/**
*
* {@link InitResourceDirectoryResponseBody} extends {@link TeaModel}
*
* <p>InitResourceDirectoryResponseBody</p>
*/
public static class ResourceDirectory extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("MasterAccountId")
private String masterAccountId;
@com.aliyun.core.annotation.NameInMap("MasterAccountName")
private String masterAccountName;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("RootFolderId")
private String rootFolderId;
private ResourceDirectory(Builder builder) {
this.createTime = builder.createTime;
this.masterAccountId = builder.masterAccountId;
this.masterAccountName = builder.masterAccountName;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.rootFolderId = builder.rootFolderId;
}
public static Builder builder() {
return new Builder();
}
public static ResourceDirectory create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return masterAccountId
*/
public String getMasterAccountId() {
return this.masterAccountId;
}
/**
* @return masterAccountName
*/
public String getMasterAccountName() {
return this.masterAccountName;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return rootFolderId
*/
public String getRootFolderId() {
return this.rootFolderId;
}
public static final class Builder {
private String createTime;
private String masterAccountId;
private String masterAccountName;
private String resourceDirectoryId;
private String rootFolderId;
/**
* <p>The time when the resource directory was enabled.</p>
*
* <strong>example:</strong>
* <p>2019-02-18T15:32:10.473Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The ID of the enterprise management account.</p>
*
* <strong>example:</strong>
* <p>172841235500****</p>
*/
public Builder masterAccountId(String masterAccountId) {
this.masterAccountId = masterAccountId;
return this;
}
/**
* <p>The name of the enterprise management account.</p>
*
* <strong>example:</strong>
* <p>aliyun-****</p>
*/
public Builder masterAccountName(String masterAccountName) {
this.masterAccountName = masterAccountName;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-Ss****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The ID of the root folder.</p>
*
* <strong>example:</strong>
* <p>r-Zo****</p>
*/
public Builder rootFolderId(String rootFolderId) {
this.rootFolderId = rootFolderId;
return this;
}
public ResourceDirectory build() {
return new ResourceDirectory(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/InviteAccountToResourceDirectoryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 InviteAccountToResourceDirectoryRequest} extends {@link RequestModel}
*
* <p>InviteAccountToResourceDirectoryRequest</p>
*/
public class InviteAccountToResourceDirectoryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Note")
private String note;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TargetEntity")
@com.aliyun.core.annotation.Validation(required = true)
private String targetEntity;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TargetType")
@com.aliyun.core.annotation.Validation(required = true)
private String targetType;
private InviteAccountToResourceDirectoryRequest(Builder builder) {
super(builder);
this.note = builder.note;
this.tag = builder.tag;
this.targetEntity = builder.targetEntity;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static InviteAccountToResourceDirectoryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return note
*/
public String getNote() {
return this.note;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
/**
* @return targetEntity
*/
public String getTargetEntity() {
return this.targetEntity;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder extends Request.Builder<InviteAccountToResourceDirectoryRequest, Builder> {
private String note;
private java.util.List<Tag> tag;
private String targetEntity;
private String targetType;
private Builder() {
super();
}
private Builder(InviteAccountToResourceDirectoryRequest request) {
super(request);
this.note = request.note;
this.tag = request.tag;
this.targetEntity = request.targetEntity;
this.targetType = request.targetType;
}
/**
* <p>The comment on the invitation.</p>
* <p>The comment can be up to 1,024 characters in length.</p>
*
* <strong>example:</strong>
* <p>Welcome</p>
*/
public Builder note(String note) {
this.putQueryParameter("Note", note);
this.note = note;
return this;
}
/**
* <p>The tag key and value.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
/**
* <p>The ID or logon email address of the account that you want to invite.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:someone@example.com">someone@example.com</a></p>
*/
public Builder targetEntity(String targetEntity) {
this.putQueryParameter("TargetEntity", targetEntity);
this.targetEntity = targetEntity;
return this;
}
/**
* <p>The type of the account. Valid values:</p>
* <ul>
* <li>Account: indicates the ID of the account.</li>
* <li>Email: indicates the logon email address of the account.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Email</p>
*/
public Builder targetType(String targetType) {
this.putQueryParameter("TargetType", targetType);
this.targetType = targetType;
return this;
}
@Override
public InviteAccountToResourceDirectoryRequest build() {
return new InviteAccountToResourceDirectoryRequest(this);
}
}
/**
*
* {@link InviteAccountToResourceDirectoryRequest} extends {@link TeaModel}
*
* <p>InviteAccountToResourceDirectoryRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>A tag key.</p>
*
* <strong>example:</strong>
* <p>k1</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>A tag value.</p>
*
* <strong>example:</strong>
* <p>v1</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/InviteAccountToResourceDirectoryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 InviteAccountToResourceDirectoryResponse} extends {@link TeaModel}
*
* <p>InviteAccountToResourceDirectoryResponse</p>
*/
public class InviteAccountToResourceDirectoryResponse 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 InviteAccountToResourceDirectoryResponseBody body;
private InviteAccountToResourceDirectoryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static InviteAccountToResourceDirectoryResponse 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 InviteAccountToResourceDirectoryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<InviteAccountToResourceDirectoryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(InviteAccountToResourceDirectoryResponseBody body);
@Override
InviteAccountToResourceDirectoryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<InviteAccountToResourceDirectoryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private InviteAccountToResourceDirectoryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(InviteAccountToResourceDirectoryResponse 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(InviteAccountToResourceDirectoryResponseBody body) {
this.body = body;
return this;
}
@Override
public InviteAccountToResourceDirectoryResponse build() {
return new InviteAccountToResourceDirectoryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/InviteAccountToResourceDirectoryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 InviteAccountToResourceDirectoryResponseBody} extends {@link TeaModel}
*
* <p>InviteAccountToResourceDirectoryResponseBody</p>
*/
public class InviteAccountToResourceDirectoryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Handshake")
private Handshake handshake;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private InviteAccountToResourceDirectoryResponseBody(Builder builder) {
this.handshake = builder.handshake;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static InviteAccountToResourceDirectoryResponseBody create() {
return builder().build();
}
/**
* @return handshake
*/
public Handshake getHandshake() {
return this.handshake;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Handshake handshake;
private String requestId;
/**
* <p>The information of the invitation.</p>
*/
public Builder handshake(Handshake handshake) {
this.handshake = handshake;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public InviteAccountToResourceDirectoryResponseBody build() {
return new InviteAccountToResourceDirectoryResponseBody(this);
}
}
/**
*
* {@link InviteAccountToResourceDirectoryResponseBody} extends {@link TeaModel}
*
* <p>InviteAccountToResourceDirectoryResponseBody</p>
*/
public static class Handshake extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("ExpireTime")
private String expireTime;
@com.aliyun.core.annotation.NameInMap("HandshakeId")
private String handshakeId;
@com.aliyun.core.annotation.NameInMap("MasterAccountId")
private String masterAccountId;
@com.aliyun.core.annotation.NameInMap("MasterAccountName")
private String masterAccountName;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("Note")
private String note;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("TargetEntity")
private String targetEntity;
@com.aliyun.core.annotation.NameInMap("TargetType")
private String targetType;
private Handshake(Builder builder) {
this.createTime = builder.createTime;
this.expireTime = builder.expireTime;
this.handshakeId = builder.handshakeId;
this.masterAccountId = builder.masterAccountId;
this.masterAccountName = builder.masterAccountName;
this.modifyTime = builder.modifyTime;
this.note = builder.note;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.status = builder.status;
this.targetEntity = builder.targetEntity;
this.targetType = builder.targetType;
}
public static Builder builder() {
return new Builder();
}
public static Handshake create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return expireTime
*/
public String getExpireTime() {
return this.expireTime;
}
/**
* @return handshakeId
*/
public String getHandshakeId() {
return this.handshakeId;
}
/**
* @return masterAccountId
*/
public String getMasterAccountId() {
return this.masterAccountId;
}
/**
* @return masterAccountName
*/
public String getMasterAccountName() {
return this.masterAccountName;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return note
*/
public String getNote() {
return this.note;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return targetEntity
*/
public String getTargetEntity() {
return this.targetEntity;
}
/**
* @return targetType
*/
public String getTargetType() {
return this.targetType;
}
public static final class Builder {
private String createTime;
private String expireTime;
private String handshakeId;
private String masterAccountId;
private String masterAccountName;
private String modifyTime;
private String note;
private String resourceDirectoryId;
private String status;
private String targetEntity;
private String targetType;
/**
* <p>The time when the invitation was created. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-08-10T09:55:41Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The time when the invitation expires. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-08-24T09:55:41Z</p>
*/
public Builder expireTime(String expireTime) {
this.expireTime = expireTime;
return this;
}
/**
* <p>The ID of the invitation.</p>
*
* <strong>example:</strong>
* <p>h-ycm4rp****</p>
*/
public Builder handshakeId(String handshakeId) {
this.handshakeId = handshakeId;
return this;
}
/**
* <p>The ID of the management account of the resource directory.</p>
*
* <strong>example:</strong>
* <p>172841235500****</p>
*/
public Builder masterAccountId(String masterAccountId) {
this.masterAccountId = masterAccountId;
return this;
}
/**
* <p>The name of the management account of the resource directory.</p>
*
* <strong>example:</strong>
* <p>Alice</p>
*/
public Builder masterAccountName(String masterAccountName) {
this.masterAccountName = masterAccountName;
return this;
}
/**
* <p>The time when the invitation was modified. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2018-08-10T09:55:41Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The comment on the invitation.</p>
*
* <strong>example:</strong>
* <p>Welcome</p>
*/
public Builder note(String note) {
this.note = note;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-abcdef****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The status of the invitation.</p>
* <ul>
* <li>Pending: The invitation is waiting for confirmation.</li>
* <li>Accepted: The invitation is accepted.</li>
* <li>Cancelled: The invitation is canceled.</li>
* <li>Declined: The invitation is rejected.</li>
* <li>Expired: The invitation expires.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Pending</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The ID or logon email address of the invited account.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:someone@example.com">someone@example.com</a></p>
*/
public Builder targetEntity(String targetEntity) {
this.targetEntity = targetEntity;
return this;
}
/**
* <p>The type of the invited account. Valid values:</p>
* <ul>
* <li>Account: indicates the ID of the account.</li>
* <li>Email: indicates the logon email address of the account.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Email</p>
*/
public Builder targetType(String targetType) {
this.targetType = targetType;
return this;
}
public Handshake build() {
return new Handshake(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAccountsForParentRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAccountsForParentRequest} extends {@link RequestModel}
*
* <p>ListAccountsForParentRequest</p>
*/
public class ListAccountsForParentRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("IncludeTags")
private Boolean includeTags;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ParentFolderId")
private String parentFolderId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("QueryKeyword")
private String queryKeyword;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
private ListAccountsForParentRequest(Builder builder) {
super(builder);
this.includeTags = builder.includeTags;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.parentFolderId = builder.parentFolderId;
this.queryKeyword = builder.queryKeyword;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static ListAccountsForParentRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return includeTags
*/
public Boolean getIncludeTags() {
return this.includeTags;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return parentFolderId
*/
public String getParentFolderId() {
return this.parentFolderId;
}
/**
* @return queryKeyword
*/
public String getQueryKeyword() {
return this.queryKeyword;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder<ListAccountsForParentRequest, Builder> {
private Boolean includeTags;
private Integer pageNumber;
private Integer pageSize;
private String parentFolderId;
private String queryKeyword;
private java.util.List<Tag> tag;
private Builder() {
super();
}
private Builder(ListAccountsForParentRequest request) {
super(request);
this.includeTags = request.includeTags;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.parentFolderId = request.parentFolderId;
this.queryKeyword = request.queryKeyword;
this.tag = request.tag;
}
/**
* <p>Specifies whether to return the information of tags. Valid values:</p>
* <p>false (default value)</p>
* <p>true</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder includeTags(Boolean includeTags) {
this.putQueryParameter("IncludeTags", includeTags);
this.includeTags = includeTags;
return this;
}
/**
* <p>The number of the page to return.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the folder.</p>
*
* <strong>example:</strong>
* <p>fd-bVaRIG****</p>
*/
public Builder parentFolderId(String parentFolderId) {
this.putQueryParameter("ParentFolderId", parentFolderId);
this.parentFolderId = parentFolderId;
return this;
}
/**
* <p>The keyword used for the query, such as the display name of a member.</p>
* <p>Fuzzy match is supported.</p>
*
* <strong>example:</strong>
* <p>admin</p>
*/
public Builder queryKeyword(String queryKeyword) {
this.putQueryParameter("QueryKeyword", queryKeyword);
this.queryKeyword = queryKeyword;
return this;
}
/**
* <p>The tag key and value.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
@Override
public ListAccountsForParentRequest build() {
return new ListAccountsForParentRequest(this);
}
}
/**
*
* {@link ListAccountsForParentRequest} extends {@link TeaModel}
*
* <p>ListAccountsForParentRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>A tag key.</p>
*
* <strong>example:</strong>
* <p>tag_key</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>A tag value.</p>
*
* <strong>example:</strong>
* <p>tag_value</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAccountsForParentResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAccountsForParentResponse} extends {@link TeaModel}
*
* <p>ListAccountsForParentResponse</p>
*/
public class ListAccountsForParentResponse 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 ListAccountsForParentResponseBody body;
private ListAccountsForParentResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAccountsForParentResponse 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 ListAccountsForParentResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAccountsForParentResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAccountsForParentResponseBody body);
@Override
ListAccountsForParentResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAccountsForParentResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAccountsForParentResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAccountsForParentResponse 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(ListAccountsForParentResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAccountsForParentResponse build() {
return new ListAccountsForParentResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAccountsForParentResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAccountsForParentResponseBody} extends {@link TeaModel}
*
* <p>ListAccountsForParentResponseBody</p>
*/
public class ListAccountsForParentResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Accounts")
private Accounts accounts;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListAccountsForParentResponseBody(Builder builder) {
this.accounts = builder.accounts;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListAccountsForParentResponseBody create() {
return builder().build();
}
/**
* @return accounts
*/
public Accounts getAccounts() {
return this.accounts;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Accounts accounts;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* <p>The information of the members.</p>
*/
public Builder accounts(Accounts accounts) {
this.accounts = accounts;
return this;
}
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListAccountsForParentResponseBody build() {
return new ListAccountsForParentResponseBody(this);
}
}
/**
*
* {@link ListAccountsForParentResponseBody} extends {@link TeaModel}
*
* <p>ListAccountsForParentResponseBody</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>A tag key.</p>
*
* <strong>example:</strong>
* <p>tag_key</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>A tag value.</p>
*
* <strong>example:</strong>
* <p>tag_value</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
/**
*
* {@link ListAccountsForParentResponseBody} extends {@link TeaModel}
*
* <p>ListAccountsForParentResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
private Tags(Builder builder) {
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder {
private java.util.List<Tag> tag;
/**
* Tag.
*/
public Builder tag(java.util.List<Tag> tag) {
this.tag = tag;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
/**
*
* {@link ListAccountsForParentResponseBody} extends {@link TeaModel}
*
* <p>ListAccountsForParentResponseBody</p>
*/
public static class Account extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("FolderId")
private String folderId;
@com.aliyun.core.annotation.NameInMap("JoinMethod")
private String joinMethod;
@com.aliyun.core.annotation.NameInMap("JoinTime")
private String joinTime;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Tags")
private Tags tags;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private Account(Builder builder) {
this.accountId = builder.accountId;
this.displayName = builder.displayName;
this.folderId = builder.folderId;
this.joinMethod = builder.joinMethod;
this.joinTime = builder.joinTime;
this.modifyTime = builder.modifyTime;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.status = builder.status;
this.tags = builder.tags;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Account create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
/**
* @return joinMethod
*/
public String getJoinMethod() {
return this.joinMethod;
}
/**
* @return joinTime
*/
public String getJoinTime() {
return this.joinTime;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tags
*/
public Tags getTags() {
return this.tags;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String accountId;
private String displayName;
private String folderId;
private String joinMethod;
private String joinTime;
private String modifyTime;
private String resourceDirectoryId;
private String status;
private Tags tags;
private String type;
/**
* <p>The Alibaba Cloud account ID of the member.</p>
*
* <strong>example:</strong>
* <p>184311716100****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The display name of the member.</p>
*
* <strong>example:</strong>
* <p>admin</p>
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* <p>The ID of the folder.</p>
*
* <strong>example:</strong>
* <p>fd-bVaRIG****</p>
*/
public Builder folderId(String folderId) {
this.folderId = folderId;
return this;
}
/**
* <p>The way in which the member joins the resource directory.</p>
* <ul>
* <li>invited: The member is invited to join the resource directory.</li>
* <li>created: The member is directly created in the resource directory.</li>
* </ul>
*
* <strong>example:</strong>
* <p>created</p>
*/
public Builder joinMethod(String joinMethod) {
this.joinMethod = joinMethod;
return this;
}
/**
* <p>The time when the member joined the resource directory. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder joinTime(String joinTime) {
this.joinTime = joinTime;
return this;
}
/**
* <p>The time when the member was modified. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2015-01-23T12:33:18Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-k4****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The status of the member. Valid values:</p>
* <ul>
* <li>CreateSuccess: The member is created.</li>
* <li>PromoteVerifying: The upgrade of the member is being confirmed.</li>
* <li>PromoteFailed: The upgrade of the member fails.</li>
* <li>PromoteExpired: The upgrade of the member expires.</li>
* <li>PromoteCancelled: The upgrade of the member is canceled.</li>
* <li>PromoteSuccess: The member is upgraded.</li>
* <li>InviteSuccess: The member accepts the invitation.</li>
* </ul>
*
* <strong>example:</strong>
* <p>CreateSuccess</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The tags that are added to the member.</p>
*/
public Builder tags(Tags tags) {
this.tags = tags;
return this;
}
/**
* <p>The type of the member.</p>
* <ul>
* <li>CloudAccount: cloud account</li>
* <li>ResourceAccount: resource account</li>
* </ul>
*
* <strong>example:</strong>
* <p>ResourceAccount</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Account build() {
return new Account(this);
}
}
}
/**
*
* {@link ListAccountsForParentResponseBody} extends {@link TeaModel}
*
* <p>ListAccountsForParentResponseBody</p>
*/
public static class Accounts extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Account")
private java.util.List<Account> account;
private Accounts(Builder builder) {
this.account = builder.account;
}
public static Builder builder() {
return new Builder();
}
public static Accounts create() {
return builder().build();
}
/**
* @return account
*/
public java.util.List<Account> getAccount() {
return this.account;
}
public static final class Builder {
private java.util.List<Account> account;
/**
* Account.
*/
public Builder account(java.util.List<Account> account) {
this.account = account;
return this;
}
public Accounts build() {
return new Accounts(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAccountsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAccountsRequest} extends {@link RequestModel}
*
* <p>ListAccountsRequest</p>
*/
public class ListAccountsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("IncludeTags")
private Boolean includeTags;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
private ListAccountsRequest(Builder builder) {
super(builder);
this.includeTags = builder.includeTags;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static ListAccountsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return includeTags
*/
public Boolean getIncludeTags() {
return this.includeTags;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder<ListAccountsRequest, Builder> {
private Boolean includeTags;
private Integer pageNumber;
private Integer pageSize;
private java.util.List<Tag> tag;
private Builder() {
super();
}
private Builder(ListAccountsRequest request) {
super(request);
this.includeTags = request.includeTags;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.tag = request.tag;
}
/**
* <p>Specifies whether to return the information of tags. Valid values:</p>
* <ul>
* <li>false (default value)</li>
* <li>true</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder includeTags(Boolean includeTags) {
this.putQueryParameter("IncludeTags", includeTags);
this.includeTags = includeTags;
return this;
}
/**
* <p>The number of the page to return.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The tag key and value.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
@Override
public ListAccountsRequest build() {
return new ListAccountsRequest(this);
}
}
/**
*
* {@link ListAccountsRequest} extends {@link TeaModel}
*
* <p>ListAccountsRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>A tag key.</p>
*
* <strong>example:</strong>
* <p>tag_key</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>A tag value.</p>
*
* <strong>example:</strong>
* <p>tag_value</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAccountsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAccountsResponse} extends {@link TeaModel}
*
* <p>ListAccountsResponse</p>
*/
public class ListAccountsResponse 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 ListAccountsResponseBody body;
private ListAccountsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAccountsResponse 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 ListAccountsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAccountsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAccountsResponseBody body);
@Override
ListAccountsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAccountsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAccountsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAccountsResponse 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(ListAccountsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAccountsResponse build() {
return new ListAccountsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAccountsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAccountsResponseBody} extends {@link TeaModel}
*
* <p>ListAccountsResponseBody</p>
*/
public class ListAccountsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Accounts")
private Accounts accounts;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListAccountsResponseBody(Builder builder) {
this.accounts = builder.accounts;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListAccountsResponseBody create() {
return builder().build();
}
/**
* @return accounts
*/
public Accounts getAccounts() {
return this.accounts;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Accounts accounts;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* <p>The members returned.</p>
*/
public Builder accounts(Accounts accounts) {
this.accounts = accounts;
return this;
}
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>7B8A4E7D-6CFF-471D-84DF-195A7A241ECB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListAccountsResponseBody build() {
return new ListAccountsResponseBody(this);
}
}
/**
*
* {@link ListAccountsResponseBody} extends {@link TeaModel}
*
* <p>ListAccountsResponseBody</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>A tag key.</p>
*
* <strong>example:</strong>
* <p>tag_key</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>A tag value.</p>
*
* <strong>example:</strong>
* <p>tag_value</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
/**
*
* {@link ListAccountsResponseBody} extends {@link TeaModel}
*
* <p>ListAccountsResponseBody</p>
*/
public static class Tags extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
private Tags(Builder builder) {
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder {
private java.util.List<Tag> tag;
/**
* Tag.
*/
public Builder tag(java.util.List<Tag> tag) {
this.tag = tag;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
/**
*
* {@link ListAccountsResponseBody} extends {@link TeaModel}
*
* <p>ListAccountsResponseBody</p>
*/
public static class Account extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("FolderId")
private String folderId;
@com.aliyun.core.annotation.NameInMap("JoinMethod")
private String joinMethod;
@com.aliyun.core.annotation.NameInMap("JoinTime")
private String joinTime;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryId")
private String resourceDirectoryId;
@com.aliyun.core.annotation.NameInMap("ResourceDirectoryPath")
private String resourceDirectoryPath;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Tags")
private Tags tags;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private Account(Builder builder) {
this.accountId = builder.accountId;
this.displayName = builder.displayName;
this.folderId = builder.folderId;
this.joinMethod = builder.joinMethod;
this.joinTime = builder.joinTime;
this.modifyTime = builder.modifyTime;
this.resourceDirectoryId = builder.resourceDirectoryId;
this.resourceDirectoryPath = builder.resourceDirectoryPath;
this.status = builder.status;
this.tags = builder.tags;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static Account create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
/**
* @return joinMethod
*/
public String getJoinMethod() {
return this.joinMethod;
}
/**
* @return joinTime
*/
public String getJoinTime() {
return this.joinTime;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return resourceDirectoryId
*/
public String getResourceDirectoryId() {
return this.resourceDirectoryId;
}
/**
* @return resourceDirectoryPath
*/
public String getResourceDirectoryPath() {
return this.resourceDirectoryPath;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tags
*/
public Tags getTags() {
return this.tags;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String accountId;
private String displayName;
private String folderId;
private String joinMethod;
private String joinTime;
private String modifyTime;
private String resourceDirectoryId;
private String resourceDirectoryPath;
private String status;
private Tags tags;
private String type;
/**
* <p>The Alibaba Cloud account ID of the member.</p>
*
* <strong>example:</strong>
* <p>181761095690****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The display name of the member.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* <p>The ID of the folder.</p>
*
* <strong>example:</strong>
* <p>fd-QRzuim****</p>
*/
public Builder folderId(String folderId) {
this.folderId = folderId;
return this;
}
/**
* <p>The way in which the member joins the resource directory. Valid values:</p>
* <ul>
* <li>invited: The member is invited to join the resource directory.</li>
* <li>created: The member is directly created in the resource directory.</li>
* </ul>
*
* <strong>example:</strong>
* <p>created</p>
*/
public Builder joinMethod(String joinMethod) {
this.joinMethod = joinMethod;
return this;
}
/**
* <p>The time when the member joined the resource directory. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2021-01-18T08:01:50.522Z</p>
*/
public Builder joinTime(String joinTime) {
this.joinTime = joinTime;
return this;
}
/**
* <p>The time when the member was modified. The time is displayed in UTC.</p>
*
* <strong>example:</strong>
* <p>2021-01-18T08:04:37.668Z</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The ID of the resource directory.</p>
*
* <strong>example:</strong>
* <p>rd-3G****</p>
*/
public Builder resourceDirectoryId(String resourceDirectoryId) {
this.resourceDirectoryId = resourceDirectoryId;
return this;
}
/**
* <p>The path of the member in the resource directory.</p>
*/
public Builder resourceDirectoryPath(String resourceDirectoryPath) {
this.resourceDirectoryPath = resourceDirectoryPath;
return this;
}
/**
* <p>The status of the member. Valid values:</p>
* <ul>
* <li>CreateSuccess: The member is created.</li>
* <li>PromoteVerifying: The upgrade of the member is being confirmed.</li>
* <li>PromoteFailed: The upgrade of the member fails.</li>
* <li>PromoteExpired: The upgrade of the member expires.</li>
* <li>PromoteCancelled: The upgrade of the member is canceled.</li>
* <li>PromoteSuccess: The member is upgraded.</li>
* <li>InviteSuccess: The member accepts the invitation.</li>
* </ul>
*
* <strong>example:</strong>
* <p>CreateSuccess</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* <p>The tags that are added to the member.</p>
*/
public Builder tags(Tags tags) {
this.tags = tags;
return this;
}
/**
* <p>The type of the member. Valid values:</p>
* <ul>
* <li>CloudAccount: cloud account</li>
* <li>ResourceAccount: resource account</li>
* </ul>
*
* <strong>example:</strong>
* <p>ResourceAccount</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
public Account build() {
return new Account(this);
}
}
}
/**
*
* {@link ListAccountsResponseBody} extends {@link TeaModel}
*
* <p>ListAccountsResponseBody</p>
*/
public static class Accounts extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Account")
private java.util.List<Account> account;
private Accounts(Builder builder) {
this.account = builder.account;
}
public static Builder builder() {
return new Builder();
}
public static Accounts create() {
return builder().build();
}
/**
* @return account
*/
public java.util.List<Account> getAccount() {
return this.account;
}
public static final class Builder {
private java.util.List<Account> account;
/**
* Account.
*/
public Builder account(java.util.List<Account> account) {
this.account = account;
return this;
}
public Accounts build() {
return new Accounts(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAncestorsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAncestorsRequest} extends {@link RequestModel}
*
* <p>ListAncestorsRequest</p>
*/
public class ListAncestorsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ChildId")
@com.aliyun.core.annotation.Validation(required = true)
private String childId;
private ListAncestorsRequest(Builder builder) {
super(builder);
this.childId = builder.childId;
}
public static Builder builder() {
return new Builder();
}
public static ListAncestorsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return childId
*/
public String getChildId() {
return this.childId;
}
public static final class Builder extends Request.Builder<ListAncestorsRequest, Builder> {
private String childId;
private Builder() {
super();
}
private Builder(ListAncestorsRequest request) {
super(request);
this.childId = request.childId;
}
/**
* <p>The ID of the child folder.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>fd-i1c9nr****</p>
*/
public Builder childId(String childId) {
this.putQueryParameter("ChildId", childId);
this.childId = childId;
return this;
}
@Override
public ListAncestorsRequest build() {
return new ListAncestorsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAncestorsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAncestorsResponse} extends {@link TeaModel}
*
* <p>ListAncestorsResponse</p>
*/
public class ListAncestorsResponse 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 ListAncestorsResponseBody body;
private ListAncestorsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAncestorsResponse 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 ListAncestorsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAncestorsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAncestorsResponseBody body);
@Override
ListAncestorsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAncestorsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAncestorsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAncestorsResponse 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(ListAncestorsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAncestorsResponse build() {
return new ListAncestorsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAncestorsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAncestorsResponseBody} extends {@link TeaModel}
*
* <p>ListAncestorsResponseBody</p>
*/
public class ListAncestorsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Folders")
private Folders folders;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListAncestorsResponseBody(Builder builder) {
this.folders = builder.folders;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListAncestorsResponseBody create() {
return builder().build();
}
/**
* @return folders
*/
public Folders getFolders() {
return this.folders;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Folders folders;
private String requestId;
/**
* <p>The information of the folders.</p>
*/
public Builder folders(Folders folders) {
this.folders = folders;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>83AFBEB6-DC03-406E-9686-867461FF6698</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListAncestorsResponseBody build() {
return new ListAncestorsResponseBody(this);
}
}
/**
*
* {@link ListAncestorsResponseBody} extends {@link TeaModel}
*
* <p>ListAncestorsResponseBody</p>
*/
public static class Folder extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("FolderId")
private String folderId;
@com.aliyun.core.annotation.NameInMap("FolderName")
private String folderName;
private Folder(Builder builder) {
this.createTime = builder.createTime;
this.folderId = builder.folderId;
this.folderName = builder.folderName;
}
public static Builder builder() {
return new Builder();
}
public static Folder create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return folderId
*/
public String getFolderId() {
return this.folderId;
}
/**
* @return folderName
*/
public String getFolderName() {
return this.folderName;
}
public static final class Builder {
private String createTime;
private String folderId;
private String folderName;
/**
* <p>The time when the folder was created.</p>
*
* <strong>example:</strong>
* <p>2019-01-18T10:03:35.217Z</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The ID of the folder.</p>
*
* <strong>example:</strong>
* <p>r-b1****</p>
*/
public Builder folderId(String folderId) {
this.folderId = folderId;
return this;
}
/**
* <p>The name of the folder.</p>
*
* <strong>example:</strong>
* <p>root</p>
*/
public Builder folderName(String folderName) {
this.folderName = folderName;
return this;
}
public Folder build() {
return new Folder(this);
}
}
}
/**
*
* {@link ListAncestorsResponseBody} extends {@link TeaModel}
*
* <p>ListAncestorsResponseBody</p>
*/
public static class Folders extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Folder")
private java.util.List<Folder> folder;
private Folders(Builder builder) {
this.folder = builder.folder;
}
public static Builder builder() {
return new Builder();
}
public static Folders create() {
return builder().build();
}
/**
* @return folder
*/
public java.util.List<Folder> getFolder() {
return this.folder;
}
public static final class Builder {
private java.util.List<Folder> folder;
/**
* Folder.
*/
public Builder folder(java.util.List<Folder> folder) {
this.folder = folder;
return this;
}
public Folders build() {
return new Folders(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAssociatedTransferSettingRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAssociatedTransferSettingRequest} extends {@link RequestModel}
*
* <p>ListAssociatedTransferSettingRequest</p>
*/
public class ListAssociatedTransferSettingRequest extends Request {
private ListAssociatedTransferSettingRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static ListAssociatedTransferSettingRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<ListAssociatedTransferSettingRequest, Builder> {
private Builder() {
super();
}
private Builder(ListAssociatedTransferSettingRequest request) {
super(request);
}
@Override
public ListAssociatedTransferSettingRequest build() {
return new ListAssociatedTransferSettingRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAssociatedTransferSettingResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAssociatedTransferSettingResponse} extends {@link TeaModel}
*
* <p>ListAssociatedTransferSettingResponse</p>
*/
public class ListAssociatedTransferSettingResponse 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 ListAssociatedTransferSettingResponseBody body;
private ListAssociatedTransferSettingResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAssociatedTransferSettingResponse 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 ListAssociatedTransferSettingResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAssociatedTransferSettingResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAssociatedTransferSettingResponseBody body);
@Override
ListAssociatedTransferSettingResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAssociatedTransferSettingResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAssociatedTransferSettingResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAssociatedTransferSettingResponse 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(ListAssociatedTransferSettingResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAssociatedTransferSettingResponse build() {
return new ListAssociatedTransferSettingResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAssociatedTransferSettingResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAssociatedTransferSettingResponseBody} extends {@link TeaModel}
*
* <p>ListAssociatedTransferSettingResponseBody</p>
*/
public class ListAssociatedTransferSettingResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AssociatedTransferSetting")
private AssociatedTransferSetting associatedTransferSetting;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListAssociatedTransferSettingResponseBody(Builder builder) {
this.associatedTransferSetting = builder.associatedTransferSetting;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListAssociatedTransferSettingResponseBody create() {
return builder().build();
}
/**
* @return associatedTransferSetting
*/
public AssociatedTransferSetting getAssociatedTransferSetting() {
return this.associatedTransferSetting;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private AssociatedTransferSetting associatedTransferSetting;
private String requestId;
/**
* <p>The settings of the Transfer Associated Resources feature.</p>
*/
public Builder associatedTransferSetting(AssociatedTransferSetting associatedTransferSetting) {
this.associatedTransferSetting = associatedTransferSetting;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>7556FD65-45D2-5C45-9FC9-A7DE831C775C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListAssociatedTransferSettingResponseBody build() {
return new ListAssociatedTransferSettingResponseBody(this);
}
}
/**
*
* {@link ListAssociatedTransferSettingResponseBody} extends {@link TeaModel}
*
* <p>ListAssociatedTransferSettingResponseBody</p>
*/
public static class RuleSettings extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AssociatedResourceType")
private String associatedResourceType;
@com.aliyun.core.annotation.NameInMap("AssociatedService")
private String associatedService;
@com.aliyun.core.annotation.NameInMap("MasterResourceType")
private String masterResourceType;
@com.aliyun.core.annotation.NameInMap("MasterService")
private String masterService;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private RuleSettings(Builder builder) {
this.associatedResourceType = builder.associatedResourceType;
this.associatedService = builder.associatedService;
this.masterResourceType = builder.masterResourceType;
this.masterService = builder.masterService;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static RuleSettings create() {
return builder().build();
}
/**
* @return associatedResourceType
*/
public String getAssociatedResourceType() {
return this.associatedResourceType;
}
/**
* @return associatedService
*/
public String getAssociatedService() {
return this.associatedService;
}
/**
* @return masterResourceType
*/
public String getMasterResourceType() {
return this.masterResourceType;
}
/**
* @return masterService
*/
public String getMasterService() {
return this.masterService;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String associatedResourceType;
private String associatedService;
private String masterResourceType;
private String masterService;
private String status;
/**
* <p>The type of the associated resource.</p>
*
* <strong>example:</strong>
* <p>disk</p>
*/
public Builder associatedResourceType(String associatedResourceType) {
this.associatedResourceType = associatedResourceType;
return this;
}
/**
* <p>The service code of the associated resource.</p>
*
* <strong>example:</strong>
* <p>ecs</p>
*/
public Builder associatedService(String associatedService) {
this.associatedService = associatedService;
return this;
}
/**
* <p>The type of the primary resource.</p>
*
* <strong>example:</strong>
* <p>instance</p>
*/
public Builder masterResourceType(String masterResourceType) {
this.masterResourceType = masterResourceType;
return this;
}
/**
* <p>The service code of the primary resource.</p>
*
* <strong>example:</strong>
* <p>ecs</p>
*/
public Builder masterService(String masterService) {
this.masterService = masterService;
return this;
}
/**
* <p>The status of the Transfer Associated Resources feature. Valid values:</p>
* <ul>
* <li>Enable: enabled</li>
* <li>Disable: disabled</li>
* </ul>
*
* <strong>example:</strong>
* <p>Enable</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public RuleSettings build() {
return new RuleSettings(this);
}
}
}
/**
*
* {@link ListAssociatedTransferSettingResponseBody} extends {@link TeaModel}
*
* <p>ListAssociatedTransferSettingResponseBody</p>
*/
public static class AssociatedTransferSetting extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("EnableExistingResourcesTransfer")
private String enableExistingResourcesTransfer;
@com.aliyun.core.annotation.NameInMap("RuleSettings")
private java.util.List<RuleSettings> ruleSettings;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private AssociatedTransferSetting(Builder builder) {
this.accountId = builder.accountId;
this.enableExistingResourcesTransfer = builder.enableExistingResourcesTransfer;
this.ruleSettings = builder.ruleSettings;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static AssociatedTransferSetting create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return enableExistingResourcesTransfer
*/
public String getEnableExistingResourcesTransfer() {
return this.enableExistingResourcesTransfer;
}
/**
* @return ruleSettings
*/
public java.util.List<RuleSettings> getRuleSettings() {
return this.ruleSettings;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String accountId;
private String enableExistingResourcesTransfer;
private java.util.List<RuleSettings> ruleSettings;
private String status;
/**
* <p>The ID of the Alibaba Cloud account.</p>
*
* <strong>example:</strong>
* <p>121998723923****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>Indicates whether the Transfer Existing Associated Resources feature is enabled. Valid values:</p>
* <ul>
* <li>false</li>
* <li>true</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder enableExistingResourcesTransfer(String enableExistingResourcesTransfer) {
this.enableExistingResourcesTransfer = enableExistingResourcesTransfer;
return this;
}
/**
* <p>The settings of transfer rules.</p>
*/
public Builder ruleSettings(java.util.List<RuleSettings> ruleSettings) {
this.ruleSettings = ruleSettings;
return this;
}
/**
* <p>The status of the Transfer Associated Resources feature. Valid values:</p>
* <ul>
* <li>Enable: enabled</li>
* <li>Disable: disabled</li>
* </ul>
*
* <strong>example:</strong>
* <p>Enable</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public AssociatedTransferSetting build() {
return new AssociatedTransferSetting(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAutoGroupingRulesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAutoGroupingRulesRequest} extends {@link RequestModel}
*
* <p>ListAutoGroupingRulesRequest</p>
*/
public class ListAutoGroupingRulesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
@com.aliyun.core.annotation.Validation(maximum = 50)
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("RuleId")
private String ruleId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RuleName")
private String ruleName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RuleType")
private String ruleType;
private ListAutoGroupingRulesRequest(Builder builder) {
super(builder);
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.ruleId = builder.ruleId;
this.ruleName = builder.ruleName;
this.ruleType = builder.ruleType;
}
public static Builder builder() {
return new Builder();
}
public static ListAutoGroupingRulesRequest 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 ruleId
*/
public String getRuleId() {
return this.ruleId;
}
/**
* @return ruleName
*/
public String getRuleName() {
return this.ruleName;
}
/**
* @return ruleType
*/
public String getRuleType() {
return this.ruleType;
}
public static final class Builder extends Request.Builder<ListAutoGroupingRulesRequest, Builder> {
private Integer maxResults;
private String nextToken;
private String ruleId;
private String ruleName;
private String ruleType;
private Builder() {
super();
}
private Builder(ListAutoGroupingRulesRequest request) {
super(request);
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.ruleId = request.ruleId;
this.ruleName = request.ruleName;
this.ruleType = request.ruleType;
}
/**
* <p>The maximum number of entries to return for a single request. Valid values: 1 to 50.</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. 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>TGlzdFJlc291cm****</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The ID of the rule.</p>
*
* <strong>example:</strong>
* <p>gr-acfo******hy6a</p>
*/
public Builder ruleId(String ruleId) {
this.putQueryParameter("RuleId", ruleId);
this.ruleId = ruleId;
return this;
}
/**
* <p>The name of the rule.</p>
*
* <strong>example:</strong>
* <p>Custom Transfer Rule for Online Resources of Project A</p>
*/
public Builder ruleName(String ruleName) {
this.putQueryParameter("RuleName", ruleName);
this.ruleName = ruleName;
return this;
}
/**
* <p>The type of the rule. Valid values:</p>
* <ul>
* <li>custom_condition: custom transfer rule</li>
* <li>associated_transfer: transfer rule for associated resources</li>
* </ul>
*
* <strong>example:</strong>
* <p>custom_condition</p>
*/
public Builder ruleType(String ruleType) {
this.putQueryParameter("RuleType", ruleType);
this.ruleType = ruleType;
return this;
}
@Override
public ListAutoGroupingRulesRequest build() {
return new ListAutoGroupingRulesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAutoGroupingRulesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAutoGroupingRulesResponse} extends {@link TeaModel}
*
* <p>ListAutoGroupingRulesResponse</p>
*/
public class ListAutoGroupingRulesResponse 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 ListAutoGroupingRulesResponseBody body;
private ListAutoGroupingRulesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAutoGroupingRulesResponse 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 ListAutoGroupingRulesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAutoGroupingRulesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAutoGroupingRulesResponseBody body);
@Override
ListAutoGroupingRulesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAutoGroupingRulesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAutoGroupingRulesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAutoGroupingRulesResponse 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(ListAutoGroupingRulesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAutoGroupingRulesResponse build() {
return new ListAutoGroupingRulesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListAutoGroupingRulesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListAutoGroupingRulesResponseBody} extends {@link TeaModel}
*
* <p>ListAutoGroupingRulesResponseBody</p>
*/
public class ListAutoGroupingRulesResponseBody 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("Rules")
private java.util.List<Rules> rules;
private ListAutoGroupingRulesResponseBody(Builder builder) {
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.rules = builder.rules;
}
public static Builder builder() {
return new Builder();
}
public static ListAutoGroupingRulesResponseBody create() {
return builder().build();
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return rules
*/
public java.util.List<Rules> getRules() {
return this.rules;
}
public static final class Builder {
private Integer maxResults;
private String nextToken;
private String requestId;
private java.util.List<Rules> rules;
/**
* <p>The maximum number of entries returned for a single request. Valid values: 1 to 50.</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>TGlzdFJlc291cm****</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>9B34724D-54B0-4A51-B34D-4512372FE1BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The queried rules.</p>
*/
public Builder rules(java.util.List<Rules> rules) {
this.rules = rules;
return this;
}
public ListAutoGroupingRulesResponseBody build() {
return new ListAutoGroupingRulesResponseBody(this);
}
}
/**
*
* {@link ListAutoGroupingRulesResponseBody} extends {@link TeaModel}
*
* <p>ListAutoGroupingRulesResponseBody</p>
*/
public static class RuleContents extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AutoGroupingScopeCondition")
private String autoGroupingScopeCondition;
@com.aliyun.core.annotation.NameInMap("RuleContentId")
private String ruleContentId;
@com.aliyun.core.annotation.NameInMap("TargetResourceGroupCondition")
private String targetResourceGroupCondition;
private RuleContents(Builder builder) {
this.autoGroupingScopeCondition = builder.autoGroupingScopeCondition;
this.ruleContentId = builder.ruleContentId;
this.targetResourceGroupCondition = builder.targetResourceGroupCondition;
}
public static Builder builder() {
return new Builder();
}
public static RuleContents create() {
return builder().build();
}
/**
* @return autoGroupingScopeCondition
*/
public String getAutoGroupingScopeCondition() {
return this.autoGroupingScopeCondition;
}
/**
* @return ruleContentId
*/
public String getRuleContentId() {
return this.ruleContentId;
}
/**
* @return targetResourceGroupCondition
*/
public String getTargetResourceGroupCondition() {
return this.targetResourceGroupCondition;
}
public static final class Builder {
private String autoGroupingScopeCondition;
private String ruleContentId;
private String targetResourceGroupCondition;
/**
* <p>The condition for the range of resources that are automatically transferred.</p>
*
* <strong>example:</strong>
* <p>{"children":[{"desired":"{"env":"online", "project":"A"}","featurePath":"$.tags","featureSource":"RESOURCE","operator":"TagMatchAll"}],"operator":"and"}</p>
*/
public Builder autoGroupingScopeCondition(String autoGroupingScopeCondition) {
this.autoGroupingScopeCondition = autoGroupingScopeCondition;
return this;
}
/**
* <p>The ID of the content record.</p>
*
* <strong>example:</strong>
* <p>grc-acfo******fwybpq</p>
*/
public Builder ruleContentId(String ruleContentId) {
this.ruleContentId = ruleContentId;
return this;
}
/**
* <p>The condition for the destination resource group.</p>
*
* <strong>example:</strong>
* <p>{"children":[{"desired":"rg-aek2********qcy","featurePath":"$.resourceGroupId","featureSource":"RESOURCE","operator":"StringEquals"}],"operator":"and"}</p>
*/
public Builder targetResourceGroupCondition(String targetResourceGroupCondition) {
this.targetResourceGroupCondition = targetResourceGroupCondition;
return this;
}
public RuleContents build() {
return new RuleContents(this);
}
}
}
/**
*
* {@link ListAutoGroupingRulesResponseBody} extends {@link TeaModel}
*
* <p>ListAutoGroupingRulesResponseBody</p>
*/
public static class Rules extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("ExcludeRegionIdsScope")
private String excludeRegionIdsScope;
@com.aliyun.core.annotation.NameInMap("ExcludeResourceGroupIdsScope")
private String excludeResourceGroupIdsScope;
@com.aliyun.core.annotation.NameInMap("ExcludeResourceIdsScope")
private String excludeResourceIdsScope;
@com.aliyun.core.annotation.NameInMap("ExcludeResourceTypesScope")
private String excludeResourceTypesScope;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("RegionIdsScope")
private String regionIdsScope;
@com.aliyun.core.annotation.NameInMap("ResourceGroupIdsScope")
private String resourceGroupIdsScope;
@com.aliyun.core.annotation.NameInMap("ResourceIdsScope")
private String resourceIdsScope;
@com.aliyun.core.annotation.NameInMap("ResourceTypesScope")
private String resourceTypesScope;
@com.aliyun.core.annotation.NameInMap("RuleContents")
private java.util.List<RuleContents> ruleContents;
@com.aliyun.core.annotation.NameInMap("RuleDesc")
private String ruleDesc;
@com.aliyun.core.annotation.NameInMap("RuleId")
private String ruleId;
@com.aliyun.core.annotation.NameInMap("RuleName")
private String ruleName;
@com.aliyun.core.annotation.NameInMap("RuleType")
private String ruleType;
private Rules(Builder builder) {
this.createTime = builder.createTime;
this.excludeRegionIdsScope = builder.excludeRegionIdsScope;
this.excludeResourceGroupIdsScope = builder.excludeResourceGroupIdsScope;
this.excludeResourceIdsScope = builder.excludeResourceIdsScope;
this.excludeResourceTypesScope = builder.excludeResourceTypesScope;
this.modifyTime = builder.modifyTime;
this.regionIdsScope = builder.regionIdsScope;
this.resourceGroupIdsScope = builder.resourceGroupIdsScope;
this.resourceIdsScope = builder.resourceIdsScope;
this.resourceTypesScope = builder.resourceTypesScope;
this.ruleContents = builder.ruleContents;
this.ruleDesc = builder.ruleDesc;
this.ruleId = builder.ruleId;
this.ruleName = builder.ruleName;
this.ruleType = builder.ruleType;
}
public static Builder builder() {
return new Builder();
}
public static Rules create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return excludeRegionIdsScope
*/
public String getExcludeRegionIdsScope() {
return this.excludeRegionIdsScope;
}
/**
* @return excludeResourceGroupIdsScope
*/
public String getExcludeResourceGroupIdsScope() {
return this.excludeResourceGroupIdsScope;
}
/**
* @return excludeResourceIdsScope
*/
public String getExcludeResourceIdsScope() {
return this.excludeResourceIdsScope;
}
/**
* @return excludeResourceTypesScope
*/
public String getExcludeResourceTypesScope() {
return this.excludeResourceTypesScope;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return regionIdsScope
*/
public String getRegionIdsScope() {
return this.regionIdsScope;
}
/**
* @return resourceGroupIdsScope
*/
public String getResourceGroupIdsScope() {
return this.resourceGroupIdsScope;
}
/**
* @return resourceIdsScope
*/
public String getResourceIdsScope() {
return this.resourceIdsScope;
}
/**
* @return resourceTypesScope
*/
public String getResourceTypesScope() {
return this.resourceTypesScope;
}
/**
* @return ruleContents
*/
public java.util.List<RuleContents> getRuleContents() {
return this.ruleContents;
}
/**
* @return ruleDesc
*/
public String getRuleDesc() {
return this.ruleDesc;
}
/**
* @return ruleId
*/
public String getRuleId() {
return this.ruleId;
}
/**
* @return ruleName
*/
public String getRuleName() {
return this.ruleName;
}
/**
* @return ruleType
*/
public String getRuleType() {
return this.ruleType;
}
public static final class Builder {
private String createTime;
private String excludeRegionIdsScope;
private String excludeResourceGroupIdsScope;
private String excludeResourceIdsScope;
private String excludeResourceTypesScope;
private String modifyTime;
private String regionIdsScope;
private String resourceGroupIdsScope;
private String resourceIdsScope;
private String resourceTypesScope;
private java.util.List<RuleContents> ruleContents;
private String ruleDesc;
private String ruleId;
private String ruleName;
private String ruleType;
/**
* <p>The time when the rule was created.</p>
*
* <strong>example:</strong>
* <p>2025-01-01T10:00:00+08:00</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The IDs of excluded regions. Multiple IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou,cn-shanghai</p>
*/
public Builder excludeRegionIdsScope(String excludeRegionIdsScope) {
this.excludeRegionIdsScope = excludeRegionIdsScope;
return this;
}
/**
* <p>The IDs of excluded resource groups. Multiple IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>rg-aekz<strong><strong>ql4b5ea,rg-aek2</strong></strong>akfxykq</p>
*/
public Builder excludeResourceGroupIdsScope(String excludeResourceGroupIdsScope) {
this.excludeResourceGroupIdsScope = excludeResourceGroupIdsScope;
return this;
}
/**
* <p>The IDs of excluded resources. Multiple IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>i-2zee<strong><strong><strong>ym49kfmwis,vpc-5ts6</strong></strong></strong>fnw493g849a</p>
*/
public Builder excludeResourceIdsScope(String excludeResourceIdsScope) {
this.excludeResourceIdsScope = excludeResourceIdsScope;
return this;
}
/**
* <p>The excluded resource types. Multiple resource types are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>ecs.instance,vpc.vpc</p>
*/
public Builder excludeResourceTypesScope(String excludeResourceTypesScope) {
this.excludeResourceTypesScope = excludeResourceTypesScope;
return this;
}
/**
* <p>The time when the rule was updated.</p>
*
* <strong>example:</strong>
* <p>2025-01-01T10:00:00+08:00</p>
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* <p>The IDs of regions. Multiple IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou,cn-shanghai</p>
*/
public Builder regionIdsScope(String regionIdsScope) {
this.regionIdsScope = regionIdsScope;
return this;
}
/**
* <p>The IDs of resource groups. Multiple IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>rg-aekz<strong><strong>ql4b5ea,rg-aek2</strong></strong>akfxykq</p>
*/
public Builder resourceGroupIdsScope(String resourceGroupIdsScope) {
this.resourceGroupIdsScope = resourceGroupIdsScope;
return this;
}
/**
* <p>The IDs of resources. Multiple IDs are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>i-2zee<strong><strong><strong>ym49kfmwis,vpc-5ts6</strong></strong></strong>fnw493g849a</p>
*/
public Builder resourceIdsScope(String resourceIdsScope) {
this.resourceIdsScope = resourceIdsScope;
return this;
}
/**
* <p>The resource types. Multiple resource types are separated by commas (,).</p>
*
* <strong>example:</strong>
* <p>ecs.instance,vpc.vpc</p>
*/
public Builder resourceTypesScope(String resourceTypesScope) {
this.resourceTypesScope = resourceTypesScope;
return this;
}
/**
* <p>The content records of the rule.</p>
*/
public Builder ruleContents(java.util.List<RuleContents> ruleContents) {
this.ruleContents = ruleContents;
return this;
}
/**
* <p>The description of the rule.</p>
*
* <strong>example:</strong>
* <p>Transfer resources to which the {"env": "online"} and {"project": "A"} tags are added to the resource group rg-aek2********qcy.</p>
*/
public Builder ruleDesc(String ruleDesc) {
this.ruleDesc = ruleDesc;
return this;
}
/**
* <p>The ID of the rule.</p>
*
* <strong>example:</strong>
* <p>gr-acfo******hy6a</p>
*/
public Builder ruleId(String ruleId) {
this.ruleId = ruleId;
return this;
}
/**
* <p>The name of the rule.</p>
*
* <strong>example:</strong>
* <p>Custom Transfer Rule for Online Resources of Project A</p>
*/
public Builder ruleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
/**
* <p>The type of the rule. Valid values:</p>
* <ul>
* <li>custom_condition: custom transfer rule</li>
* <li>associated_transfer: transfer rule for associated resources</li>
* </ul>
*
* <strong>example:</strong>
* <p>custom_condition</p>
*/
public Builder ruleType(String ruleType) {
this.ruleType = ruleType;
return this;
}
public Rules build() {
return new Rules(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListControlPoliciesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListControlPoliciesRequest} extends {@link RequestModel}
*
* <p>ListControlPoliciesRequest</p>
*/
public class ListControlPoliciesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Language")
private String language;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
@com.aliyun.core.annotation.Validation(maximum = 200000, minimum = 1)
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(maximum = 100, minimum = 1)
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PolicyType")
private String policyType;
private ListControlPoliciesRequest(Builder builder) {
super(builder);
this.language = builder.language;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.policyType = builder.policyType;
}
public static Builder builder() {
return new Builder();
}
public static ListControlPoliciesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return language
*/
public String getLanguage() {
return this.language;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
public static final class Builder extends Request.Builder<ListControlPoliciesRequest, Builder> {
private String language;
private Integer pageNumber;
private Integer pageSize;
private String policyType;
private Builder() {
super();
}
private Builder(ListControlPoliciesRequest request) {
super(request);
this.language = request.language;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.policyType = request.policyType;
}
/**
* <p>The language in which you want to return the descriptions of the access control policies. Valid values:</p>
* <ul>
* <li>zh-CN (default value): Chinese</li>
* <li>en: English</li>
* <li>ja: Japanese</li>
* </ul>
* <blockquote>
* <p> This parameter is valid only for system access control policies.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>zh-CN</p>
*/
public Builder language(String language) {
this.putQueryParameter("Language", language);
this.language = language;
return this;
}
/**
* <p>The number of the page to return. </p>
* <p>Page start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page. </p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The type of the access control policy. Valid values:</p>
* <ul>
* <li>System: system access control policy</li>
* <li>Custom: custom access control policy</li>
* </ul>
*
* <strong>example:</strong>
* <p>System</p>
*/
public Builder policyType(String policyType) {
this.putQueryParameter("PolicyType", policyType);
this.policyType = policyType;
return this;
}
@Override
public ListControlPoliciesRequest build() {
return new ListControlPoliciesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListControlPoliciesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListControlPoliciesResponse} extends {@link TeaModel}
*
* <p>ListControlPoliciesResponse</p>
*/
public class ListControlPoliciesResponse 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 ListControlPoliciesResponseBody body;
private ListControlPoliciesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListControlPoliciesResponse 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 ListControlPoliciesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListControlPoliciesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListControlPoliciesResponseBody body);
@Override
ListControlPoliciesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListControlPoliciesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListControlPoliciesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListControlPoliciesResponse 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(ListControlPoliciesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListControlPoliciesResponse build() {
return new ListControlPoliciesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListControlPoliciesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListControlPoliciesResponseBody} extends {@link TeaModel}
*
* <p>ListControlPoliciesResponseBody</p>
*/
public class ListControlPoliciesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ControlPolicies")
private ControlPolicies controlPolicies;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private ListControlPoliciesResponseBody(Builder builder) {
this.controlPolicies = builder.controlPolicies;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListControlPoliciesResponseBody create() {
return builder().build();
}
/**
* @return controlPolicies
*/
public ControlPolicies getControlPolicies() {
return this.controlPolicies;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private ControlPolicies controlPolicies;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* <p>The access control policies.</p>
*/
public Builder controlPolicies(ControlPolicies controlPolicies) {
this.controlPolicies = controlPolicies;
return this;
}
/**
* <p>The number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9424A34C-3471-45AD-B6AB-924BBDFE42F9</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The number of access control policies.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListControlPoliciesResponseBody build() {
return new ListControlPoliciesResponseBody(this);
}
}
/**
*
* {@link ListControlPoliciesResponseBody} extends {@link TeaModel}
*
* <p>ListControlPoliciesResponseBody</p>
*/
public static class ControlPolicy extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AttachmentCount")
private String attachmentCount;
@com.aliyun.core.annotation.NameInMap("CreateDate")
private String createDate;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("EffectScope")
private String effectScope;
@com.aliyun.core.annotation.NameInMap("PolicyId")
private String policyId;
@com.aliyun.core.annotation.NameInMap("PolicyName")
private String policyName;
@com.aliyun.core.annotation.NameInMap("PolicyType")
private String policyType;
@com.aliyun.core.annotation.NameInMap("UpdateDate")
private String updateDate;
private ControlPolicy(Builder builder) {
this.attachmentCount = builder.attachmentCount;
this.createDate = builder.createDate;
this.description = builder.description;
this.effectScope = builder.effectScope;
this.policyId = builder.policyId;
this.policyName = builder.policyName;
this.policyType = builder.policyType;
this.updateDate = builder.updateDate;
}
public static Builder builder() {
return new Builder();
}
public static ControlPolicy create() {
return builder().build();
}
/**
* @return attachmentCount
*/
public String getAttachmentCount() {
return this.attachmentCount;
}
/**
* @return createDate
*/
public String getCreateDate() {
return this.createDate;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return effectScope
*/
public String getEffectScope() {
return this.effectScope;
}
/**
* @return policyId
*/
public String getPolicyId() {
return this.policyId;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
/**
* @return updateDate
*/
public String getUpdateDate() {
return this.updateDate;
}
public static final class Builder {
private String attachmentCount;
private String createDate;
private String description;
private String effectScope;
private String policyId;
private String policyName;
private String policyType;
private String updateDate;
/**
* <p>The number of times that the access control policy is referenced.</p>
*
* <strong>example:</strong>
* <p>44</p>
*/
public Builder attachmentCount(String attachmentCount) {
this.attachmentCount = attachmentCount;
return this;
}
/**
* <p>The time when the access control policy was created.</p>
*
* <strong>example:</strong>
* <p>2020-08-05T06:32:24Z</p>
*/
public Builder createDate(String createDate) {
this.createDate = createDate;
return this;
}
/**
* <p>The description of the access control policy.</p>
*
* <strong>example:</strong>
* <p>System access control policy available for all operations on the cloud</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The effective scope of the access control policy. Valid values:</p>
* <ul>
* <li>All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.</li>
* <li>RAM: The access control policy is in effect only for RAM users and RAM roles.</li>
* </ul>
*
* <strong>example:</strong>
* <p>All</p>
*/
public Builder effectScope(String effectScope) {
this.effectScope = effectScope;
return this;
}
/**
* <p>The ID of the access control policy.</p>
*
* <strong>example:</strong>
* <p>cp-FullAliyunAccess</p>
*/
public Builder policyId(String policyId) {
this.policyId = policyId;
return this;
}
/**
* <p>The name of the access control policy.</p>
*
* <strong>example:</strong>
* <p>FullAliyunAccess</p>
*/
public Builder policyName(String policyName) {
this.policyName = policyName;
return this;
}
/**
* <p>The type of the access control policy. Valid values:</p>
* <ul>
* <li>System: system access control policy</li>
* <li>Custom: custom access control policy</li>
* </ul>
*
* <strong>example:</strong>
* <p>System</p>
*/
public Builder policyType(String policyType) {
this.policyType = policyType;
return this;
}
/**
* <p>The time when the access control policy was updated.</p>
*
* <strong>example:</strong>
* <p>2020-08-05T06:32:24Z</p>
*/
public Builder updateDate(String updateDate) {
this.updateDate = updateDate;
return this;
}
public ControlPolicy build() {
return new ControlPolicy(this);
}
}
}
/**
*
* {@link ListControlPoliciesResponseBody} extends {@link TeaModel}
*
* <p>ListControlPoliciesResponseBody</p>
*/
public static class ControlPolicies extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ControlPolicy")
private java.util.List<ControlPolicy> controlPolicy;
private ControlPolicies(Builder builder) {
this.controlPolicy = builder.controlPolicy;
}
public static Builder builder() {
return new Builder();
}
public static ControlPolicies create() {
return builder().build();
}
/**
* @return controlPolicy
*/
public java.util.List<ControlPolicy> getControlPolicy() {
return this.controlPolicy;
}
public static final class Builder {
private java.util.List<ControlPolicy> controlPolicy;
/**
* ControlPolicy.
*/
public Builder controlPolicy(java.util.List<ControlPolicy> controlPolicy) {
this.controlPolicy = controlPolicy;
return this;
}
public ControlPolicies build() {
return new ControlPolicies(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListControlPolicyAttachmentsForTargetRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListControlPolicyAttachmentsForTargetRequest} extends {@link RequestModel}
*
* <p>ListControlPolicyAttachmentsForTargetRequest</p>
*/
public class ListControlPolicyAttachmentsForTargetRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Language")
private String language;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TargetId")
@com.aliyun.core.annotation.Validation(required = true)
private String targetId;
private ListControlPolicyAttachmentsForTargetRequest(Builder builder) {
super(builder);
this.language = builder.language;
this.targetId = builder.targetId;
}
public static Builder builder() {
return new Builder();
}
public static ListControlPolicyAttachmentsForTargetRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return language
*/
public String getLanguage() {
return this.language;
}
/**
* @return targetId
*/
public String getTargetId() {
return this.targetId;
}
public static final class Builder extends Request.Builder<ListControlPolicyAttachmentsForTargetRequest, Builder> {
private String language;
private String targetId;
private Builder() {
super();
}
private Builder(ListControlPolicyAttachmentsForTargetRequest request) {
super(request);
this.language = request.language;
this.targetId = request.targetId;
}
/**
* <p>The language in which you want to return the descriptions of the access control policies. Valid values:</p>
* <ul>
* <li>zh-CN (default value): Chinese</li>
* <li>en: English</li>
* <li>ja: Japanese</li>
* </ul>
* <blockquote>
* <p> This parameter is valid only for system access control policies.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>zh-CN</p>
*/
public Builder language(String language) {
this.putQueryParameter("Language", language);
this.language = language;
return this;
}
/**
* <p>The ID of the object whose access control policies you want to query. Access control policies can be attached to the following objects:</p>
* <ul>
* <li>Root folder</li>
* <li>Subfolders of the Root folder</li>
* <li>Members</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>fd-ZDNPiT****</p>
*/
public Builder targetId(String targetId) {
this.putQueryParameter("TargetId", targetId);
this.targetId = targetId;
return this;
}
@Override
public ListControlPolicyAttachmentsForTargetRequest build() {
return new ListControlPolicyAttachmentsForTargetRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListControlPolicyAttachmentsForTargetResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListControlPolicyAttachmentsForTargetResponse} extends {@link TeaModel}
*
* <p>ListControlPolicyAttachmentsForTargetResponse</p>
*/
public class ListControlPolicyAttachmentsForTargetResponse 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 ListControlPolicyAttachmentsForTargetResponseBody body;
private ListControlPolicyAttachmentsForTargetResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListControlPolicyAttachmentsForTargetResponse 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 ListControlPolicyAttachmentsForTargetResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListControlPolicyAttachmentsForTargetResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListControlPolicyAttachmentsForTargetResponseBody body);
@Override
ListControlPolicyAttachmentsForTargetResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListControlPolicyAttachmentsForTargetResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListControlPolicyAttachmentsForTargetResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListControlPolicyAttachmentsForTargetResponse 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(ListControlPolicyAttachmentsForTargetResponseBody body) {
this.body = body;
return this;
}
@Override
public ListControlPolicyAttachmentsForTargetResponse build() {
return new ListControlPolicyAttachmentsForTargetResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListControlPolicyAttachmentsForTargetResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListControlPolicyAttachmentsForTargetResponseBody} extends {@link TeaModel}
*
* <p>ListControlPolicyAttachmentsForTargetResponseBody</p>
*/
public class ListControlPolicyAttachmentsForTargetResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ControlPolicyAttachments")
private ControlPolicyAttachments controlPolicyAttachments;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListControlPolicyAttachmentsForTargetResponseBody(Builder builder) {
this.controlPolicyAttachments = builder.controlPolicyAttachments;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListControlPolicyAttachmentsForTargetResponseBody create() {
return builder().build();
}
/**
* @return controlPolicyAttachments
*/
public ControlPolicyAttachments getControlPolicyAttachments() {
return this.controlPolicyAttachments;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private ControlPolicyAttachments controlPolicyAttachments;
private String requestId;
/**
* <p>The attached access control policies.</p>
*/
public Builder controlPolicyAttachments(ControlPolicyAttachments controlPolicyAttachments) {
this.controlPolicyAttachments = controlPolicyAttachments;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>C276B600-7B7A-49E8-938C-E16CFA955A82</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListControlPolicyAttachmentsForTargetResponseBody build() {
return new ListControlPolicyAttachmentsForTargetResponseBody(this);
}
}
/**
*
* {@link ListControlPolicyAttachmentsForTargetResponseBody} extends {@link TeaModel}
*
* <p>ListControlPolicyAttachmentsForTargetResponseBody</p>
*/
public static class ControlPolicyAttachment extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AttachDate")
private String attachDate;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("EffectScope")
private String effectScope;
@com.aliyun.core.annotation.NameInMap("PolicyId")
private String policyId;
@com.aliyun.core.annotation.NameInMap("PolicyName")
private String policyName;
@com.aliyun.core.annotation.NameInMap("PolicyType")
private String policyType;
private ControlPolicyAttachment(Builder builder) {
this.attachDate = builder.attachDate;
this.description = builder.description;
this.effectScope = builder.effectScope;
this.policyId = builder.policyId;
this.policyName = builder.policyName;
this.policyType = builder.policyType;
}
public static Builder builder() {
return new Builder();
}
public static ControlPolicyAttachment create() {
return builder().build();
}
/**
* @return attachDate
*/
public String getAttachDate() {
return this.attachDate;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return effectScope
*/
public String getEffectScope() {
return this.effectScope;
}
/**
* @return policyId
*/
public String getPolicyId() {
return this.policyId;
}
/**
* @return policyName
*/
public String getPolicyName() {
return this.policyName;
}
/**
* @return policyType
*/
public String getPolicyType() {
return this.policyType;
}
public static final class Builder {
private String attachDate;
private String description;
private String effectScope;
private String policyId;
private String policyName;
private String policyType;
/**
* <p>The time when the access control policy was attached.</p>
*
* <strong>example:</strong>
* <p>2021-03-19T02:56:24Z</p>
*/
public Builder attachDate(String attachDate) {
this.attachDate = attachDate;
return this;
}
/**
* <p>The description of the access control policy.</p>
*
* <strong>example:</strong>
* <p>ExampleControlPolicy</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The effective scope of the access control policy. Valid values:</p>
* <ul>
* <li>All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.</li>
* <li>RAM: The access control policy is in effect only for RAM users and RAM roles.</li>
* </ul>
*
* <strong>example:</strong>
* <p>RAM</p>
*/
public Builder effectScope(String effectScope) {
this.effectScope = effectScope;
return this;
}
/**
* <p>The ID of the access control policy.</p>
*
* <strong>example:</strong>
* <p>cp-jExXAqIYkwHN****</p>
*/
public Builder policyId(String policyId) {
this.policyId = policyId;
return this;
}
/**
* <p>The name of the access control policy.</p>
*
* <strong>example:</strong>
* <p>ExampleControlPolicy</p>
*/
public Builder policyName(String policyName) {
this.policyName = policyName;
return this;
}
/**
* <p>The type of the access control policy. Valid values:</p>
* <ul>
* <li>System: system access control policy</li>
* <li>Custom: custom access control policy</li>
* </ul>
*
* <strong>example:</strong>
* <p>Custom</p>
*/
public Builder policyType(String policyType) {
this.policyType = policyType;
return this;
}
public ControlPolicyAttachment build() {
return new ControlPolicyAttachment(this);
}
}
}
/**
*
* {@link ListControlPolicyAttachmentsForTargetResponseBody} extends {@link TeaModel}
*
* <p>ListControlPolicyAttachmentsForTargetResponseBody</p>
*/
public static class ControlPolicyAttachments extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ControlPolicyAttachment")
private java.util.List<ControlPolicyAttachment> controlPolicyAttachment;
private ControlPolicyAttachments(Builder builder) {
this.controlPolicyAttachment = builder.controlPolicyAttachment;
}
public static Builder builder() {
return new Builder();
}
public static ControlPolicyAttachments create() {
return builder().build();
}
/**
* @return controlPolicyAttachment
*/
public java.util.List<ControlPolicyAttachment> getControlPolicyAttachment() {
return this.controlPolicyAttachment;
}
public static final class Builder {
private java.util.List<ControlPolicyAttachment> controlPolicyAttachment;
/**
* ControlPolicyAttachment.
*/
public Builder controlPolicyAttachment(java.util.List<ControlPolicyAttachment> controlPolicyAttachment) {
this.controlPolicyAttachment = controlPolicyAttachment;
return this;
}
public ControlPolicyAttachments build() {
return new ControlPolicyAttachments(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListDelegatedAdministratorsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListDelegatedAdministratorsRequest} extends {@link RequestModel}
*
* <p>ListDelegatedAdministratorsRequest</p>
*/
public class ListDelegatedAdministratorsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Long pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Long pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ServicePrincipal")
private String servicePrincipal;
private ListDelegatedAdministratorsRequest(Builder builder) {
super(builder);
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.servicePrincipal = builder.servicePrincipal;
}
public static Builder builder() {
return new Builder();
}
public static ListDelegatedAdministratorsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return pageNumber
*/
public Long getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Long getPageSize() {
return this.pageSize;
}
/**
* @return servicePrincipal
*/
public String getServicePrincipal() {
return this.servicePrincipal;
}
public static final class Builder extends Request.Builder<ListDelegatedAdministratorsRequest, Builder> {
private Long pageNumber;
private Long pageSize;
private String servicePrincipal;
private Builder() {
super();
}
private Builder(ListDelegatedAdministratorsRequest request) {
super(request);
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.servicePrincipal = request.servicePrincipal;
}
/**
* <p>The number of the page to return.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Long pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Long pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The identifier of the trusted service.</p>
* <p>For more information, see the <code>Trusted service identifier</code> column in <a href="https://help.aliyun.com/document_detail/208133.html">Supported trusted services</a>.</p>
*
* <strong>example:</strong>
* <p>cloudfw.aliyuncs.com</p>
*/
public Builder servicePrincipal(String servicePrincipal) {
this.putQueryParameter("ServicePrincipal", servicePrincipal);
this.servicePrincipal = servicePrincipal;
return this;
}
@Override
public ListDelegatedAdministratorsRequest build() {
return new ListDelegatedAdministratorsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListDelegatedAdministratorsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListDelegatedAdministratorsResponse} extends {@link TeaModel}
*
* <p>ListDelegatedAdministratorsResponse</p>
*/
public class ListDelegatedAdministratorsResponse 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 ListDelegatedAdministratorsResponseBody body;
private ListDelegatedAdministratorsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListDelegatedAdministratorsResponse 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 ListDelegatedAdministratorsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListDelegatedAdministratorsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListDelegatedAdministratorsResponseBody body);
@Override
ListDelegatedAdministratorsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListDelegatedAdministratorsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListDelegatedAdministratorsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListDelegatedAdministratorsResponse 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(ListDelegatedAdministratorsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListDelegatedAdministratorsResponse build() {
return new ListDelegatedAdministratorsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListDelegatedAdministratorsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListDelegatedAdministratorsResponseBody} extends {@link TeaModel}
*
* <p>ListDelegatedAdministratorsResponseBody</p>
*/
public class ListDelegatedAdministratorsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Accounts")
private Accounts accounts;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Long pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Long pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Long totalCount;
private ListDelegatedAdministratorsResponseBody(Builder builder) {
this.accounts = builder.accounts;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListDelegatedAdministratorsResponseBody create() {
return builder().build();
}
/**
* @return accounts
*/
public Accounts getAccounts() {
return this.accounts;
}
/**
* @return pageNumber
*/
public Long getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Long getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Long getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Accounts accounts;
private Long pageNumber;
private Long pageSize;
private String requestId;
private Long totalCount;
/**
* <p>The information of the delegated administrator accounts.</p>
*/
public Builder accounts(Accounts accounts) {
this.accounts = accounts;
return this;
}
/**
* <p>The page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Long pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries returned per page.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>009C3A02-7D4B-416C-9CE7-548C91508F1E</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The total number of entries returned.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder totalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public ListDelegatedAdministratorsResponseBody build() {
return new ListDelegatedAdministratorsResponseBody(this);
}
}
/**
*
* {@link ListDelegatedAdministratorsResponseBody} extends {@link TeaModel}
*
* <p>ListDelegatedAdministratorsResponseBody</p>
*/
public static class Account extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountId")
private String accountId;
@com.aliyun.core.annotation.NameInMap("DelegationEnabledTime")
private String delegationEnabledTime;
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("JoinMethod")
private String joinMethod;
@com.aliyun.core.annotation.NameInMap("ServicePrincipal")
private String servicePrincipal;
private Account(Builder builder) {
this.accountId = builder.accountId;
this.delegationEnabledTime = builder.delegationEnabledTime;
this.displayName = builder.displayName;
this.joinMethod = builder.joinMethod;
this.servicePrincipal = builder.servicePrincipal;
}
public static Builder builder() {
return new Builder();
}
public static Account create() {
return builder().build();
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
/**
* @return delegationEnabledTime
*/
public String getDelegationEnabledTime() {
return this.delegationEnabledTime;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return joinMethod
*/
public String getJoinMethod() {
return this.joinMethod;
}
/**
* @return servicePrincipal
*/
public String getServicePrincipal() {
return this.servicePrincipal;
}
public static final class Builder {
private String accountId;
private String delegationEnabledTime;
private String displayName;
private String joinMethod;
private String servicePrincipal;
/**
* <p>The ID of the member.</p>
*
* <strong>example:</strong>
* <p>138660628348****</p>
*/
public Builder accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* <p>The time when the member was specified as a delegated administrator account.</p>
*
* <strong>example:</strong>
* <p>1616652684164</p>
*/
public Builder delegationEnabledTime(String delegationEnabledTime) {
this.delegationEnabledTime = delegationEnabledTime;
return this;
}
/**
* <p>The display name of the member.</p>
*
* <strong>example:</strong>
* <p>abc</p>
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* <p>The way in which the member joins the resource directory. Valid values:</p>
* <ul>
* <li>invited: The member is invited to join the resource directory.</li>
* <li>created: The member is directly created in the resource directory.</li>
* </ul>
*
* <strong>example:</strong>
* <p>created</p>
*/
public Builder joinMethod(String joinMethod) {
this.joinMethod = joinMethod;
return this;
}
/**
* <p>The identifier of the trusted service.</p>
*
* <strong>example:</strong>
* <p>cloudfw.aliyuncs.com</p>
*/
public Builder servicePrincipal(String servicePrincipal) {
this.servicePrincipal = servicePrincipal;
return this;
}
public Account build() {
return new Account(this);
}
}
}
/**
*
* {@link ListDelegatedAdministratorsResponseBody} extends {@link TeaModel}
*
* <p>ListDelegatedAdministratorsResponseBody</p>
*/
public static class Accounts extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Account")
private java.util.List<Account> account;
private Accounts(Builder builder) {
this.account = builder.account;
}
public static Builder builder() {
return new Builder();
}
public static Accounts create() {
return builder().build();
}
/**
* @return account
*/
public java.util.List<Account> getAccount() {
return this.account;
}
public static final class Builder {
private java.util.List<Account> account;
/**
* Account.
*/
public Builder account(java.util.List<Account> account) {
this.account = account;
return this;
}
public Accounts build() {
return new Accounts(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListDelegatedServicesForAccountRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListDelegatedServicesForAccountRequest} extends {@link RequestModel}
*
* <p>ListDelegatedServicesForAccountRequest</p>
*/
public class ListDelegatedServicesForAccountRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AccountId")
@com.aliyun.core.annotation.Validation(required = true)
private String accountId;
private ListDelegatedServicesForAccountRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
}
public static Builder builder() {
return new Builder();
}
public static ListDelegatedServicesForAccountRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accountId
*/
public String getAccountId() {
return this.accountId;
}
public static final class Builder extends Request.Builder<ListDelegatedServicesForAccountRequest, Builder> {
private String accountId;
private Builder() {
super();
}
private Builder(ListDelegatedServicesForAccountRequest request) {
super(request);
this.accountId = request.accountId;
}
/**
* <p>The ID of the member.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>138660628348****</p>
*/
public Builder accountId(String accountId) {
this.putQueryParameter("AccountId", accountId);
this.accountId = accountId;
return this;
}
@Override
public ListDelegatedServicesForAccountRequest build() {
return new ListDelegatedServicesForAccountRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListDelegatedServicesForAccountResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListDelegatedServicesForAccountResponse} extends {@link TeaModel}
*
* <p>ListDelegatedServicesForAccountResponse</p>
*/
public class ListDelegatedServicesForAccountResponse 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 ListDelegatedServicesForAccountResponseBody body;
private ListDelegatedServicesForAccountResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListDelegatedServicesForAccountResponse 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 ListDelegatedServicesForAccountResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListDelegatedServicesForAccountResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListDelegatedServicesForAccountResponseBody body);
@Override
ListDelegatedServicesForAccountResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListDelegatedServicesForAccountResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListDelegatedServicesForAccountResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListDelegatedServicesForAccountResponse 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(ListDelegatedServicesForAccountResponseBody body) {
this.body = body;
return this;
}
@Override
public ListDelegatedServicesForAccountResponse build() {
return new ListDelegatedServicesForAccountResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListDelegatedServicesForAccountResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListDelegatedServicesForAccountResponseBody} extends {@link TeaModel}
*
* <p>ListDelegatedServicesForAccountResponseBody</p>
*/
public class ListDelegatedServicesForAccountResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DelegatedServices")
private DelegatedServices delegatedServices;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ListDelegatedServicesForAccountResponseBody(Builder builder) {
this.delegatedServices = builder.delegatedServices;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ListDelegatedServicesForAccountResponseBody create() {
return builder().build();
}
/**
* @return delegatedServices
*/
public DelegatedServices getDelegatedServices() {
return this.delegatedServices;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private DelegatedServices delegatedServices;
private String requestId;
/**
* <p>The trusted services.</p>
* <blockquote>
* <p> If the value of this parameter is empty, the member is not specified as a delegated administrator account.</p>
* </blockquote>
*/
public Builder delegatedServices(DelegatedServices delegatedServices) {
this.delegatedServices = delegatedServices;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>D9C03B94-9396-4794-A74B-13DC437556A6</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ListDelegatedServicesForAccountResponseBody build() {
return new ListDelegatedServicesForAccountResponseBody(this);
}
}
/**
*
* {@link ListDelegatedServicesForAccountResponseBody} extends {@link TeaModel}
*
* <p>ListDelegatedServicesForAccountResponseBody</p>
*/
public static class DelegatedService extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DelegationEnabledTime")
private String delegationEnabledTime;
@com.aliyun.core.annotation.NameInMap("ServicePrincipal")
private String servicePrincipal;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private DelegatedService(Builder builder) {
this.delegationEnabledTime = builder.delegationEnabledTime;
this.servicePrincipal = builder.servicePrincipal;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static DelegatedService create() {
return builder().build();
}
/**
* @return delegationEnabledTime
*/
public String getDelegationEnabledTime() {
return this.delegationEnabledTime;
}
/**
* @return servicePrincipal
*/
public String getServicePrincipal() {
return this.servicePrincipal;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String delegationEnabledTime;
private String servicePrincipal;
private String status;
/**
* <p>The time when the member was specified as a delegated administrator account of the trusted service.</p>
*
* <strong>example:</strong>
* <p>1616652684164</p>
*/
public Builder delegationEnabledTime(String delegationEnabledTime) {
this.delegationEnabledTime = delegationEnabledTime;
return this;
}
/**
* <p>The identification of the trusted service.</p>
*
* <strong>example:</strong>
* <p>cloudfw.aliyuncs.com</p>
*/
public Builder servicePrincipal(String servicePrincipal) {
this.servicePrincipal = servicePrincipal;
return this;
}
/**
* <p>The status of the trusted service. Valid values:</p>
* <ul>
* <li>ENABLED: enabled</li>
* <li>DISABLED: disabled</li>
* </ul>
*
* <strong>example:</strong>
* <p>ENABLED</p>
*/
public Builder status(String status) {
this.status = status;
return this;
}
public DelegatedService build() {
return new DelegatedService(this);
}
}
}
/**
*
* {@link ListDelegatedServicesForAccountResponseBody} extends {@link TeaModel}
*
* <p>ListDelegatedServicesForAccountResponseBody</p>
*/
public static class DelegatedServices extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DelegatedService")
private java.util.List<DelegatedService> delegatedService;
private DelegatedServices(Builder builder) {
this.delegatedService = builder.delegatedService;
}
public static Builder builder() {
return new Builder();
}
public static DelegatedServices create() {
return builder().build();
}
/**
* @return delegatedService
*/
public java.util.List<DelegatedService> getDelegatedService() {
return this.delegatedService;
}
public static final class Builder {
private java.util.List<DelegatedService> delegatedService;
/**
* DelegatedService.
*/
public Builder delegatedService(java.util.List<DelegatedService> delegatedService) {
this.delegatedService = delegatedService;
return this;
}
public DelegatedServices build() {
return new DelegatedServices(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331 | java-sources/com/aliyun/alibabacloud-resourcemanager20200331/1.0.8/com/aliyun/sdk/service/resourcemanager20200331/models/ListFoldersForParentRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.resourcemanager20200331.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 ListFoldersForParentRequest} extends {@link RequestModel}
*
* <p>ListFoldersForParentRequest</p>
*/
public class ListFoldersForParentRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ParentFolderId")
private String parentFolderId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("QueryKeyword")
private String queryKeyword;
private ListFoldersForParentRequest(Builder builder) {
super(builder);
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.parentFolderId = builder.parentFolderId;
this.queryKeyword = builder.queryKeyword;
}
public static Builder builder() {
return new Builder();
}
public static ListFoldersForParentRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return parentFolderId
*/
public String getParentFolderId() {
return this.parentFolderId;
}
/**
* @return queryKeyword
*/
public String getQueryKeyword() {
return this.queryKeyword;
}
public static final class Builder extends Request.Builder<ListFoldersForParentRequest, Builder> {
private Integer pageNumber;
private Integer pageSize;
private String parentFolderId;
private String queryKeyword;
private Builder() {
super();
}
private Builder(ListFoldersForParentRequest request) {
super(request);
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.parentFolderId = request.parentFolderId;
this.queryKeyword = request.queryKeyword;
}
/**
* <p>The number of the page to return.</p>
* <p>Pages start from page 1. Default value: 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* <p>The number of entries to return on each page.</p>
* <p>Valid values: 1 to 100. Default value: 10.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>The ID of the parent folder.</p>
* <p>If you leave this parameter empty, the information of the first-level subfolders of the Root folder is queried.</p>
*
* <strong>example:</strong>
* <p>r-b1****</p>
*/
public Builder parentFolderId(String parentFolderId) {
this.putQueryParameter("ParentFolderId", parentFolderId);
this.parentFolderId = parentFolderId;
return this;
}
/**
* <p>The keyword used for the query, such as a folder name.</p>
* <p>Fuzzy match is supported.</p>
*
* <strong>example:</strong>
* <p>rdFolder</p>
*/
public Builder queryKeyword(String queryKeyword) {
this.putQueryParameter("QueryKeyword", queryKeyword);
this.queryKeyword = queryKeyword;
return this;
}
@Override
public ListFoldersForParentRequest build() {
return new ListFoldersForParentRequest(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.