com.aliyun.sdk.service.ecs20140526.models.DescribeSnapshotsUsageResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
The newest version!
// 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 DescribeSnapshotsUsageResponseBody} extends {@link TeaModel}
*
* DescribeSnapshotsUsageResponseBody
*/
public class DescribeSnapshotsUsageResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SnapshotCount")
private Integer snapshotCount;
@com.aliyun.core.annotation.NameInMap("SnapshotSize")
private Long snapshotSize;
private DescribeSnapshotsUsageResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.snapshotCount = builder.snapshotCount;
this.snapshotSize = builder.snapshotSize;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSnapshotsUsageResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return snapshotCount
*/
public Integer getSnapshotCount() {
return this.snapshotCount;
}
/**
* @return snapshotSize
*/
public Long getSnapshotSize() {
return this.snapshotSize;
}
public static final class Builder {
private String requestId;
private Integer snapshotCount;
private Long snapshotSize;
/**
* The request ID.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The number of snapshots stored in the current region.
*
* example:
* 5
*/
public Builder snapshotCount(Integer snapshotCount) {
this.snapshotCount = snapshotCount;
return this;
}
/**
* The total size of snapshots stored in the current region. Unit: bytes.
*
* example:
* 122
*/
public Builder snapshotSize(Long snapshotSize) {
this.snapshotSize = snapshotSize;
return this;
}
public DescribeSnapshotsUsageResponseBody build() {
return new DescribeSnapshotsUsageResponseBody(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy