com.aliyun.sdk.service.emr20210320.models.PromotionParam 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 PromotionParam} extends {@link TeaModel}
*
* PromotionParam
*/
public class PromotionParam extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ProductCode")
private String productCode;
@com.aliyun.core.annotation.NameInMap("PromotionOptionCode")
private String promotionOptionCode;
@com.aliyun.core.annotation.NameInMap("PromotionOptionNo")
private String promotionOptionNo;
private PromotionParam(Builder builder) {
this.productCode = builder.productCode;
this.promotionOptionCode = builder.promotionOptionCode;
this.promotionOptionNo = builder.promotionOptionNo;
}
public static Builder builder() {
return new Builder();
}
public static PromotionParam create() {
return builder().build();
}
/**
* @return productCode
*/
public String getProductCode() {
return this.productCode;
}
/**
* @return promotionOptionCode
*/
public String getPromotionOptionCode() {
return this.promotionOptionCode;
}
/**
* @return promotionOptionNo
*/
public String getPromotionOptionNo() {
return this.promotionOptionNo;
}
public static final class Builder {
private String productCode;
private String promotionOptionCode;
private String promotionOptionNo;
/**
* ProductCode.
*/
public Builder productCode(String productCode) {
this.productCode = productCode;
return this;
}
/**
* PromotionOptionCode.
*/
public Builder promotionOptionCode(String promotionOptionCode) {
this.promotionOptionCode = promotionOptionCode;
return this;
}
/**
* PromotionOptionNo.
*/
public Builder promotionOptionNo(String promotionOptionNo) {
this.promotionOptionNo = promotionOptionNo;
return this;
}
public PromotionParam build() {
return new PromotionParam(this);
}
}
}