com.aliyun.sdk.service.ens20171110.models.ResetDeviceInstanceRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ResetDeviceInstanceRequest} extends {@link RequestModel}
*
* ResetDeviceInstanceRequest
*/
public class ResetDeviceInstanceRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppId")
@com.aliyun.core.annotation.Validation(required = true)
private String appId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ImageId")
@com.aliyun.core.annotation.Validation(required = true)
private String imageId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
private ResetDeviceInstanceRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.imageId = builder.imageId;
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static ResetDeviceInstanceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return imageId
*/
public String getImageId() {
return this.imageId;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder extends Request.Builder {
private String appId;
private String imageId;
private String instanceId;
private Builder() {
super();
}
private Builder(ResetDeviceInstanceRequest request) {
super(request);
this.appId = request.appId;
this.imageId = request.imageId;
this.instanceId = request.instanceId;
}
/**
* The ID of the application. To obtain the application ID, call the ListApplications operation. For more information, see the API documentation of ListApplications.
* This parameter is required.
*
* example:
* d0639abf-789a-4527-b420-031d2cd9ad9b
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* The ID of the image.
* This parameter is required.
*
* example:
* m-5si16wo6simkt267p8b7hcmy3
*/
public Builder imageId(String imageId) {
this.putQueryParameter("ImageId", imageId);
this.imageId = imageId;
return this;
}
/**
* The ID of the instance.
* This parameter is required.
*
* example:
* i-5sfdblzjqf3zvjnr7oh0bhhj2
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
@Override
public ResetDeviceInstanceRequest build() {
return new ResetDeviceInstanceRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy