com.aliyun.sdk.service.emr20210320.models.ConvertNodeGroupParam 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 ConvertNodeGroupParam} extends {@link TeaModel}
*
* ConvertNodeGroupParam
*/
public class ConvertNodeGroupParam extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NodeGroupId")
@com.aliyun.core.annotation.Validation(required = true)
private String nodeGroupId;
@com.aliyun.core.annotation.NameInMap("PaymentDuration")
@com.aliyun.core.annotation.Validation(required = true)
private Long paymentDuration;
@com.aliyun.core.annotation.NameInMap("PaymentDurationUnit")
private String paymentDurationUnit;
@com.aliyun.core.annotation.NameInMap("PaymentType")
@com.aliyun.core.annotation.Validation(required = true)
private String paymentType;
private ConvertNodeGroupParam(Builder builder) {
this.nodeGroupId = builder.nodeGroupId;
this.paymentDuration = builder.paymentDuration;
this.paymentDurationUnit = builder.paymentDurationUnit;
this.paymentType = builder.paymentType;
}
public static Builder builder() {
return new Builder();
}
public static ConvertNodeGroupParam create() {
return builder().build();
}
/**
* @return nodeGroupId
*/
public String getNodeGroupId() {
return this.nodeGroupId;
}
/**
* @return paymentDuration
*/
public Long getPaymentDuration() {
return this.paymentDuration;
}
/**
* @return paymentDurationUnit
*/
public String getPaymentDurationUnit() {
return this.paymentDurationUnit;
}
/**
* @return paymentType
*/
public String getPaymentType() {
return this.paymentType;
}
public static final class Builder {
private String nodeGroupId;
private Long paymentDuration;
private String paymentDurationUnit;
private String paymentType;
/**
* NodeGroupId.
*/
public Builder nodeGroupId(String nodeGroupId) {
this.nodeGroupId = nodeGroupId;
return this;
}
/**
* PaymentDuration.
*/
public Builder paymentDuration(Long paymentDuration) {
this.paymentDuration = paymentDuration;
return this;
}
/**
* PaymentDurationUnit.
*/
public Builder paymentDurationUnit(String paymentDurationUnit) {
this.paymentDurationUnit = paymentDurationUnit;
return this;
}
/**
* PaymentType.
*/
public Builder paymentType(String paymentType) {
this.paymentType = paymentType;
return this;
}
public ConvertNodeGroupParam build() {
return new ConvertNodeGroupParam(this);
}
}
}