All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.emr20210320.models.ConvertNodeGroup Maven / Gradle / Ivy

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 ConvertNodeGroup} extends {@link TeaModel}
 *
 * 

ConvertNodeGroup

*/ public class ConvertNodeGroup extends TeaModel { @com.aliyun.core.annotation.NameInMap("NodeGroupId") private String nodeGroupId; @com.aliyun.core.annotation.NameInMap("PaymentDuration") private Integer paymentDuration; @com.aliyun.core.annotation.NameInMap("PaymentDurationUnit") private String paymentDurationUnit; @com.aliyun.core.annotation.NameInMap("PaymentType") private String paymentType; private ConvertNodeGroup(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 ConvertNodeGroup create() { return builder().build(); } /** * @return nodeGroupId */ public String getNodeGroupId() { return this.nodeGroupId; } /** * @return paymentDuration */ public Integer 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 Integer paymentDuration; private String paymentDurationUnit; private String paymentType; /** * 节点组ID。 */ public Builder nodeGroupId(String nodeGroupId) { this.nodeGroupId = nodeGroupId; return this; } /** * 付费时长。 */ public Builder paymentDuration(Integer paymentDuration) { this.paymentDuration = paymentDuration; return this; } /** * 付费时长单位。 */ public Builder paymentDurationUnit(String paymentDurationUnit) { this.paymentDurationUnit = paymentDurationUnit; return this; } /** * 付费类型。 */ public Builder paymentType(String paymentType) { this.paymentType = paymentType; return this; } public ConvertNodeGroup build() { return new ConvertNodeGroup(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy