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

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

There is a newer version: 1.0.13
Show newest version
// 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 ApproveOtaTaskRequest} extends {@link RequestModel}
 *
 * 

ApproveOtaTaskRequest

*/ public class ApproveOtaTaskRequest 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("BizRegionId") @com.aliyun.core.annotation.Validation(required = true) private String bizRegionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("OtaType") @com.aliyun.core.annotation.Validation(required = true) private String otaType; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TaskId") @com.aliyun.core.annotation.Validation(required = true) private String taskId; private ApproveOtaTaskRequest(Builder builder) { super(builder); this.appInstanceGroupId = builder.appInstanceGroupId; this.bizRegionId = builder.bizRegionId; this.otaType = builder.otaType; this.startTime = builder.startTime; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static ApproveOtaTaskRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appInstanceGroupId */ public String getAppInstanceGroupId() { return this.appInstanceGroupId; } /** * @return bizRegionId */ public String getBizRegionId() { return this.bizRegionId; } /** * @return otaType */ public String getOtaType() { return this.otaType; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder extends Request.Builder { private String appInstanceGroupId; private String bizRegionId; private String otaType; private String startTime; private String taskId; private Builder() { super(); } private Builder(ApproveOtaTaskRequest request) { super(request); this.appInstanceGroupId = request.appInstanceGroupId; this.bizRegionId = request.bizRegionId; this.otaType = request.otaType; this.startTime = request.startTime; this.taskId = request.taskId; } /** * AppInstanceGroupId. */ public Builder appInstanceGroupId(String appInstanceGroupId) { this.putBodyParameter("AppInstanceGroupId", appInstanceGroupId); this.appInstanceGroupId = appInstanceGroupId; return this; } /** * BizRegionId. */ public Builder bizRegionId(String bizRegionId) { this.putBodyParameter("BizRegionId", bizRegionId); this.bizRegionId = bizRegionId; return this; } /** * OtaType. */ public Builder otaType(String otaType) { this.putBodyParameter("OtaType", otaType); this.otaType = otaType; return this; } /** * StartTime. */ public Builder startTime(String startTime) { this.putBodyParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * TaskId. */ public Builder taskId(String taskId) { this.putBodyParameter("TaskId", taskId); this.taskId = taskId; return this; } @Override public ApproveOtaTaskRequest build() { return new ApproveOtaTaskRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy