com.aliyun.sdk.service.iot20180120.models.PublishStudioAppRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-iot20180120 Show documentation
Show all versions of alibabacloud-iot20180120 Show documentation
Alibaba Cloud Iot (20180120) Async SDK for Java
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 PublishStudioAppRequest} extends {@link RequestModel}
*
* PublishStudioAppRequest
*/
public class PublishStudioAppRequest extends Request {
@Body
@NameInMap("AppId")
@Validation(required = true)
private String appId;
@Body
@NameInMap("Description")
private String description;
@Body
@NameInMap("IotInstanceId")
private String iotInstanceId;
@Body
@NameInMap("ProjectId")
@Validation(required = true)
private String projectId;
private PublishStudioAppRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.description = builder.description;
this.iotInstanceId = builder.iotInstanceId;
this.projectId = builder.projectId;
}
public static Builder builder() {
return new Builder();
}
public static PublishStudioAppRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
/**
* @return projectId
*/
public String getProjectId() {
return this.projectId;
}
public static final class Builder extends Request.Builder {
private String appId;
private String description;
private String iotInstanceId;
private String projectId;
private Builder() {
super();
}
private Builder(PublishStudioAppRequest request) {
super(request);
this.appId = request.appId;
this.description = request.description;
this.iotInstanceId = request.iotInstanceId;
this.projectId = request.projectId;
}
/**
* AppId.
*/
public Builder appId(String appId) {
this.putBodyParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.putBodyParameter("Description", description);
this.description = description;
return this;
}
/**
* IotInstanceId.
*/
public Builder iotInstanceId(String iotInstanceId) {
this.putBodyParameter("IotInstanceId", iotInstanceId);
this.iotInstanceId = iotInstanceId;
return this;
}
/**
* ProjectId.
*/
public Builder projectId(String projectId) {
this.putBodyParameter("ProjectId", projectId);
this.projectId = projectId;
return this;
}
@Override
public PublishStudioAppRequest build() {
return new PublishStudioAppRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy