com.aliyun.sdk.service.ecs20140526.models.DeleteSnapshotGroupResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-ecs20140526 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.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 DeleteSnapshotGroupResponseBody} extends {@link TeaModel}
*
* DeleteSnapshotGroupResponseBody
*/
public class DeleteSnapshotGroupResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OperationProgressSet")
private OperationProgressSet operationProgressSet;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteSnapshotGroupResponseBody(Builder builder) {
this.operationProgressSet = builder.operationProgressSet;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSnapshotGroupResponseBody create() {
return builder().build();
}
/**
* @return operationProgressSet
*/
public OperationProgressSet getOperationProgressSet() {
return this.operationProgressSet;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private OperationProgressSet operationProgressSet;
private String requestId;
/**
* Details about the delete operation.
*/
public Builder operationProgressSet(OperationProgressSet operationProgressSet) {
this.operationProgressSet = operationProgressSet;
return this;
}
/**
* The ID of the request.
*
* example:
* 6EDE885A-FDC1-4FAE-BC44-6EACAEA6CC6E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteSnapshotGroupResponseBody build() {
return new DeleteSnapshotGroupResponseBody(this);
}
}
/**
*
* {@link DeleteSnapshotGroupResponseBody} extends {@link TeaModel}
*
* DeleteSnapshotGroupResponseBody
*/
public static class RelatedItem extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private RelatedItem(Builder builder) {
this.name = builder.name;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static RelatedItem create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String name;
private String value;
/**
* The name of the resource.
*
* example:
* SnapshotId
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* The ID of the resource.
*
* example:
* s-j6c9lpuyxo2uxxnx****
*/
public Builder value(String value) {
this.value = value;
return this;
}
public RelatedItem build() {
return new RelatedItem(this);
}
}
}
/**
*
* {@link DeleteSnapshotGroupResponseBody} extends {@link TeaModel}
*
* DeleteSnapshotGroupResponseBody
*/
public static class RelatedItemSet extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RelatedItem")
private java.util.List relatedItem;
private RelatedItemSet(Builder builder) {
this.relatedItem = builder.relatedItem;
}
public static Builder builder() {
return new Builder();
}
public static RelatedItemSet create() {
return builder().build();
}
/**
* @return relatedItem
*/
public java.util.List getRelatedItem() {
return this.relatedItem;
}
public static final class Builder {
private java.util.List relatedItem;
/**
* RelatedItem.
*/
public Builder relatedItem(java.util.List relatedItem) {
this.relatedItem = relatedItem;
return this;
}
public RelatedItemSet build() {
return new RelatedItemSet(this);
}
}
}
/**
*
* {@link DeleteSnapshotGroupResponseBody} extends {@link TeaModel}
*
* DeleteSnapshotGroupResponseBody
*/
public static class OperationProgress extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ErrorCode")
private String errorCode;
@com.aliyun.core.annotation.NameInMap("ErrorMsg")
private String errorMsg;
@com.aliyun.core.annotation.NameInMap("OperationStatus")
private String operationStatus;
@com.aliyun.core.annotation.NameInMap("RelatedItemSet")
private RelatedItemSet relatedItemSet;
private OperationProgress(Builder builder) {
this.errorCode = builder.errorCode;
this.errorMsg = builder.errorMsg;
this.operationStatus = builder.operationStatus;
this.relatedItemSet = builder.relatedItemSet;
}
public static Builder builder() {
return new Builder();
}
public static OperationProgress create() {
return builder().build();
}
/**
* @return errorCode
*/
public String getErrorCode() {
return this.errorCode;
}
/**
* @return errorMsg
*/
public String getErrorMsg() {
return this.errorMsg;
}
/**
* @return operationStatus
*/
public String getOperationStatus() {
return this.operationStatus;
}
/**
* @return relatedItemSet
*/
public RelatedItemSet getRelatedItemSet() {
return this.relatedItemSet;
}
public static final class Builder {
private String errorCode;
private String errorMsg;
private String operationStatus;
private RelatedItemSet relatedItemSet;
/**
* The error code. This parameter is empty when the operation is successful.
* For information about error codes and error messages, visit the API error center.
*
* example:
* 400
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* The error message. This parameter is empty when the operation is successful.
* For information about error codes and error messages, visit the API error center.
*
* example:
* testErrorMsg
*/
public Builder errorMsg(String errorMsg) {
this.errorMsg = errorMsg;
return this;
}
/**
* Indicates whether the operation was successful. If the operation was successful, a value of Success is returned. If the operation failed, an error code and an error message are returned.
*
* example:
* Success
*/
public Builder operationStatus(String operationStatus) {
this.operationStatus = operationStatus;
return this;
}
/**
* Details about the resources.
*/
public Builder relatedItemSet(RelatedItemSet relatedItemSet) {
this.relatedItemSet = relatedItemSet;
return this;
}
public OperationProgress build() {
return new OperationProgress(this);
}
}
}
/**
*
* {@link DeleteSnapshotGroupResponseBody} extends {@link TeaModel}
*
* DeleteSnapshotGroupResponseBody
*/
public static class OperationProgressSet extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OperationProgress")
private java.util.List operationProgress;
private OperationProgressSet(Builder builder) {
this.operationProgress = builder.operationProgress;
}
public static Builder builder() {
return new Builder();
}
public static OperationProgressSet create() {
return builder().build();
}
/**
* @return operationProgress
*/
public java.util.List getOperationProgress() {
return this.operationProgress;
}
public static final class Builder {
private java.util.List operationProgress;
/**
* OperationProgress.
*/
public Builder operationProgress(java.util.List operationProgress) {
this.operationProgress = operationProgress;
return this;
}
public OperationProgressSet build() {
return new OperationProgressSet(this);
}
}
}
}