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

com.aliyun.sdk.service.appstream_center20210901.models.CancelOtaTaskRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.appstream_center20210901.models;

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

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

CancelOtaTaskRequest

*/ public class CancelOtaTaskRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("AppInstanceGroupId") @com.aliyun.core.annotation.Validation(required = true) private String appInstanceGroupId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true) private String taskId; private CancelOtaTaskRequest(Builder builder) { super(builder); this.appInstanceGroupId = builder.appInstanceGroupId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static CancelOtaTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appInstanceGroupId */ public String getAppInstanceGroupId() { return this.appInstanceGroupId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder extends Request.Builder { private String appInstanceGroupId; private String taskId; private Builder() { super(); } private Builder(CancelOtaTaskRequest request) { super(request); this.appInstanceGroupId = request.appInstanceGroupId; this.taskId = request.taskId; } /** * AppInstanceGroupId. */ public Builder appInstanceGroupId(String appInstanceGroupId) { this.putBodyParameter("AppInstanceGroupId", appInstanceGroupId); this.appInstanceGroupId = appInstanceGroupId; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.putBodyParameter("TaskId", taskId); this.taskId = taskId; return this; } @Override public CancelOtaTaskRequest build() { return new CancelOtaTaskRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy