com.aliyun.sdk.service.emr20210320.models.DiskSize Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-emr20210320 Show documentation
Show all versions of alibabacloud-emr20210320 Show documentation
Alibaba Cloud Emr (20210320) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.emr20210320.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DiskSize} extends {@link TeaModel}
*
* DiskSize
*/
public class DiskSize extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Category")
@com.aliyun.core.annotation.Validation(required = true)
private String category;
@com.aliyun.core.annotation.NameInMap("Size")
private Integer size;
private DiskSize(Builder builder) {
this.category = builder.category;
this.size = builder.size;
}
public static Builder builder() {
return new Builder();
}
public static DiskSize create() {
return builder().build();
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return size
*/
public Integer getSize() {
return this.size;
}
public static final class Builder {
private String category;
private Integer size;
/**
* 磁盘类型。
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* 单位GB。
*/
public Builder size(Integer size) {
this.size = size;
return this;
}
public DiskSize build() {
return new DiskSize(this);
}
}
}