com.aliyun.sdk.service.ens20171110.models.RemoveInstanceSDGResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.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 RemoveInstanceSDGResponseBody} extends {@link TeaModel}
*
* RemoveInstanceSDGResponseBody
*/
public class RemoveInstanceSDGResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private RemoveInstanceSDGResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static RemoveInstanceSDGResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Integer code;
private Data data;
private String requestId;
/**
* The returned service code. 0 indicates that the request was successful.
*
* example:
* 0
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* The returned data object.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* The request ID.
*
* example:
* 125B04C7-3D0D-4245-AF96-14E3758E3F06
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public RemoveInstanceSDGResponseBody build() {
return new RemoveInstanceSDGResponseBody(this);
}
}
/**
*
* {@link RemoveInstanceSDGResponseBody} extends {@link TeaModel}
*
* RemoveInstanceSDGResponseBody
*/
public static class FailedItems extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ErrMessage")
private String errMessage;
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
private FailedItems(Builder builder) {
this.errMessage = builder.errMessage;
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static FailedItems create() {
return builder().build();
}
/**
* @return errMessage
*/
public String getErrMessage() {
return this.errMessage;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder {
private String errMessage;
private String instanceId;
/**
* The error message that is returned.
*
* example:
* sdg not found
*/
public Builder errMessage(String errMessage) {
this.errMessage = errMessage;
return this;
}
/**
* The ID of the instance.
*
* example:
* aic-xxxxx-0
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public FailedItems build() {
return new FailedItems(this);
}
}
}
/**
*
* {@link RemoveInstanceSDGResponseBody} extends {@link TeaModel}
*
* RemoveInstanceSDGResponseBody
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("FailedCount")
private Long failedCount;
@com.aliyun.core.annotation.NameInMap("FailedItems")
private java.util.List failedItems;
@com.aliyun.core.annotation.NameInMap("SuccessCount")
private Long successCount;
private Result(Builder builder) {
this.failedCount = builder.failedCount;
this.failedItems = builder.failedItems;
this.successCount = builder.successCount;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return failedCount
*/
public Long getFailedCount() {
return this.failedCount;
}
/**
* @return failedItems
*/
public java.util.List getFailedItems() {
return this.failedItems;
}
/**
* @return successCount
*/
public Long getSuccessCount() {
return this.successCount;
}
public static final class Builder {
private Long failedCount;
private java.util.List failedItems;
private Long successCount;
/**
* The number of failed tasks.
*
* example:
* 0
*/
public Builder failedCount(Long failedCount) {
this.failedCount = failedCount;
return this;
}
/**
* Details about the failed tasks.
*/
public Builder failedItems(java.util.List failedItems) {
this.failedItems = failedItems;
return this;
}
/**
* The number of successful tasks.
*
* example:
* 1
*/
public Builder successCount(Long successCount) {
this.successCount = successCount;
return this;
}
public Result build() {
return new Result(this);
}
}
}
/**
*
* {@link RemoveInstanceSDGResponseBody} extends {@link TeaModel}
*
* RemoveInstanceSDGResponseBody
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("Result")
private Result result;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private Data(Builder builder) {
this.message = builder.message;
this.result = builder.result;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return result
*/
public Result getResult() {
return this.result;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String message;
private Result result;
private Boolean success;
/**
* The response message. Success is returned for a successful request.
*
* example:
* success
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* The execution result of the synchronization request.
*/
public Builder result(Result result) {
this.result = result;
return this;
}
/**
* Indicates whether all tasks are successful. Valid values:
*
* - true: All tasks are successful.
* - false: Failed tasks exist.
*
*
* example:
* true
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy