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

com.aliyun.sdk.service.iot20180120.models.UpdateProductRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.iot20180120.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link UpdateProductRequest} extends {@link RequestModel}
 *
 * 

UpdateProductRequest

*/ public class UpdateProductRequest extends Request { @Query @NameInMap("Description") private String description; @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("ProductKey") @Validation(required = true) private String productKey; @Query @NameInMap("ProductName") @Validation(required = true) private String productName; private UpdateProductRequest(Builder builder) { super(builder); this.description = builder.description; this.iotInstanceId = builder.iotInstanceId; this.productKey = builder.productKey; this.productName = builder.productName; } public static Builder builder() { return new Builder(); } public static UpdateProductRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return description */ public String getDescription() { return this.description; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return productKey */ public String getProductKey() { return this.productKey; } /** * @return productName */ public String getProductName() { return this.productName; } public static final class Builder extends Request.Builder { private String description; private String iotInstanceId; private String productKey; private String productName; private Builder() { super(); } private Builder(UpdateProductRequest request) { super(request); this.description = request.description; this.iotInstanceId = request.iotInstanceId; this.productKey = request.productKey; this.productName = request.productName; } /** * Description. */ public Builder description(String description) { this.putQueryParameter("Description", description); this.description = description; return this; } /** * IotInstanceId. */ public Builder iotInstanceId(String iotInstanceId) { this.putQueryParameter("IotInstanceId", iotInstanceId); this.iotInstanceId = iotInstanceId; return this; } /** * ProductKey. */ public Builder productKey(String productKey) { this.putQueryParameter("ProductKey", productKey); this.productKey = productKey; return this; } /** * ProductName. */ public Builder productName(String productName) { this.putQueryParameter("ProductName", productName); this.productName = productName; return this; } @Override public UpdateProductRequest build() { return new UpdateProductRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy