index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ExecuteWorkflowResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ExecuteWorkflowResponse} extends {@link TeaModel} * * <p>ExecuteWorkflowResponse</p> */ public class ExecuteWorkflowResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ExecuteWorkflowResponseBody body; private ExecuteWorkflowResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ExecuteWorkflowResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ExecuteWorkflowResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ExecuteWorkflowResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ExecuteWorkflowResponseBody body); @Override ExecuteWorkflowResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ExecuteWorkflowResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ExecuteWorkflowResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ExecuteWorkflowResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ExecuteWorkflowResponseBody body) { this.body = body; return this; } @Override public ExecuteWorkflowResponse build() { return new ExecuteWorkflowResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ExecuteWorkflowResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ExecuteWorkflowResponseBody} extends {@link TeaModel} * * <p>ExecuteWorkflowResponseBody</p> */ public class ExecuteWorkflowResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ExecuteWorkflowResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ExecuteWorkflowResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ExecuteWorkflowResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>If the request is successful, the ID of the workflow instance is returned.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The error message that is returned only if the corresponding error occurs.</p> * * <strong>example:</strong> * <p>Cannot find product according to your domain.</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>4F68ABED-AC31-4412-9297-D9A8F0401108</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public ExecuteWorkflowResponseBody build() { return new ExecuteWorkflowResponseBody(this); } } /** * * {@link ExecuteWorkflowResponseBody} extends {@link TeaModel} * * <p>ExecuteWorkflowResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("WfInstanceId") private Long wfInstanceId; private Data(Builder builder) { this.wfInstanceId = builder.wfInstanceId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return wfInstanceId */ public Long getWfInstanceId() { return this.wfInstanceId; } public static final class Builder { private Long wfInstanceId; private Builder() { } private Builder(Data model) { this.wfInstanceId = model.wfInstanceId; } /** * <p>The workflow instance ID.</p> * * <strong>example:</strong> * <p>111111</p> */ public Builder wfInstanceId(Long wfInstanceId) { this.wfInstanceId = wfInstanceId; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetAppGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetAppGroupRequest} extends {@link RequestModel} * * <p>GetAppGroupRequest</p> */ public class GetAppGroupRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private GetAppGroupRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.namespace = builder.namespace; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static GetAppGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<GetAppGroupRequest, Builder> { private String groupId; private String namespace; private String regionId; private Builder() { super(); } private Builder(GetAppGroupRequest request) { super(request); this.groupId = request.groupId; this.namespace = request.namespace; this.regionId = request.regionId; } /** * <p>The ID of the application. You can obtain the application ID on the <strong>Application Management</strong> page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The ID of the namespace. You can obtain the ID of the namespace on the <strong>Namespace</strong> page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The ID of the region.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public GetAppGroupRequest build() { return new GetAppGroupRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetAppGroupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetAppGroupResponse} extends {@link TeaModel} * * <p>GetAppGroupResponse</p> */ public class GetAppGroupResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetAppGroupResponseBody body; private GetAppGroupResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetAppGroupResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public GetAppGroupResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetAppGroupResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetAppGroupResponseBody body); @Override GetAppGroupResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetAppGroupResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetAppGroupResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetAppGroupResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(GetAppGroupResponseBody body) { this.body = body; return this; } @Override public GetAppGroupResponse build() { return new GetAppGroupResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetAppGroupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetAppGroupResponseBody} extends {@link TeaModel} * * <p>GetAppGroupResponseBody</p> */ public class GetAppGroupResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetAppGroupResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetAppGroupResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetAppGroupResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code that is returned.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The information about the application group.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The additional information that is returned.</p> * * <strong>example:</strong> * <p>app is not existed, groupId=xxxx, namesapce=xxxx</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>39090022-1F3B-4797-8518-6B61095F1AF0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong>: The request was successful.</li> * <li><strong>false</strong>: The request failed.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetAppGroupResponseBody build() { return new GetAppGroupResponseBody(this); } } /** * * {@link GetAppGroupResponseBody} extends {@link TeaModel} * * <p>GetAppGroupResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppKey") private String appKey; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("AppVersion") private String appVersion; @com.aliyun.core.annotation.NameInMap("CurJobs") private Integer curJobs; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.NameInMap("MaxJobs") private Integer maxJobs; @com.aliyun.core.annotation.NameInMap("MonitorConfigJson") private String monitorConfigJson; @com.aliyun.core.annotation.NameInMap("MonitorContactsJson") private String monitorContactsJson; @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; private Data(Builder builder) { this.appKey = builder.appKey; this.appName = builder.appName; this.appVersion = builder.appVersion; this.curJobs = builder.curJobs; this.description = builder.description; this.groupId = builder.groupId; this.maxJobs = builder.maxJobs; this.monitorConfigJson = builder.monitorConfigJson; this.monitorContactsJson = builder.monitorContactsJson; this.namespace = builder.namespace; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appKey */ public String getAppKey() { return this.appKey; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return appVersion */ public String getAppVersion() { return this.appVersion; } /** * @return curJobs */ public Integer getCurJobs() { return this.curJobs; } /** * @return description */ public String getDescription() { return this.description; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return maxJobs */ public Integer getMaxJobs() { return this.maxJobs; } /** * @return monitorConfigJson */ public String getMonitorConfigJson() { return this.monitorConfigJson; } /** * @return monitorContactsJson */ public String getMonitorContactsJson() { return this.monitorContactsJson; } /** * @return namespace */ public String getNamespace() { return this.namespace; } public static final class Builder { private String appKey; private String appName; private String appVersion; private Integer curJobs; private String description; private String groupId; private Integer maxJobs; private String monitorConfigJson; private String monitorContactsJson; private String namespace; private Builder() { } private Builder(Data model) { this.appKey = model.appKey; this.appName = model.appName; this.appVersion = model.appVersion; this.curJobs = model.curJobs; this.description = model.description; this.groupId = model.groupId; this.maxJobs = model.maxJobs; this.monitorConfigJson = model.monitorConfigJson; this.monitorContactsJson = model.monitorContactsJson; this.namespace = model.namespace; } /** * <p>The AppKey of the application.</p> * * <strong>example:</strong> * <p>QI4lWMZ+xk1rNB67jFUhaw==</p> */ public Builder appKey(String appKey) { this.appKey = appKey; return this; } /** * <p>The name of the application.</p> * * <strong>example:</strong> * <p>DocTest</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * <p>The application version. 1: Basic version, 2: Professional version.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder appVersion(String appVersion) { this.appVersion = appVersion; return this; } /** * <p>The number of jobs that are configured for the application group.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder curJobs(Integer curJobs) { this.curJobs = curJobs; return this; } /** * <p>The description of the application.</p> * * <strong>example:</strong> * <p>Test</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The ID of the application.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.groupId = groupId; return this; } /** * <p>The maximum number of jobs that can be configured for the application group.</p> * * <strong>example:</strong> * <p>1000</p> */ public Builder maxJobs(Integer maxJobs) { this.maxJobs = maxJobs; return this; } /** * <p>The alert notification configurations.</p> * <blockquote> * <p> For more information about this parameter, see the following <strong>additional information about request parameters</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>{&quot;sendChannel&quot;:&quot;sms,mail,ding&quot;}</p> */ public Builder monitorConfigJson(String monitorConfigJson) { this.monitorConfigJson = monitorConfigJson; return this; } /** * <p>The alert contact configurations.</p> * <blockquote> * <p> For more information about this parameter, see the following <strong>additional information about request parameters</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>[ {&quot;name&quot;: &quot;Peter&quot;}, {&quot;name&quot;: &quot;Paul&quot;} ]</p> */ public Builder monitorContactsJson(String monitorContactsJson) { this.monitorContactsJson = monitorContactsJson; return this; } /** * <p>The ID of the namespace.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetJobInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetJobInfoRequest} extends {@link RequestModel} * * <p>GetJobInfoRequest</p> */ public class GetJobInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobId") @com.aliyun.core.annotation.Validation(required = true) private Long jobId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobName") private String jobName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private GetJobInfoRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.jobId = builder.jobId; this.jobName = builder.jobName; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static GetJobInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return jobName */ public String getJobName() { return this.jobName; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<GetJobInfoRequest, Builder> { private String groupId; private Long jobId; private String jobName; private String namespace; private String namespaceSource; private String regionId; private Builder() { super(); } private Builder(GetJobInfoRequest request) { super(request); this.groupId = request.groupId; this.jobId = request.jobId; this.jobName = request.jobName; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; } /** * <p>The application ID. You can obtain the application ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The job ID. You can obtain the job ID on the Task Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>92583</p> */ public Builder jobId(Long jobId) { this.putQueryParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>The job name.</p> * * <strong>example:</strong> * <p>simpleJob</p> */ public Builder jobName(String jobName) { this.putQueryParameter("JobName", jobName); this.jobName = jobName; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The namespace source. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public GetJobInfoRequest build() { return new GetJobInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetJobInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetJobInfoResponse} extends {@link TeaModel} * * <p>GetJobInfoResponse</p> */ public class GetJobInfoResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetJobInfoResponseBody body; private GetJobInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetJobInfoResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public GetJobInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetJobInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetJobInfoResponseBody body); @Override GetJobInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetJobInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetJobInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetJobInfoResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(GetJobInfoResponseBody body) { this.body = body; return this; } @Override public GetJobInfoResponse build() { return new GetJobInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetJobInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetJobInfoResponseBody} extends {@link TeaModel} * * <p>GetJobInfoResponseBody</p> */ public class GetJobInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetJobInfoResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetJobInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetJobInfoResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The details of the job.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The error message returned only if an error occurs.</p> * * <strong>example:</strong> * <p>jobid: 92583 not match groupId: testSchedulerx.defaultGroup</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>4F68ABED-AC31-4412-9297-D9A8F0401108</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the job details were obtained. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetJobInfoResponseBody build() { return new GetJobInfoResponseBody(this); } } /** * * {@link GetJobInfoResponseBody} extends {@link TeaModel} * * <p>GetJobInfoResponseBody</p> */ public static class ContactInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Ding") private String ding; @com.aliyun.core.annotation.NameInMap("UserMail") private String userMail; @com.aliyun.core.annotation.NameInMap("UserName") private String userName; @com.aliyun.core.annotation.NameInMap("UserPhone") private String userPhone; private ContactInfo(Builder builder) { this.ding = builder.ding; this.userMail = builder.userMail; this.userName = builder.userName; this.userPhone = builder.userPhone; } public static Builder builder() { return new Builder(); } public static ContactInfo create() { return builder().build(); } /** * @return ding */ public String getDing() { return this.ding; } /** * @return userMail */ public String getUserMail() { return this.userMail; } /** * @return userName */ public String getUserName() { return this.userName; } /** * @return userPhone */ public String getUserPhone() { return this.userPhone; } public static final class Builder { private String ding; private String userMail; private String userName; private String userPhone; private Builder() { } private Builder(ContactInfo model) { this.ding = model.ding; this.userMail = model.userMail; this.userName = model.userName; this.userPhone = model.userPhone; } /** * <p>The webhook URL of the DingTalk chatbot.</p> * * <strong>example:</strong> * <p><a href="https://oapi.dingtalk.com/robot/send?access_token=XXXXXX">https://oapi.dingtalk.com/robot/send?access_token=XXXXXX</a></p> */ public Builder ding(String ding) { this.ding = ding; return this; } /** * <p>The email address of the alert contact.</p> * * <strong>example:</strong> * <p><a href="mailto:user@demo.com">user@demo.com</a></p> */ public Builder userMail(String userMail) { this.userMail = userMail; return this; } /** * <p>The name of the alert contact.</p> * * <strong>example:</strong> * <p>userA</p> */ public Builder userName(String userName) { this.userName = userName; return this; } /** * <p>The mobile phone number of the alert contact.</p> * * <strong>example:</strong> * <p>1381111****</p> */ public Builder userPhone(String userPhone) { this.userPhone = userPhone; return this; } public ContactInfo build() { return new ContactInfo(this); } } } /** * * {@link GetJobInfoResponseBody} extends {@link TeaModel} * * <p>GetJobInfoResponseBody</p> */ public static class MonitorConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("FailEnable") private Boolean failEnable; @com.aliyun.core.annotation.NameInMap("MissWorkerEnable") private Boolean missWorkerEnable; @com.aliyun.core.annotation.NameInMap("SendChannel") private String sendChannel; @com.aliyun.core.annotation.NameInMap("Timeout") private Long timeout; @com.aliyun.core.annotation.NameInMap("TimeoutEnable") private Boolean timeoutEnable; @com.aliyun.core.annotation.NameInMap("TimeoutKillEnable") private Boolean timeoutKillEnable; private MonitorConfig(Builder builder) { this.failEnable = builder.failEnable; this.missWorkerEnable = builder.missWorkerEnable; this.sendChannel = builder.sendChannel; this.timeout = builder.timeout; this.timeoutEnable = builder.timeoutEnable; this.timeoutKillEnable = builder.timeoutKillEnable; } public static Builder builder() { return new Builder(); } public static MonitorConfig create() { return builder().build(); } /** * @return failEnable */ public Boolean getFailEnable() { return this.failEnable; } /** * @return missWorkerEnable */ public Boolean getMissWorkerEnable() { return this.missWorkerEnable; } /** * @return sendChannel */ public String getSendChannel() { return this.sendChannel; } /** * @return timeout */ public Long getTimeout() { return this.timeout; } /** * @return timeoutEnable */ public Boolean getTimeoutEnable() { return this.timeoutEnable; } /** * @return timeoutKillEnable */ public Boolean getTimeoutKillEnable() { return this.timeoutKillEnable; } public static final class Builder { private Boolean failEnable; private Boolean missWorkerEnable; private String sendChannel; private Long timeout; private Boolean timeoutEnable; private Boolean timeoutKillEnable; private Builder() { } private Builder(MonitorConfig model) { this.failEnable = model.failEnable; this.missWorkerEnable = model.missWorkerEnable; this.sendChannel = model.sendChannel; this.timeout = model.timeout; this.timeoutEnable = model.timeoutEnable; this.timeoutKillEnable = model.timeoutKillEnable; } /** * <p>Indicates whether the Failure alarm switch was turned on. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder failEnable(Boolean failEnable) { this.failEnable = failEnable; return this; } /** * <p>Indicates whether the No machine alarm available switch was turned on.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder missWorkerEnable(Boolean missWorkerEnable) { this.missWorkerEnable = missWorkerEnable; return this; } /** * <p>The method used to send alerts. Only Short Message Service (SMS) is supported.</p> * * <strong>example:</strong> * <p>sms</p> */ public Builder sendChannel(String sendChannel) { this.sendChannel = sendChannel; return this; } /** * <p>The timeout threshold. Default value: 7200. Unit: seconds.</p> * * <strong>example:</strong> * <p>12300</p> */ public Builder timeout(Long timeout) { this.timeout = timeout; return this; } /** * <p>Indicates whether the Timeout alarm switch was turned on. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder timeoutEnable(Boolean timeoutEnable) { this.timeoutEnable = timeoutEnable; return this; } /** * <p>Indicates whether the Timeout termination switch was turned on. The switch is turned off by default.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder timeoutKillEnable(Boolean timeoutKillEnable) { this.timeoutKillEnable = timeoutKillEnable; return this; } public MonitorConfig build() { return new MonitorConfig(this); } } } /** * * {@link GetJobInfoResponseBody} extends {@link TeaModel} * * <p>GetJobInfoResponseBody</p> */ public static class JobMonitorInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContactInfo") private java.util.List<ContactInfo> contactInfo; @com.aliyun.core.annotation.NameInMap("MonitorConfig") private MonitorConfig monitorConfig; private JobMonitorInfo(Builder builder) { this.contactInfo = builder.contactInfo; this.monitorConfig = builder.monitorConfig; } public static Builder builder() { return new Builder(); } public static JobMonitorInfo create() { return builder().build(); } /** * @return contactInfo */ public java.util.List<ContactInfo> getContactInfo() { return this.contactInfo; } /** * @return monitorConfig */ public MonitorConfig getMonitorConfig() { return this.monitorConfig; } public static final class Builder { private java.util.List<ContactInfo> contactInfo; private MonitorConfig monitorConfig; private Builder() { } private Builder(JobMonitorInfo model) { this.contactInfo = model.contactInfo; this.monitorConfig = model.monitorConfig; } /** * <p>The alert contact Information.</p> */ public Builder contactInfo(java.util.List<ContactInfo> contactInfo) { this.contactInfo = contactInfo; return this; } /** * <p>The configurations of the alerting features and the alert thresholds.</p> */ public Builder monitorConfig(MonitorConfig monitorConfig) { this.monitorConfig = monitorConfig; return this; } public JobMonitorInfo build() { return new JobMonitorInfo(this); } } } /** * * {@link GetJobInfoResponseBody} extends {@link TeaModel} * * <p>GetJobInfoResponseBody</p> */ public static class MapTaskXAttrs extends TeaModel { @com.aliyun.core.annotation.NameInMap("ConsumerSize") private Integer consumerSize; @com.aliyun.core.annotation.NameInMap("DispatcherSize") private Integer dispatcherSize; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("QueueSize") private Integer queueSize; @com.aliyun.core.annotation.NameInMap("TaskAttemptInterval") private Integer taskAttemptInterval; @com.aliyun.core.annotation.NameInMap("TaskMaxAttempt") private Integer taskMaxAttempt; private MapTaskXAttrs(Builder builder) { this.consumerSize = builder.consumerSize; this.dispatcherSize = builder.dispatcherSize; this.pageSize = builder.pageSize; this.queueSize = builder.queueSize; this.taskAttemptInterval = builder.taskAttemptInterval; this.taskMaxAttempt = builder.taskMaxAttempt; } public static Builder builder() { return new Builder(); } public static MapTaskXAttrs create() { return builder().build(); } /** * @return consumerSize */ public Integer getConsumerSize() { return this.consumerSize; } /** * @return dispatcherSize */ public Integer getDispatcherSize() { return this.dispatcherSize; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return queueSize */ public Integer getQueueSize() { return this.queueSize; } /** * @return taskAttemptInterval */ public Integer getTaskAttemptInterval() { return this.taskAttemptInterval; } /** * @return taskMaxAttempt */ public Integer getTaskMaxAttempt() { return this.taskMaxAttempt; } public static final class Builder { private Integer consumerSize; private Integer dispatcherSize; private Integer pageSize; private Integer queueSize; private Integer taskAttemptInterval; private Integer taskMaxAttempt; private Builder() { } private Builder(MapTaskXAttrs model) { this.consumerSize = model.consumerSize; this.dispatcherSize = model.dispatcherSize; this.pageSize = model.pageSize; this.queueSize = model.queueSize; this.taskAttemptInterval = model.taskAttemptInterval; this.taskMaxAttempt = model.taskMaxAttempt; } /** * <p>The number of threads that were triggered by a single worker at a time. Default value: 5.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder consumerSize(Integer consumerSize) { this.consumerSize = consumerSize; return this; } /** * <p>The number of task distribution threads. Default value: 5.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder dispatcherSize(Integer dispatcherSize) { this.dispatcherSize = dispatcherSize; return this; } /** * <p>The number of tasks that were pulled by a parallel job at a time. Default value: 100.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The maximum number of tasks that can be queued. Default value: 10000.</p> * * <strong>example:</strong> * <p>10000</p> */ public Builder queueSize(Integer queueSize) { this.queueSize = queueSize; return this; } /** * <p>The interval at which the system retried to run the task after a task failure.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder taskAttemptInterval(Integer taskAttemptInterval) { this.taskAttemptInterval = taskAttemptInterval; return this; } /** * <p>The number of retries after a task failure.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder taskMaxAttempt(Integer taskMaxAttempt) { this.taskMaxAttempt = taskMaxAttempt; return this; } public MapTaskXAttrs build() { return new MapTaskXAttrs(this); } } } /** * * {@link GetJobInfoResponseBody} extends {@link TeaModel} * * <p>GetJobInfoResponseBody</p> */ public static class TimeConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("Calendar") private String calendar; @com.aliyun.core.annotation.NameInMap("DataOffset") private Integer dataOffset; @com.aliyun.core.annotation.NameInMap("TimeExpression") private String timeExpression; @com.aliyun.core.annotation.NameInMap("TimeType") private Integer timeType; private TimeConfig(Builder builder) { this.calendar = builder.calendar; this.dataOffset = builder.dataOffset; this.timeExpression = builder.timeExpression; this.timeType = builder.timeType; } public static Builder builder() { return new Builder(); } public static TimeConfig create() { return builder().build(); } /** * @return calendar */ public String getCalendar() { return this.calendar; } /** * @return dataOffset */ public Integer getDataOffset() { return this.dataOffset; } /** * @return timeExpression */ public String getTimeExpression() { return this.timeExpression; } /** * @return timeType */ public Integer getTimeType() { return this.timeType; } public static final class Builder { private String calendar; private Integer dataOffset; private String timeExpression; private Integer timeType; private Builder() { } private Builder(TimeConfig model) { this.calendar = model.calendar; this.dataOffset = model.dataOffset; this.timeExpression = model.timeExpression; this.timeType = model.timeType; } /** * <p>Custom calendar days specified if TimeType is set to <strong>1</strong> (cron).</p> * * <strong>example:</strong> * <p>Business days</p> */ public Builder calendar(String calendar) { this.calendar = calendar; return this; } /** * <p>The time offset specified if TimeType is set to <strong>1</strong> (cron). Unit: seconds.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder dataOffset(Integer dataOffset) { this.dataOffset = dataOffset; return this; } /** * <p>The time expression specified based on the value of TimeType:</p> * <ul> * <li>If TimeType is set to <strong>100</strong> (api), no time expression is required.</li> * <li>If TimeType is set to <strong>3</strong> (fix_rate), this parameter value indicates the specific and fixed frequency. For example, if the value is 30, the system triggers a job every 30 seconds.</li> * <li>If TimeType is set to <strong>1</strong> (cron), this parameter value indicates the standard CRON expression used to specify the time when to schedule the job.</li> * <li>If TimeType is set to <strong>4</strong> (second_delay), this parameter value indicates the fixed delay after which the job is triggered. Valid values: 1 to 60. Unit: seconds.</li> * </ul> * * <strong>example:</strong> * <p>0 0/10 * * * ?</p> */ public Builder timeExpression(String timeExpression) { this.timeExpression = timeExpression; return this; } /** * <p>The time type. Valid values:</p> * <ul> * <li><strong>1</strong>: cron</li> * <li><strong>3</strong>: fix_rate</li> * <li><strong>4</strong>: second_delay</li> * <li><strong>5</strong>: one_time</li> * <li><strong>100</strong>: api</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder timeType(Integer timeType) { this.timeType = timeType; return this; } public TimeConfig build() { return new TimeConfig(this); } } } /** * * {@link GetJobInfoResponseBody} extends {@link TeaModel} * * <p>GetJobInfoResponseBody</p> */ public static class JobConfigInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("AttemptInterval") private Integer attemptInterval; @com.aliyun.core.annotation.NameInMap("ClassName") private String className; @com.aliyun.core.annotation.NameInMap("Content") private String content; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("ExecuteMode") private String executeMode; @com.aliyun.core.annotation.NameInMap("JarUrl") private String jarUrl; @com.aliyun.core.annotation.NameInMap("JobId") private Long jobId; @com.aliyun.core.annotation.NameInMap("JobMonitorInfo") private JobMonitorInfo jobMonitorInfo; @com.aliyun.core.annotation.NameInMap("JobType") private String jobType; @com.aliyun.core.annotation.NameInMap("MapTaskXAttrs") private MapTaskXAttrs mapTaskXAttrs; @com.aliyun.core.annotation.NameInMap("MaxAttempt") private Integer maxAttempt; @com.aliyun.core.annotation.NameInMap("MaxConcurrency") private String maxConcurrency; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Parameters") private String parameters; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("TimeConfig") private TimeConfig timeConfig; @com.aliyun.core.annotation.NameInMap("XAttrs") private String xAttrs; private JobConfigInfo(Builder builder) { this.attemptInterval = builder.attemptInterval; this.className = builder.className; this.content = builder.content; this.description = builder.description; this.executeMode = builder.executeMode; this.jarUrl = builder.jarUrl; this.jobId = builder.jobId; this.jobMonitorInfo = builder.jobMonitorInfo; this.jobType = builder.jobType; this.mapTaskXAttrs = builder.mapTaskXAttrs; this.maxAttempt = builder.maxAttempt; this.maxConcurrency = builder.maxConcurrency; this.name = builder.name; this.parameters = builder.parameters; this.status = builder.status; this.timeConfig = builder.timeConfig; this.xAttrs = builder.xAttrs; } public static Builder builder() { return new Builder(); } public static JobConfigInfo create() { return builder().build(); } /** * @return attemptInterval */ public Integer getAttemptInterval() { return this.attemptInterval; } /** * @return className */ public String getClassName() { return this.className; } /** * @return content */ public String getContent() { return this.content; } /** * @return description */ public String getDescription() { return this.description; } /** * @return executeMode */ public String getExecuteMode() { return this.executeMode; } /** * @return jarUrl */ public String getJarUrl() { return this.jarUrl; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return jobMonitorInfo */ public JobMonitorInfo getJobMonitorInfo() { return this.jobMonitorInfo; } /** * @return jobType */ public String getJobType() { return this.jobType; } /** * @return mapTaskXAttrs */ public MapTaskXAttrs getMapTaskXAttrs() { return this.mapTaskXAttrs; } /** * @return maxAttempt */ public Integer getMaxAttempt() { return this.maxAttempt; } /** * @return maxConcurrency */ public String getMaxConcurrency() { return this.maxConcurrency; } /** * @return name */ public String getName() { return this.name; } /** * @return parameters */ public String getParameters() { return this.parameters; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return timeConfig */ public TimeConfig getTimeConfig() { return this.timeConfig; } /** * @return xAttrs */ public String getXAttrs() { return this.xAttrs; } public static final class Builder { private Integer attemptInterval; private String className; private String content; private String description; private String executeMode; private String jarUrl; private Long jobId; private JobMonitorInfo jobMonitorInfo; private String jobType; private MapTaskXAttrs mapTaskXAttrs; private Integer maxAttempt; private String maxConcurrency; private String name; private String parameters; private Integer status; private TimeConfig timeConfig; private String xAttrs; private Builder() { } private Builder(JobConfigInfo model) { this.attemptInterval = model.attemptInterval; this.className = model.className; this.content = model.content; this.description = model.description; this.executeMode = model.executeMode; this.jarUrl = model.jarUrl; this.jobId = model.jobId; this.jobMonitorInfo = model.jobMonitorInfo; this.jobType = model.jobType; this.mapTaskXAttrs = model.mapTaskXAttrs; this.maxAttempt = model.maxAttempt; this.maxConcurrency = model.maxConcurrency; this.name = model.name; this.parameters = model.parameters; this.status = model.status; this.timeConfig = model.timeConfig; this.xAttrs = model.xAttrs; } /** * <p>The interval at which the system retried to run the job after a job failure. Default value: 30. Unit: seconds.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder attemptInterval(Integer attemptInterval) { this.attemptInterval = attemptInterval; return this; } /** * <p>The full path of the job interface class. This parameter is returned only for jobs whose job type is Java.</p> * * <strong>example:</strong> * <p>com.alibaba.test.helloword</p> */ public Builder className(String className) { this.className = className; return this; } /** * <p>The script of a script job.</p> * * <strong>example:</strong> * <p>echo &quot;clear&quot; &gt; /home/admin/edas-container/logs/catalina.out</p> */ public Builder content(String content) { this.content = content; return this; } /** * <p>The description of the job.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The execution mode of the job. Valid values:</p> * <ul> * <li><strong>Stand-alone operation</strong>: standalone</li> * <li><strong>Broadcast run</strong>: broadcast</li> * <li><strong>Visual MapReduce</strong>: parallel</li> * <li><strong>MapReduce</strong>: batch</li> * <li><strong>Shard run</strong>: sharding</li> * </ul> * * <strong>example:</strong> * <p>standalone</p> */ public Builder executeMode(String executeMode) { this.executeMode = executeMode; return this; } /** * <p>The full path used to upload files to Object Storage Service (OSS).</p> * <p>If you use a JAR package, you can upload the JAR package to this OSS path.</p> * * <strong>example:</strong> * <p><a href="https://test.oss-cn-hangzhou.aliyuncs.com/schedulerX/test.jar">https://test.oss-cn-hangzhou.aliyuncs.com/schedulerX/test.jar</a></p> */ public Builder jarUrl(String jarUrl) { this.jarUrl = jarUrl; return this; } /** * <p>The job ID.</p> * * <strong>example:</strong> * <p>538039</p> */ public Builder jobId(Long jobId) { this.jobId = jobId; return this; } /** * <p>The monitoring information of the job.</p> */ public Builder jobMonitorInfo(JobMonitorInfo jobMonitorInfo) { this.jobMonitorInfo = jobMonitorInfo; return this; } /** * <p>The job type.</p> * * <strong>example:</strong> * <p>java</p> */ public Builder jobType(String jobType) { this.jobType = jobType; return this; } /** * <p>The advanced configurations of the job.</p> */ public Builder mapTaskXAttrs(MapTaskXAttrs mapTaskXAttrs) { this.mapTaskXAttrs = mapTaskXAttrs; return this; } /** * <p>The maximum number of retries after a job failure. This parameter was specified based on your business requirements. Default value: 0.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder maxAttempt(Integer maxAttempt) { this.maxAttempt = maxAttempt; return this; } /** * <p>The maximum number of concurrent instances. Default value: 1. The default value indicates that if the last triggered instance is running, the next instance is not triggered even if the scheduled point in time for running the next instance is reached.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder maxConcurrency(String maxConcurrency) { this.maxConcurrency = maxConcurrency; return this; } /** * <p>The job name.</p> * * <strong>example:</strong> * <p>helloworld</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The user-defined parameters that you can obtain when the job is running.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder parameters(String parameters) { this.parameters = parameters; return this; } /** * <p>Indicates whether the job was enabled. Valid values:</p> * <ul> * <li><strong>1</strong>: The job was enabled and could be triggered.</li> * <li><strong>0</strong>: The job was disabled and could not be triggered.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The time configurations.</p> */ public Builder timeConfig(TimeConfig timeConfig) { this.timeConfig = timeConfig; return this; } /** * <p>The extended fields.</p> * * <strong>example:</strong> * <p>{&quot;pageSize&quot;:5,&quot;queueSize&quot;:10,&quot;consumerSize&quot;:5,&quot;dispatcherSize&quot;:5,&quot;taskMaxAttempt&quot;:0,&quot;taskAttemptInterval&quot;:0,&quot;globalConsumerSize&quot;:1000,&quot;taskDispatchMode&quot;:&quot;push&quot;}</p> */ public Builder xAttrs(String xAttrs) { this.xAttrs = xAttrs; return this; } public JobConfigInfo build() { return new JobConfigInfo(this); } } } /** * * {@link GetJobInfoResponseBody} extends {@link TeaModel} * * <p>GetJobInfoResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("JobConfigInfo") private JobConfigInfo jobConfigInfo; private Data(Builder builder) { this.jobConfigInfo = builder.jobConfigInfo; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return jobConfigInfo */ public JobConfigInfo getJobConfigInfo() { return this.jobConfigInfo; } public static final class Builder { private JobConfigInfo jobConfigInfo; private Builder() { } private Builder(Data model) { this.jobConfigInfo = model.jobConfigInfo; } /** * <p>The configurations of the job.</p> */ public Builder jobConfigInfo(JobConfigInfo jobConfigInfo) { this.jobConfigInfo = jobConfigInfo; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetJobInstanceListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetJobInstanceListRequest} extends {@link RequestModel} * * <p>GetJobInstanceListRequest</p> */ public class GetJobInstanceListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTimestamp") private Long endTimestamp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobId") private Long jobId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNum") private Integer pageNum; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTimestamp") private Long startTimestamp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private GetJobInstanceListRequest(Builder builder) { super(builder); this.endTimestamp = builder.endTimestamp; this.groupId = builder.groupId; this.jobId = builder.jobId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.pageNum = builder.pageNum; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.startTimestamp = builder.startTimestamp; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static GetJobInstanceListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return endTimestamp */ public Long getEndTimestamp() { return this.endTimestamp; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return pageNum */ public Integer getPageNum() { return this.pageNum; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return startTimestamp */ public Long getStartTimestamp() { return this.startTimestamp; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder extends Request.Builder<GetJobInstanceListRequest, Builder> { private Long endTimestamp; private String groupId; private Long jobId; private String namespace; private String namespaceSource; private Integer pageNum; private Integer pageSize; private String regionId; private Long startTimestamp; private Integer status; private Builder() { super(); } private Builder(GetJobInstanceListRequest request) { super(request); this.endTimestamp = request.endTimestamp; this.groupId = request.groupId; this.jobId = request.jobId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.pageNum = request.pageNum; this.pageSize = request.pageSize; this.regionId = request.regionId; this.startTimestamp = request.startTimestamp; this.status = request.status; } /** * <p>The end of the time range to query. Specify a UNIX timestamp.</p> * * <strong>example:</strong> * <p>1684202400000</p> */ public Builder endTimestamp(Long endTimestamp) { this.putQueryParameter("EndTimestamp", endTimestamp); this.endTimestamp = endTimestamp; return this; } /** * <p>The application group ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The job ID.</p> * * <strong>example:</strong> * <p>92583</p> */ public Builder jobId(Long jobId) { this.putQueryParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the <strong>Namespace</strong> page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The page number. Default value: 1.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNum(Integer pageNum) { this.putQueryParameter("PageNum", pageNum); this.pageNum = pageNum; return this; } /** * <p>The number of entries per page. Default value: 10.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The beginning of the time range to query. Specify a UNIX timestamp.</p> * * <strong>example:</strong> * <p>1684116000000</p> */ public Builder startTimestamp(Long startTimestamp) { this.putQueryParameter("StartTimestamp", startTimestamp); this.startTimestamp = startTimestamp; return this; } /** * <p>The status of the job instance. Valid values:</p> * <p>1: The job instance is pending. 3: The job instance is running. 4: The job instance is run. 5: The job instance fails. 9: The request for running the job instance is rejected. To specify this parameter, you must declare the following enumeration class: com.alibaba.schedulerx.common.domain.InstanceStatus.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder status(Integer status) { this.putQueryParameter("Status", status); this.status = status; return this; } @Override public GetJobInstanceListRequest build() { return new GetJobInstanceListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetJobInstanceListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetJobInstanceListResponse} extends {@link TeaModel} * * <p>GetJobInstanceListResponse</p> */ public class GetJobInstanceListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetJobInstanceListResponseBody body; private GetJobInstanceListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetJobInstanceListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public GetJobInstanceListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetJobInstanceListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetJobInstanceListResponseBody body); @Override GetJobInstanceListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetJobInstanceListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetJobInstanceListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetJobInstanceListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(GetJobInstanceListResponseBody body) { this.body = body; return this; } @Override public GetJobInstanceListResponse build() { return new GetJobInstanceListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetJobInstanceListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetJobInstanceListResponseBody} extends {@link TeaModel} * * <p>GetJobInstanceListResponseBody</p> */ public class GetJobInstanceListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetJobInstanceListResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetJobInstanceListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetJobInstanceListResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The information about the job instances.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The error message that is returned only if the corresponding error occurs.</p> * * <strong>example:</strong> * <p>jobid: 92583 not match groupId: testSchedulerx.defaultGroup</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>4F68ABED-AC31-4412-9297-D9A8F0401108</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetJobInstanceListResponseBody build() { return new GetJobInstanceListResponseBody(this); } } /** * * {@link GetJobInstanceListResponseBody} extends {@link TeaModel} * * <p>GetJobInstanceListResponseBody</p> */ public static class JobInstanceDetails extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataTime") private String dataTime; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("Executor") private String executor; @com.aliyun.core.annotation.NameInMap("InstanceId") private Long instanceId; @com.aliyun.core.annotation.NameInMap("JobId") private Long jobId; @com.aliyun.core.annotation.NameInMap("Progress") private String progress; @com.aliyun.core.annotation.NameInMap("Result") private String result; @com.aliyun.core.annotation.NameInMap("ScheduleTime") private String scheduleTime; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("TimeType") private Integer timeType; @com.aliyun.core.annotation.NameInMap("TriggerType") private Integer triggerType; @com.aliyun.core.annotation.NameInMap("WorkAddr") private String workAddr; private JobInstanceDetails(Builder builder) { this.dataTime = builder.dataTime; this.endTime = builder.endTime; this.executor = builder.executor; this.instanceId = builder.instanceId; this.jobId = builder.jobId; this.progress = builder.progress; this.result = builder.result; this.scheduleTime = builder.scheduleTime; this.startTime = builder.startTime; this.status = builder.status; this.timeType = builder.timeType; this.triggerType = builder.triggerType; this.workAddr = builder.workAddr; } public static Builder builder() { return new Builder(); } public static JobInstanceDetails create() { return builder().build(); } /** * @return dataTime */ public String getDataTime() { return this.dataTime; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return executor */ public String getExecutor() { return this.executor; } /** * @return instanceId */ public Long getInstanceId() { return this.instanceId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return result */ public String getResult() { return this.result; } /** * @return scheduleTime */ public String getScheduleTime() { return this.scheduleTime; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return timeType */ public Integer getTimeType() { return this.timeType; } /** * @return triggerType */ public Integer getTriggerType() { return this.triggerType; } /** * @return workAddr */ public String getWorkAddr() { return this.workAddr; } public static final class Builder { private String dataTime; private String endTime; private String executor; private Long instanceId; private Long jobId; private String progress; private String result; private String scheduleTime; private String startTime; private Integer status; private Integer timeType; private Integer triggerType; private String workAddr; private Builder() { } private Builder(JobInstanceDetails model) { this.dataTime = model.dataTime; this.endTime = model.endTime; this.executor = model.executor; this.instanceId = model.instanceId; this.jobId = model.jobId; this.progress = model.progress; this.result = model.result; this.scheduleTime = model.scheduleTime; this.startTime = model.startTime; this.status = model.status; this.timeType = model.timeType; this.triggerType = model.triggerType; this.workAddr = model.workAddr; } /** * <p>The data timestamp of the job instance.</p> * * <strong>example:</strong> * <p>2020-07-27 11:52:10</p> */ public Builder dataTime(String dataTime) { this.dataTime = dataTime; return this; } /** * <p>The end time of the job execution.</p> * * <strong>example:</strong> * <p>2020-07-27 11:52:10</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The user who executes the job.</p> * * <strong>example:</strong> * <p>A</p> */ public Builder executor(String executor) { this.executor = executor; return this; } /** * <p>The job instance ID.</p> * * <strong>example:</strong> * <p>11111111</p> */ public Builder instanceId(Long instanceId) { this.instanceId = instanceId; return this; } /** * <p>The job ID.</p> * * <strong>example:</strong> * <p>92583</p> */ public Builder jobId(Long jobId) { this.jobId = jobId; return this; } /** * <p>The progress of the job instance.</p> * * <strong>example:</strong> * <p>complete</p> */ public Builder progress(String progress) { this.progress = progress; return this; } /** * <p>The execution results of the job instance.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder result(String result) { this.result = result; return this; } /** * <p>The time when the job was scheduled to run.</p> * * <strong>example:</strong> * <p>2020-07-27 11:52:10</p> */ public Builder scheduleTime(String scheduleTime) { this.scheduleTime = scheduleTime; return this; } /** * <p>The start time of the job execution.</p> * * <strong>example:</strong> * <p>2020-07-27 11:52:10</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The state of the job instance. Valid values:</p> * <ul> * <li><strong>1</strong>: The job instance is waiting for execution.</li> * <li><strong>3</strong>: The job instance is running.</li> * <li><strong>4</strong>: The job instance is successful.</li> * <li><strong>5</strong>: The job instance failed.</li> * <li><strong>9</strong>: The job instance is rejected.</li> * </ul> * <p>Enumeration class: com.alibaba.schedulerx.common.domain.InstanceStatus</p> * * <strong>example:</strong> * <p>4</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The method that is used to specify the time when to schedule the job instance. Valid values:</p> * <ul> * <li><strong>1</strong>: cron</li> * <li><strong>3</strong>: fix_rate</li> * <li><strong>4</strong>: second_delay</li> * <li><strong>100</strong>: api</li> * </ul> * <p>Enumeration class: com.alibaba.schedulerx.common.domain.TimeType</p> * * <strong>example:</strong> * <p>1</p> */ public Builder timeType(Integer timeType) { this.timeType = timeType; return this; } /** * <p>The trigger type of the job instance. Valid values:</p> * <ul> * <li><strong>1</strong>: The job instance was triggered at the scheduled time.</li> * <li><strong>2</strong>: The job instance was triggered due to data updates.</li> * <li><strong>3</strong>: The job instance was triggered by an API call.</li> * <li><strong>4</strong>: The job instance was triggered because it is manually rerun.</li> * <li><strong>5</strong>: The job instance was triggered because the system automatically reruns the job instance upon a system exception, such as a database exception.</li> * </ul> * <p>Enumeration class: com.alibaba.schedulerx.common.domain.TriggerType</p> * * <strong>example:</strong> * <p>3</p> */ public Builder triggerType(Integer triggerType) { this.triggerType = triggerType; return this; } /** * <p>The endpoint of the triggered client. The value is in the IP address:Port number format.</p> * * <strong>example:</strong> * <p>192.168.0.0:16</p> */ public Builder workAddr(String workAddr) { this.workAddr = workAddr; return this; } public JobInstanceDetails build() { return new JobInstanceDetails(this); } } } /** * * {@link GetJobInstanceListResponseBody} extends {@link TeaModel} * * <p>GetJobInstanceListResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("JobInstanceDetails") private java.util.List<JobInstanceDetails> jobInstanceDetails; private Data(Builder builder) { this.jobInstanceDetails = builder.jobInstanceDetails; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return jobInstanceDetails */ public java.util.List<JobInstanceDetails> getJobInstanceDetails() { return this.jobInstanceDetails; } public static final class Builder { private java.util.List<JobInstanceDetails> jobInstanceDetails; private Builder() { } private Builder(Data model) { this.jobInstanceDetails = model.jobInstanceDetails; } /** * <p>The details of the job instance.</p> */ public Builder jobInstanceDetails(java.util.List<JobInstanceDetails> jobInstanceDetails) { this.jobInstanceDetails = jobInstanceDetails; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetJobInstanceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetJobInstanceRequest} extends {@link RequestModel} * * <p>GetJobInstanceRequest</p> */ public class GetJobInstanceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobId") @com.aliyun.core.annotation.Validation(required = true) private Long jobId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobInstanceId") @com.aliyun.core.annotation.Validation(required = true) private Long jobInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private GetJobInstanceRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.jobId = builder.jobId; this.jobInstanceId = builder.jobInstanceId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static GetJobInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return jobInstanceId */ public Long getJobInstanceId() { return this.jobInstanceId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<GetJobInstanceRequest, Builder> { private String groupId; private Long jobId; private Long jobInstanceId; private String namespace; private String namespaceSource; private String regionId; private Builder() { super(); } private Builder(GetJobInstanceRequest request) { super(request); this.groupId = request.groupId; this.jobId = request.jobId; this.jobInstanceId = request.jobInstanceId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; } /** * <p>The application ID. You can obtain the application ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The job ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>92583</p> */ public Builder jobId(Long jobId) { this.putQueryParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>The job instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>11111111</p> */ public Builder jobInstanceId(Long jobInstanceId) { this.putQueryParameter("JobInstanceId", jobInstanceId); this.jobInstanceId = jobInstanceId; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public GetJobInstanceRequest build() { return new GetJobInstanceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetJobInstanceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetJobInstanceResponse} extends {@link TeaModel} * * <p>GetJobInstanceResponse</p> */ public class GetJobInstanceResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetJobInstanceResponseBody body; private GetJobInstanceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetJobInstanceResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public GetJobInstanceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetJobInstanceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetJobInstanceResponseBody body); @Override GetJobInstanceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetJobInstanceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetJobInstanceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetJobInstanceResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(GetJobInstanceResponseBody body) { this.body = body; return this; } @Override public GetJobInstanceResponse build() { return new GetJobInstanceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetJobInstanceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetJobInstanceResponseBody} extends {@link TeaModel} * * <p>GetJobInstanceResponseBody</p> */ public class GetJobInstanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetJobInstanceResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetJobInstanceResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetJobInstanceResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The information about the job instance.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The error message that is returned only if the corresponding error occurs.</p> * * <strong>example:</strong> * <p>jobid: 92583 not match groupId: testSchedulerx.defaultGroup</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>4F68ABED-AC31-4412-9297-D9A8F0401108</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetJobInstanceResponseBody build() { return new GetJobInstanceResponseBody(this); } } /** * * {@link GetJobInstanceResponseBody} extends {@link TeaModel} * * <p>GetJobInstanceResponseBody</p> */ public static class JobInstanceDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataTime") private String dataTime; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("Executor") private String executor; @com.aliyun.core.annotation.NameInMap("InstanceId") private Long instanceId; @com.aliyun.core.annotation.NameInMap("JobId") private Long jobId; @com.aliyun.core.annotation.NameInMap("JobName") private String jobName; @com.aliyun.core.annotation.NameInMap("Parameters") private String parameters; @com.aliyun.core.annotation.NameInMap("Progress") private String progress; @com.aliyun.core.annotation.NameInMap("Result") private String result; @com.aliyun.core.annotation.NameInMap("ScheduleTime") private String scheduleTime; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("TimeType") private Integer timeType; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; @com.aliyun.core.annotation.NameInMap("TriggerType") private Integer triggerType; @com.aliyun.core.annotation.NameInMap("WorkAddr") private String workAddr; private JobInstanceDetail(Builder builder) { this.dataTime = builder.dataTime; this.endTime = builder.endTime; this.executor = builder.executor; this.instanceId = builder.instanceId; this.jobId = builder.jobId; this.jobName = builder.jobName; this.parameters = builder.parameters; this.progress = builder.progress; this.result = builder.result; this.scheduleTime = builder.scheduleTime; this.startTime = builder.startTime; this.status = builder.status; this.timeType = builder.timeType; this.traceId = builder.traceId; this.triggerType = builder.triggerType; this.workAddr = builder.workAddr; } public static Builder builder() { return new Builder(); } public static JobInstanceDetail create() { return builder().build(); } /** * @return dataTime */ public String getDataTime() { return this.dataTime; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return executor */ public String getExecutor() { return this.executor; } /** * @return instanceId */ public Long getInstanceId() { return this.instanceId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return jobName */ public String getJobName() { return this.jobName; } /** * @return parameters */ public String getParameters() { return this.parameters; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return result */ public String getResult() { return this.result; } /** * @return scheduleTime */ public String getScheduleTime() { return this.scheduleTime; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return timeType */ public Integer getTimeType() { return this.timeType; } /** * @return traceId */ public String getTraceId() { return this.traceId; } /** * @return triggerType */ public Integer getTriggerType() { return this.triggerType; } /** * @return workAddr */ public String getWorkAddr() { return this.workAddr; } public static final class Builder { private String dataTime; private String endTime; private String executor; private Long instanceId; private Long jobId; private String jobName; private String parameters; private String progress; private String result; private String scheduleTime; private String startTime; private Integer status; private Integer timeType; private String traceId; private Integer triggerType; private String workAddr; private Builder() { } private Builder(JobInstanceDetail model) { this.dataTime = model.dataTime; this.endTime = model.endTime; this.executor = model.executor; this.instanceId = model.instanceId; this.jobId = model.jobId; this.jobName = model.jobName; this.parameters = model.parameters; this.progress = model.progress; this.result = model.result; this.scheduleTime = model.scheduleTime; this.startTime = model.startTime; this.status = model.status; this.timeType = model.timeType; this.traceId = model.traceId; this.triggerType = model.triggerType; this.workAddr = model.workAddr; } /** * <p>The data timestamp of the job instance.</p> * * <strong>example:</strong> * <p>2020-07-27 11:52:10</p> */ public Builder dataTime(String dataTime) { this.dataTime = dataTime; return this; } /** * <p>The end time of the job execution.</p> * * <strong>example:</strong> * <p>2020-07-27 11:52:10</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The user who executes the job.</p> * * <strong>example:</strong> * <p>A</p> */ public Builder executor(String executor) { this.executor = executor; return this; } /** * <p>The job instance ID.</p> * * <strong>example:</strong> * <p>11111111</p> */ public Builder instanceId(Long instanceId) { this.instanceId = instanceId; return this; } /** * <p>The job ID.</p> * * <strong>example:</strong> * <p>92583</p> */ public Builder jobId(Long jobId) { this.jobId = jobId; return this; } /** * <p>The job name.</p> * * <strong>example:</strong> * <p>ManualJob</p> */ public Builder jobName(String jobName) { this.jobName = jobName; return this; } /** * <p>The parameters of the job instance.</p> * * <strong>example:</strong> * <p>{&quot;alertId&quot;:11111}</p> */ public Builder parameters(String parameters) { this.parameters = parameters; return this; } /** * <p>The progress of the job instance.</p> * * <strong>example:</strong> * <p>complete</p> */ public Builder progress(String progress) { this.progress = progress; return this; } /** * <p>The execution results of the job instance.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder result(String result) { this.result = result; return this; } /** * <p>The time when the job was scheduled to run.</p> * * <strong>example:</strong> * <p>2020-07-27 11:52:10</p> */ public Builder scheduleTime(String scheduleTime) { this.scheduleTime = scheduleTime; return this; } /** * <p>The start time of the job execution.</p> * * <strong>example:</strong> * <p>2020-07-27 11:52:10</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The state of the job instance. Valid values:</p> * <ul> * <li><strong>1</strong>: The job instance is waiting for execution.</li> * <li><strong>3</strong>: The job instance is running.</li> * <li><strong>4</strong>: The job instance is successful.</li> * <li><strong>5</strong>: The job instance failed.</li> * <li><strong>9</strong>: The job instance is rejected.</li> * </ul> * <p>Enumeration class: com.alibaba.schedulerx.common.domain.InstanceStatus</p> * * <strong>example:</strong> * <p>4</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The method that is used to specify the time when to schedule the job instance. Valid values:</p> * <ul> * <li><strong>1</strong>: cron</li> * <li><strong>3</strong>: fix_rate</li> * <li><strong>4</strong>: second_delay</li> * <li><strong>100</strong>: api</li> * </ul> * <p>Enumeration class: com.alibaba.schedulerx.common.domain.TimeType</p> * * <strong>example:</strong> * <p>1</p> */ public Builder timeType(Integer timeType) { this.timeType = timeType; return this; } /** * <p>The trace ID, which can be used to query trace details.</p> * * <strong>example:</strong> * <p>210e845016596663430048015d0a2c</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } /** * <p>The trigger type of the job instance. Valid values:</p> * <ul> * <li><strong>1</strong>: The job instance was triggered at the scheduled time.</li> * <li><strong>2</strong>: The job instance was triggered due to data update.</li> * <li><strong>3</strong>: The job instance was triggered by an API call.</li> * <li><strong>4</strong>: The job instance was triggered because it is manually rerun.</li> * <li><strong>5</strong>: The job instance was triggered because the system automatically reruns the job instance upon a system exception, such as a database exception.</li> * </ul> * <p>Enumeration class: com.alibaba.schedulerx.common.domain.TriggerType</p> * * <strong>example:</strong> * <p>3</p> */ public Builder triggerType(Integer triggerType) { this.triggerType = triggerType; return this; } /** * <p>The endpoint of the triggered client. The value is in the IP address:Port number format.</p> * * <strong>example:</strong> * <p>192.168.0.0:16</p> */ public Builder workAddr(String workAddr) { this.workAddr = workAddr; return this; } public JobInstanceDetail build() { return new JobInstanceDetail(this); } } } /** * * {@link GetJobInstanceResponseBody} extends {@link TeaModel} * * <p>GetJobInstanceResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("JobInstanceDetail") private JobInstanceDetail jobInstanceDetail; private Data(Builder builder) { this.jobInstanceDetail = builder.jobInstanceDetail; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return jobInstanceDetail */ public JobInstanceDetail getJobInstanceDetail() { return this.jobInstanceDetail; } public static final class Builder { private JobInstanceDetail jobInstanceDetail; private Builder() { } private Builder(Data model) { this.jobInstanceDetail = model.jobInstanceDetail; } /** * <p>The details of the job instance.</p> */ public Builder jobInstanceDetail(JobInstanceDetail jobInstanceDetail) { this.jobInstanceDetail = jobInstanceDetail; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetLogRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetLogRequest} extends {@link RequestModel} * * <p>GetLogRequest</p> */ public class GetLogRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTimestamp") private Long endTimestamp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobId") private String jobId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobInstanceId") private String jobInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Keyword") private String keyword; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Line") @com.aliyun.core.annotation.Validation(maximum = 200) private Integer line; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Offset") private Integer offset; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Reverse") private Boolean reverse; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTimestamp") private Long startTimestamp; private GetLogRequest(Builder builder) { super(builder); this.endTimestamp = builder.endTimestamp; this.groupId = builder.groupId; this.jobId = builder.jobId; this.jobInstanceId = builder.jobInstanceId; this.keyword = builder.keyword; this.line = builder.line; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.offset = builder.offset; this.regionId = builder.regionId; this.reverse = builder.reverse; this.startTimestamp = builder.startTimestamp; } public static Builder builder() { return new Builder(); } public static GetLogRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return endTimestamp */ public Long getEndTimestamp() { return this.endTimestamp; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobId */ public String getJobId() { return this.jobId; } /** * @return jobInstanceId */ public String getJobInstanceId() { return this.jobInstanceId; } /** * @return keyword */ public String getKeyword() { return this.keyword; } /** * @return line */ public Integer getLine() { return this.line; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return offset */ public Integer getOffset() { return this.offset; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return reverse */ public Boolean getReverse() { return this.reverse; } /** * @return startTimestamp */ public Long getStartTimestamp() { return this.startTimestamp; } public static final class Builder extends Request.Builder<GetLogRequest, Builder> { private Long endTimestamp; private String groupId; private String jobId; private String jobInstanceId; private String keyword; private Integer line; private String namespace; private String namespaceSource; private Integer offset; private String regionId; private Boolean reverse; private Long startTimestamp; private Builder() { super(); } private Builder(GetLogRequest request) { super(request); this.endTimestamp = request.endTimestamp; this.groupId = request.groupId; this.jobId = request.jobId; this.jobInstanceId = request.jobInstanceId; this.keyword = request.keyword; this.line = request.line; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.offset = request.offset; this.regionId = request.regionId; this.reverse = request.reverse; this.startTimestamp = request.startTimestamp; } /** * <p>The time when the job stops running. Specify a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.</p> * * <strong>example:</strong> * <p>1675739484000</p> */ public Builder endTimestamp(Long endTimestamp) { this.putQueryParameter("EndTimestamp", endTimestamp); this.endTimestamp = endTimestamp; return this; } /** * <p>The application group ID. You can obtain the application group ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The job ID.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder jobId(String jobId) { this.putQueryParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>The job instance ID.</p> * * <strong>example:</strong> * <p>123456</p> */ public Builder jobInstanceId(String jobInstanceId) { this.putQueryParameter("JobInstanceId", jobInstanceId); this.jobInstanceId = jobInstanceId; return this; } /** * <p>The keyword.</p> * * <strong>example:</strong> * <p>ERROR</p> */ public Builder keyword(String keyword) { this.putQueryParameter("Keyword", keyword); this.keyword = keyword; return this; } /** * <p>The number of rows to return. The maximum number is 200.</p> * * <strong>example:</strong> * <p>50</p> */ public Builder line(Integer line) { this.putQueryParameter("Line", line); this.line = line; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The number of offset rows. This parameter can be used for a paged query.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder offset(Integer offset) { this.putQueryParameter("Offset", offset); this.offset = offset; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>Specifies whether to reverse the order. By default, the order is reversed.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder reverse(Boolean reverse) { this.putQueryParameter("Reverse", reverse); this.reverse = reverse; return this; } /** * <p>The time when the job starts to run. Specify a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.</p> * * <strong>example:</strong> * <p>1675739364000</p> */ public Builder startTimestamp(Long startTimestamp) { this.putQueryParameter("StartTimestamp", startTimestamp); this.startTimestamp = startTimestamp; return this; } @Override public GetLogRequest build() { return new GetLogRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetLogResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetLogResponse} extends {@link TeaModel} * * <p>GetLogResponse</p> */ public class GetLogResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetLogResponseBody body; private GetLogResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetLogResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public GetLogResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetLogResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetLogResponseBody body); @Override GetLogResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetLogResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetLogResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetLogResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(GetLogResponseBody body) { this.body = body; return this; } @Override public GetLogResponse build() { return new GetLogResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetLogResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetLogResponseBody} extends {@link TeaModel} * * <p>GetLogResponseBody</p> */ public class GetLogResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetLogResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetLogResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetLogResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The returned data.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The returned error message.</p> * * <strong>example:</strong> * <p>jobid=xxx is not existed</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>39090022-1F3B-4797-8518-6B61095F1AF0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetLogResponseBody build() { return new GetLogResponseBody(this); } } /** * * {@link GetLogResponseBody} extends {@link TeaModel} * * <p>GetLogResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Logs") private java.util.List<String> logs; private Data(Builder builder) { this.logs = builder.logs; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return logs */ public java.util.List<String> getLogs() { return this.logs; } public static final class Builder { private java.util.List<String> logs; private Builder() { } private Builder(Data model) { this.logs = model.logs; } /** * <p>The logs. The value is an array of strings.</p> */ public Builder logs(java.util.List<String> logs) { this.logs = logs; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetOverviewRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetOverviewRequest} extends {@link RequestModel} * * <p>GetOverviewRequest</p> */ public class GetOverviewRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MetricType") @com.aliyun.core.annotation.Validation(required = true) private Integer metricType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Operate") @com.aliyun.core.annotation.Validation(required = true) private String operate; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private Long startTime; private GetOverviewRequest(Builder builder) { super(builder); this.endTime = builder.endTime; this.groupId = builder.groupId; this.metricType = builder.metricType; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.operate = builder.operate; this.regionId = builder.regionId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static GetOverviewRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return metricType */ public Integer getMetricType() { return this.metricType; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return operate */ public String getOperate() { return this.operate; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<GetOverviewRequest, Builder> { private Long endTime; private String groupId; private Integer metricType; private String namespace; private String namespaceSource; private String operate; private String regionId; private Long startTime; private Builder() { super(); } private Builder(GetOverviewRequest request) { super(request); this.endTime = request.endTime; this.groupId = request.groupId; this.metricType = request.metricType; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.operate = request.operate; this.regionId = request.regionId; this.startTime = request.startTime; } /** * EndTime. */ public Builder endTime(Long endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * GroupId. */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder metricType(Integer metricType) { this.putQueryParameter("MetricType", metricType); this.metricType = metricType; return this; } /** * Namespace. */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * NamespaceSource. */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>query</p> */ public Builder operate(String operate) { this.putQueryParameter("Operate", operate); this.operate = operate; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1684166400</p> */ public Builder startTime(Long startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public GetOverviewRequest build() { return new GetOverviewRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetOverviewResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetOverviewResponse} extends {@link TeaModel} * * <p>GetOverviewResponse</p> */ public class GetOverviewResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetOverviewResponseBody body; private GetOverviewResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetOverviewResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public GetOverviewResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetOverviewResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetOverviewResponseBody body); @Override GetOverviewResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetOverviewResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetOverviewResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetOverviewResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(GetOverviewResponseBody body) { this.body = body; return this; } @Override public GetOverviewResponse build() { return new GetOverviewResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetOverviewResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetOverviewResponseBody} extends {@link TeaModel} * * <p>GetOverviewResponseBody</p> */ public class GetOverviewResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private String data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetOverviewResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetOverviewResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public String getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetOverviewResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * Code. */ public Builder code(Integer code) { this.code = code; return this; } /** * Data. */ public Builder data(String data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * <p>Id of the request</p> * * <strong>example:</strong> * <p>39090022-1F3B-4797-8518-6B61095F1AF0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public GetOverviewResponseBody build() { return new GetOverviewResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetWorkFlowRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetWorkFlowRequest} extends {@link RequestModel} * * <p>GetWorkFlowRequest</p> */ public class GetWorkFlowRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("WorkflowId") @com.aliyun.core.annotation.Validation(required = true) private Long workflowId; private GetWorkFlowRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; this.workflowId = builder.workflowId; } public static Builder builder() { return new Builder(); } public static GetWorkFlowRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return workflowId */ public Long getWorkflowId() { return this.workflowId; } public static final class Builder extends Request.Builder<GetWorkFlowRequest, Builder> { private String groupId; private String namespace; private String namespaceSource; private String regionId; private Long workflowId; private Builder() { super(); } private Builder(GetWorkFlowRequest request) { super(request); this.groupId = request.groupId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; this.workflowId = request.workflowId; } /** * <p>The ID of the application group.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>hxm.test</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The ID of the namespace.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>4a06d5ea-f576-4326-842c-fb14ea043d8d</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace.</p> * * <strong>example:</strong> * <p>source</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region information.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>public</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the workflow.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1234</p> */ public Builder workflowId(Long workflowId) { this.putQueryParameter("WorkflowId", workflowId); this.workflowId = workflowId; return this; } @Override public GetWorkFlowRequest build() { return new GetWorkFlowRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetWorkFlowResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetWorkFlowResponse} extends {@link TeaModel} * * <p>GetWorkFlowResponse</p> */ public class GetWorkFlowResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetWorkFlowResponseBody body; private GetWorkFlowResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetWorkFlowResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public GetWorkFlowResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetWorkFlowResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetWorkFlowResponseBody body); @Override GetWorkFlowResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetWorkFlowResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetWorkFlowResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetWorkFlowResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(GetWorkFlowResponseBody body) { this.body = body; return this; } @Override public GetWorkFlowResponse build() { return new GetWorkFlowResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetWorkFlowResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetWorkFlowResponseBody} extends {@link TeaModel} * * <p>GetWorkFlowResponseBody</p> */ public class GetWorkFlowResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetWorkFlowResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetWorkFlowResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetWorkFlowResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>Error codes</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The data of the workflow.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>Error message</p> * * <strong>example:</strong> * <p>workflow is not existed</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>45678xxx</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The result of the API call.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetWorkFlowResponseBody build() { return new GetWorkFlowResponseBody(this); } } /** * * {@link GetWorkFlowResponseBody} extends {@link TeaModel} * * <p>GetWorkFlowResponseBody</p> */ public static class WorkFlowInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.NameInMap("MaxConcurrency") private String maxConcurrency; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("TimeExpression") private String timeExpression; @com.aliyun.core.annotation.NameInMap("TimeType") private String timeType; @com.aliyun.core.annotation.NameInMap("WorkflowId") private Long workflowId; private WorkFlowInfo(Builder builder) { this.description = builder.description; this.groupId = builder.groupId; this.maxConcurrency = builder.maxConcurrency; this.name = builder.name; this.namespace = builder.namespace; this.status = builder.status; this.timeExpression = builder.timeExpression; this.timeType = builder.timeType; this.workflowId = builder.workflowId; } public static Builder builder() { return new Builder(); } public static WorkFlowInfo create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return maxConcurrency */ public String getMaxConcurrency() { return this.maxConcurrency; } /** * @return name */ public String getName() { return this.name; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return status */ public String getStatus() { return this.status; } /** * @return timeExpression */ public String getTimeExpression() { return this.timeExpression; } /** * @return timeType */ public String getTimeType() { return this.timeType; } /** * @return workflowId */ public Long getWorkflowId() { return this.workflowId; } public static final class Builder { private String description; private String groupId; private String maxConcurrency; private String name; private String namespace; private String status; private String timeExpression; private String timeType; private Long workflowId; private Builder() { } private Builder(WorkFlowInfo model) { this.description = model.description; this.groupId = model.groupId; this.maxConcurrency = model.maxConcurrency; this.name = model.name; this.namespace = model.namespace; this.status = model.status; this.timeExpression = model.timeExpression; this.timeType = model.timeType; this.workflowId = model.workflowId; } /** * <p>The description of the workflow.</p> * * <strong>example:</strong> * <p>my first workflow</p> */ public Builder description(String description) { this.description = description; return this; } /** * GroupId. */ public Builder groupId(String groupId) { this.groupId = groupId; return this; } /** * MaxConcurrency. */ public Builder maxConcurrency(String maxConcurrency) { this.maxConcurrency = maxConcurrency; return this; } /** * <p>The name of the workflow.</p> * * <strong>example:</strong> * <p>workflow_111</p> */ public Builder name(String name) { this.name = name; return this; } /** * Namespace. */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * <p>The status of the workflow.</p> * * <strong>example:</strong> * <p>Successful</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The time expression of the workflow.</p> * * <strong>example:</strong> * <p>0 0 2 * * ?</p> */ public Builder timeExpression(String timeExpression) { this.timeExpression = timeExpression; return this; } /** * <p>The time type of the workflow.</p> * * <strong>example:</strong> * <p>cron</p> */ public Builder timeType(String timeType) { this.timeType = timeType; return this; } /** * <p>The ID of the workflow.</p> * * <strong>example:</strong> * <p>1234xxx</p> */ public Builder workflowId(Long workflowId) { this.workflowId = workflowId; return this; } public WorkFlowInfo build() { return new WorkFlowInfo(this); } } } /** * * {@link GetWorkFlowResponseBody} extends {@link TeaModel} * * <p>GetWorkFlowResponseBody</p> */ public static class Edges extends TeaModel { @com.aliyun.core.annotation.NameInMap("Source") private Long source; @com.aliyun.core.annotation.NameInMap("Target") private Long target; private Edges(Builder builder) { this.source = builder.source; this.target = builder.target; } public static Builder builder() { return new Builder(); } public static Edges create() { return builder().build(); } /** * @return source */ public Long getSource() { return this.source; } /** * @return target */ public Long getTarget() { return this.target; } public static final class Builder { private Long source; private Long target; private Builder() { } private Builder(Edges model) { this.source = model.source; this.target = model.target; } /** * <p>The ID of the source job.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder source(Long source) { this.source = source; return this; } /** * <p>The ID of the object job.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder target(Long target) { this.target = target; return this; } public Edges build() { return new Edges(this); } } } /** * * {@link GetWorkFlowResponseBody} extends {@link TeaModel} * * <p>GetWorkFlowResponseBody</p> */ public static class Nodes extends TeaModel { @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.NameInMap("Label") private String label; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private Nodes(Builder builder) { this.id = builder.id; this.label = builder.label; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static Nodes create() { return builder().build(); } /** * @return id */ public Long getId() { return this.id; } /** * @return label */ public String getLabel() { return this.label; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private Long id; private String label; private Integer status; private Builder() { } private Builder(Nodes model) { this.id = model.id; this.label = model.label; this.status = model.status; } /** * <p>The ID of the job.</p> * * <strong>example:</strong> * <p>123456xxx</p> */ public Builder id(Long id) { this.id = id; return this; } /** * <p>The name of the job.</p> * * <strong>example:</strong> * <p>job_111</p> */ public Builder label(String label) { this.label = label; return this; } /** * <p>The status of the job.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } public Nodes build() { return new Nodes(this); } } } /** * * {@link GetWorkFlowResponseBody} extends {@link TeaModel} * * <p>GetWorkFlowResponseBody</p> */ public static class WorkFlowNodeInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Edges") private java.util.List<Edges> edges; @com.aliyun.core.annotation.NameInMap("Nodes") private java.util.List<Nodes> nodes; private WorkFlowNodeInfo(Builder builder) { this.edges = builder.edges; this.nodes = builder.nodes; } public static Builder builder() { return new Builder(); } public static WorkFlowNodeInfo create() { return builder().build(); } /** * @return edges */ public java.util.List<Edges> getEdges() { return this.edges; } /** * @return nodes */ public java.util.List<Nodes> getNodes() { return this.nodes; } public static final class Builder { private java.util.List<Edges> edges; private java.util.List<Nodes> nodes; private Builder() { } private Builder(WorkFlowNodeInfo model) { this.edges = model.edges; this.nodes = model.nodes; } /** * <p>The workflow edges.</p> */ public Builder edges(java.util.List<Edges> edges) { this.edges = edges; return this; } /** * <p>The list of workflow nodes.</p> */ public Builder nodes(java.util.List<Nodes> nodes) { this.nodes = nodes; return this; } public WorkFlowNodeInfo build() { return new WorkFlowNodeInfo(this); } } } /** * * {@link GetWorkFlowResponseBody} extends {@link TeaModel} * * <p>GetWorkFlowResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("WorkFlowInfo") private WorkFlowInfo workFlowInfo; @com.aliyun.core.annotation.NameInMap("WorkFlowNodeInfo") private WorkFlowNodeInfo workFlowNodeInfo; private Data(Builder builder) { this.workFlowInfo = builder.workFlowInfo; this.workFlowNodeInfo = builder.workFlowNodeInfo; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return workFlowInfo */ public WorkFlowInfo getWorkFlowInfo() { return this.workFlowInfo; } /** * @return workFlowNodeInfo */ public WorkFlowNodeInfo getWorkFlowNodeInfo() { return this.workFlowNodeInfo; } public static final class Builder { private WorkFlowInfo workFlowInfo; private WorkFlowNodeInfo workFlowNodeInfo; private Builder() { } private Builder(Data model) { this.workFlowInfo = model.workFlowInfo; this.workFlowNodeInfo = model.workFlowNodeInfo; } /** * <p>The basic information of the workflow.</p> */ public Builder workFlowInfo(WorkFlowInfo workFlowInfo) { this.workFlowInfo = workFlowInfo; return this; } /** * <p>The node information of the workflow.</p> */ public Builder workFlowNodeInfo(WorkFlowNodeInfo workFlowNodeInfo) { this.workFlowNodeInfo = workFlowNodeInfo; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetWorkerListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetWorkerListRequest} extends {@link RequestModel} * * <p>GetWorkerListRequest</p> */ public class GetWorkerListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private GetWorkerListRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static GetWorkerListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<GetWorkerListRequest, Builder> { private String groupId; private String namespace; private String namespaceSource; private String regionId; private Builder() { super(); } private Builder(GetWorkerListRequest request) { super(request); this.groupId = request.groupId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; } /** * <p>The ID of the permission group.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>usercenter</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The ID of the namespace. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The ID of the region.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public GetWorkerListRequest build() { return new GetWorkerListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetWorkerListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetWorkerListResponse} extends {@link TeaModel} * * <p>GetWorkerListResponse</p> */ public class GetWorkerListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetWorkerListResponseBody body; private GetWorkerListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetWorkerListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public GetWorkerListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetWorkerListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetWorkerListResponseBody body); @Override GetWorkerListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetWorkerListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetWorkerListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetWorkerListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(GetWorkerListResponseBody body) { this.body = body; return this; } @Override public GetWorkerListResponse build() { return new GetWorkerListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetWorkerListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetWorkerListResponseBody} extends {@link TeaModel} * * <p>GetWorkerListResponseBody</p> */ public class GetWorkerListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetWorkerListResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetWorkerListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetWorkerListResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code that is returned.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The job information.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The additional information that is returned.</p> * * <strong>example:</strong> * <p>Cannot find product according to your domain.</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>4F68ABED-AC31-4412-9297-D9A8F0401108****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the call is successful. Valid values:</p> * <ul> * <li><strong>true</strong>: The call is successful.</li> * <li><strong>false</strong>: The call fails.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetWorkerListResponseBody build() { return new GetWorkerListResponseBody(this); } } /** * * {@link GetWorkerListResponseBody} extends {@link TeaModel} * * <p>GetWorkerListResponseBody</p> */ public static class WorkerInfos extends TeaModel { @com.aliyun.core.annotation.NameInMap("Ip") private String ip; @com.aliyun.core.annotation.NameInMap("Label") private String label; @com.aliyun.core.annotation.NameInMap("Port") private Integer port; @com.aliyun.core.annotation.NameInMap("Starter") private String starter; @com.aliyun.core.annotation.NameInMap("Version") private String version; @com.aliyun.core.annotation.NameInMap("WorkerAddress") private String workerAddress; private WorkerInfos(Builder builder) { this.ip = builder.ip; this.label = builder.label; this.port = builder.port; this.starter = builder.starter; this.version = builder.version; this.workerAddress = builder.workerAddress; } public static Builder builder() { return new Builder(); } public static WorkerInfos create() { return builder().build(); } /** * @return ip */ public String getIp() { return this.ip; } /** * @return label */ public String getLabel() { return this.label; } /** * @return port */ public Integer getPort() { return this.port; } /** * @return starter */ public String getStarter() { return this.starter; } /** * @return version */ public String getVersion() { return this.version; } /** * @return workerAddress */ public String getWorkerAddress() { return this.workerAddress; } public static final class Builder { private String ip; private String label; private Integer port; private String starter; private String version; private String workerAddress; private Builder() { } private Builder(WorkerInfos model) { this.ip = model.ip; this.label = model.label; this.port = model.port; this.starter = model.starter; this.version = model.version; this.workerAddress = model.workerAddress; } /** * <p>The IP address of the worker.</p> * * <strong>example:</strong> * <p>30.225.16.49</p> */ public Builder ip(String ip) { this.ip = ip; return this; } /** * <p>The label of the worker.</p> * * <strong>example:</strong> * <p>gray</p> */ public Builder label(String label) { this.label = label; return this; } /** * <p>The port number of the worker.</p> * * <strong>example:</strong> * <p>60831</p> */ public Builder port(Integer port) { this.port = port; return this; } /** * <p>The startup method of the worker.</p> * * <strong>example:</strong> * <p>springboot</p> */ public Builder starter(String starter) { this.starter = starter; return this; } /** * <p>The version of the worker.</p> * * <strong>example:</strong> * <p>1.3.4</p> */ public Builder version(String version) { this.version = version; return this; } /** * <p>The address of the worker. The address is in the format of ${worker_id}@${worker_ip}:${worker_port}.</p> * * <strong>example:</strong> * <p><a href="mailto:030225016049_11734_25917@30.225.16.49">030225016049_11734_25917@30.225.16.49</a>:60831</p> */ public Builder workerAddress(String workerAddress) { this.workerAddress = workerAddress; return this; } public WorkerInfos build() { return new WorkerInfos(this); } } } /** * * {@link GetWorkerListResponseBody} extends {@link TeaModel} * * <p>GetWorkerListResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("WorkerInfos") private java.util.List<WorkerInfos> workerInfos; private Data(Builder builder) { this.workerInfos = builder.workerInfos; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return workerInfos */ public java.util.List<WorkerInfos> getWorkerInfos() { return this.workerInfos; } public static final class Builder { private java.util.List<WorkerInfos> workerInfos; private Builder() { } private Builder(Data model) { this.workerInfos = model.workerInfos; } /** * <p>The worker information.</p> */ public Builder workerInfos(java.util.List<WorkerInfos> workerInfos) { this.workerInfos = workerInfos; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetWorkflowInstanceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetWorkflowInstanceRequest} extends {@link RequestModel} * * <p>GetWorkflowInstanceRequest</p> */ public class GetWorkflowInstanceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("WfInstanceId") @com.aliyun.core.annotation.Validation(required = true) private Long wfInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("WorkflowId") @com.aliyun.core.annotation.Validation(required = true) private Long workflowId; private GetWorkflowInstanceRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; this.wfInstanceId = builder.wfInstanceId; this.workflowId = builder.workflowId; } public static Builder builder() { return new Builder(); } public static GetWorkflowInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return wfInstanceId */ public Long getWfInstanceId() { return this.wfInstanceId; } /** * @return workflowId */ public Long getWorkflowId() { return this.workflowId; } public static final class Builder extends Request.Builder<GetWorkflowInstanceRequest, Builder> { private String groupId; private String namespace; private String namespaceSource; private String regionId; private Long wfInstanceId; private Long workflowId; private Builder() { super(); } private Builder(GetWorkflowInstanceRequest request) { super(request); this.groupId = request.groupId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; this.wfInstanceId = request.wfInstanceId; this.workflowId = request.workflowId; } /** * <p>The application group ID. You can obtain the ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The workflow instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123456</p> */ public Builder wfInstanceId(Long wfInstanceId) { this.putQueryParameter("WfInstanceId", wfInstanceId); this.wfInstanceId = wfInstanceId; return this; } /** * <p>The workflow ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder workflowId(Long workflowId) { this.putQueryParameter("WorkflowId", workflowId); this.workflowId = workflowId; return this; } @Override public GetWorkflowInstanceRequest build() { return new GetWorkflowInstanceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetWorkflowInstanceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetWorkflowInstanceResponse} extends {@link TeaModel} * * <p>GetWorkflowInstanceResponse</p> */ public class GetWorkflowInstanceResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetWorkflowInstanceResponseBody body; private GetWorkflowInstanceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetWorkflowInstanceResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public GetWorkflowInstanceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetWorkflowInstanceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetWorkflowInstanceResponseBody body); @Override GetWorkflowInstanceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetWorkflowInstanceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetWorkflowInstanceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetWorkflowInstanceResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(GetWorkflowInstanceResponseBody body) { this.body = body; return this; } @Override public GetWorkflowInstanceResponse build() { return new GetWorkflowInstanceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GetWorkflowInstanceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GetWorkflowInstanceResponseBody} extends {@link TeaModel} * * <p>GetWorkflowInstanceResponseBody</p> */ public class GetWorkflowInstanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetWorkflowInstanceResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetWorkflowInstanceResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetWorkflowInstanceResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The details of the workflow instance.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The returned error message.</p> * * <strong>example:</strong> * <p>workflowId=xxx is not existed</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>39090022-1F3B-4797-8518-6B61095F1AF0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetWorkflowInstanceResponseBody build() { return new GetWorkflowInstanceResponseBody(this); } } /** * * {@link GetWorkflowInstanceResponseBody} extends {@link TeaModel} * * <p>GetWorkflowInstanceResponseBody</p> */ public static class Edges extends TeaModel { @com.aliyun.core.annotation.NameInMap("Source") private Long source; @com.aliyun.core.annotation.NameInMap("Target") private Long target; private Edges(Builder builder) { this.source = builder.source; this.target = builder.target; } public static Builder builder() { return new Builder(); } public static Edges create() { return builder().build(); } /** * @return source */ public Long getSource() { return this.source; } /** * @return target */ public Long getTarget() { return this.target; } public static final class Builder { private Long source; private Long target; private Builder() { } private Builder(Edges model) { this.source = model.source; this.target = model.target; } /** * <p>The upstream job instance of the current job instance. A value of 0 indicates that the upstream job instance is the root node.</p> * * <strong>example:</strong> * <p>24058798</p> */ public Builder source(Long source) { this.source = source; return this; } /** * <p>The downstream job instance of the current job instance.</p> * * <strong>example:</strong> * <p>24058796</p> */ public Builder target(Long target) { this.target = target; return this; } public Edges build() { return new Edges(this); } } } /** * * {@link GetWorkflowInstanceResponseBody} extends {@link TeaModel} * * <p>GetWorkflowInstanceResponseBody</p> */ public static class Nodes extends TeaModel { @com.aliyun.core.annotation.NameInMap("Attempt") private Integer attempt; @com.aliyun.core.annotation.NameInMap("DataTime") private String dataTime; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("JobId") private Long jobId; @com.aliyun.core.annotation.NameInMap("JobInstanceId") private Long jobInstanceId; @com.aliyun.core.annotation.NameInMap("JobName") private String jobName; @com.aliyun.core.annotation.NameInMap("Result") private String result; @com.aliyun.core.annotation.NameInMap("ScheduleTime") private String scheduleTime; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("WorkAddr") private String workAddr; private Nodes(Builder builder) { this.attempt = builder.attempt; this.dataTime = builder.dataTime; this.endTime = builder.endTime; this.jobId = builder.jobId; this.jobInstanceId = builder.jobInstanceId; this.jobName = builder.jobName; this.result = builder.result; this.scheduleTime = builder.scheduleTime; this.startTime = builder.startTime; this.status = builder.status; this.workAddr = builder.workAddr; } public static Builder builder() { return new Builder(); } public static Nodes create() { return builder().build(); } /** * @return attempt */ public Integer getAttempt() { return this.attempt; } /** * @return dataTime */ public String getDataTime() { return this.dataTime; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return jobInstanceId */ public Long getJobInstanceId() { return this.jobInstanceId; } /** * @return jobName */ public String getJobName() { return this.jobName; } /** * @return result */ public String getResult() { return this.result; } /** * @return scheduleTime */ public String getScheduleTime() { return this.scheduleTime; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return workAddr */ public String getWorkAddr() { return this.workAddr; } public static final class Builder { private Integer attempt; private String dataTime; private String endTime; private Long jobId; private Long jobInstanceId; private String jobName; private String result; private String scheduleTime; private String startTime; private Integer status; private String workAddr; private Builder() { } private Builder(Nodes model) { this.attempt = model.attempt; this.dataTime = model.dataTime; this.endTime = model.endTime; this.jobId = model.jobId; this.jobInstanceId = model.jobInstanceId; this.jobName = model.jobName; this.result = model.result; this.scheduleTime = model.scheduleTime; this.startTime = model.startTime; this.status = model.status; this.workAddr = model.workAddr; } /** * <p>The number of retries when the job failed.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder attempt(Integer attempt) { this.attempt = attempt; return this; } /** * <p>The data timestamp of the job.</p> * * <strong>example:</strong> * <p>2023-01-03 18:00:00</p> */ public Builder dataTime(String dataTime) { this.dataTime = dataTime; return this; } /** * <p>The time when the job stopped running.</p> * * <strong>example:</strong> * <p>2023-01-03 18:00:21</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The job ID.</p> * * <strong>example:</strong> * <p>1472</p> */ public Builder jobId(Long jobId) { this.jobId = jobId; return this; } /** * <p>The ID of the job instance.</p> * * <strong>example:</strong> * <p>24058796</p> */ public Builder jobInstanceId(Long jobInstanceId) { this.jobInstanceId = jobInstanceId; return this; } /** * <p>The job name.</p> * * <strong>example:</strong> * <p>TestJob</p> */ public Builder jobName(String jobName) { this.jobName = jobName; return this; } /** * <p>The execution result of the job.</p> * * <strong>example:</strong> * <p>code=200</p> */ public Builder result(String result) { this.result = result; return this; } /** * <p>The time when the job was scheduled.</p> * * <strong>example:</strong> * <p>2023-01-03 18:00:03</p> */ public Builder scheduleTime(String scheduleTime) { this.scheduleTime = scheduleTime; return this; } /** * <p>The time when the job started to run.</p> * * <strong>example:</strong> * <p>2023-01-03 18:00:03</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The state of the job instance. Valid values: 1: The job instance is waiting for execution. 3: The job instance is running. 4: The job instance is run. 5: The job instance failed to run. 9: The job instance is rejected. Enumeration class: com.alibaba.schedulerx.common.domain.InstanceStatus.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The worker on which the job instance run.</p> * * <strong>example:</strong> * <p>10.163.0.101:34027</p> */ public Builder workAddr(String workAddr) { this.workAddr = workAddr; return this; } public Nodes build() { return new Nodes(this); } } } /** * * {@link GetWorkflowInstanceResponseBody} extends {@link TeaModel} * * <p>GetWorkflowInstanceResponseBody</p> */ public static class WfInstanceDag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Edges") private java.util.List<Edges> edges; @com.aliyun.core.annotation.NameInMap("Nodes") private java.util.List<Nodes> nodes; private WfInstanceDag(Builder builder) { this.edges = builder.edges; this.nodes = builder.nodes; } public static Builder builder() { return new Builder(); } public static WfInstanceDag create() { return builder().build(); } /** * @return edges */ public java.util.List<Edges> getEdges() { return this.edges; } /** * @return nodes */ public java.util.List<Nodes> getNodes() { return this.nodes; } public static final class Builder { private java.util.List<Edges> edges; private java.util.List<Nodes> nodes; private Builder() { } private Builder(WfInstanceDag model) { this.edges = model.edges; this.nodes = model.nodes; } /** * <p>The dependencies between job instances.</p> */ public Builder edges(java.util.List<Edges> edges) { this.edges = edges; return this; } /** * <p>The job instances.</p> */ public Builder nodes(java.util.List<Nodes> nodes) { this.nodes = nodes; return this; } public WfInstanceDag build() { return new WfInstanceDag(this); } } } /** * * {@link GetWorkflowInstanceResponseBody} extends {@link TeaModel} * * <p>GetWorkflowInstanceResponseBody</p> */ public static class WfInstanceInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataTime") private String dataTime; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("ScheduleTime") private String scheduleTime; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private WfInstanceInfo(Builder builder) { this.dataTime = builder.dataTime; this.endTime = builder.endTime; this.scheduleTime = builder.scheduleTime; this.startTime = builder.startTime; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static WfInstanceInfo create() { return builder().build(); } /** * @return dataTime */ public String getDataTime() { return this.dataTime; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return scheduleTime */ public String getScheduleTime() { return this.scheduleTime; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private String dataTime; private String endTime; private String scheduleTime; private String startTime; private Integer status; private Builder() { } private Builder(WfInstanceInfo model) { this.dataTime = model.dataTime; this.endTime = model.endTime; this.scheduleTime = model.scheduleTime; this.startTime = model.startTime; this.status = model.status; } /** * <p>The data timestamp of the workflow instance.</p> * * <strong>example:</strong> * <p>2023-01-03 18:00:00</p> */ public Builder dataTime(String dataTime) { this.dataTime = dataTime; return this; } /** * <p>The time when the workflow instance stopped running.</p> * * <strong>example:</strong> * <p>2023-01-03 18:00:21</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The time when the workflow instance was scheduled to run.</p> * * <strong>example:</strong> * <p>2023-01-03 18:00:00</p> */ public Builder scheduleTime(String scheduleTime) { this.scheduleTime = scheduleTime; return this; } /** * <p>The time when the workflow instance started to run.</p> * * <strong>example:</strong> * <p>2023-01-03 18:00:01</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The state of the workflow instance. Valid values:</p> * <ul> * <li>1: pending</li> * <li>2: preparing</li> * <li>3: running</li> * <li>4: successful</li> * <li>5: failed</li> * </ul> * * <strong>example:</strong> * <p>5</p> */ public Builder status(Integer status) { this.status = status; return this; } public WfInstanceInfo build() { return new WfInstanceInfo(this); } } } /** * * {@link GetWorkflowInstanceResponseBody} extends {@link TeaModel} * * <p>GetWorkflowInstanceResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("WfInstanceDag") private WfInstanceDag wfInstanceDag; @com.aliyun.core.annotation.NameInMap("WfInstanceInfo") private WfInstanceInfo wfInstanceInfo; private Data(Builder builder) { this.wfInstanceDag = builder.wfInstanceDag; this.wfInstanceInfo = builder.wfInstanceInfo; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return wfInstanceDag */ public WfInstanceDag getWfInstanceDag() { return this.wfInstanceDag; } /** * @return wfInstanceInfo */ public WfInstanceInfo getWfInstanceInfo() { return this.wfInstanceInfo; } public static final class Builder { private WfInstanceDag wfInstanceDag; private WfInstanceInfo wfInstanceInfo; private Builder() { } private Builder(Data model) { this.wfInstanceDag = model.wfInstanceDag; this.wfInstanceInfo = model.wfInstanceInfo; } /** * <p>The directed acyclic graph (DAG) of the workflow instance, including nodes and dependencies.</p> */ public Builder wfInstanceDag(WfInstanceDag wfInstanceDag) { this.wfInstanceDag = wfInstanceDag; return this; } /** * <p>The details of the workflow instance, including the state of the workflow instance, the time when the workflow instance started to run, the time when the workflow instance stopped running, the state of each job instance, and the dependencies between job instances.</p> */ public Builder wfInstanceInfo(WfInstanceInfo wfInstanceInfo) { this.wfInstanceInfo = wfInstanceInfo; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GrantPermissionRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GrantPermissionRequest} extends {@link RequestModel} * * <p>GrantPermissionRequest</p> */ public class GrantPermissionRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GrantOption") private Boolean grantOption; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UserId") @com.aliyun.core.annotation.Validation(required = true) private String userId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UserName") @com.aliyun.core.annotation.Validation(required = true) private String userName; private GrantPermissionRequest(Builder builder) { super(builder); this.grantOption = builder.grantOption; this.groupId = builder.groupId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; this.userId = builder.userId; this.userName = builder.userName; } public static Builder builder() { return new Builder(); } public static GrantPermissionRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return grantOption */ public Boolean getGrantOption() { return this.grantOption; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return userId */ public String getUserId() { return this.userId; } /** * @return userName */ public String getUserName() { return this.userName; } public static final class Builder extends Request.Builder<GrantPermissionRequest, Builder> { private Boolean grantOption; private String groupId; private String namespace; private String namespaceSource; private String regionId; private String userId; private String userName; private Builder() { super(); } private Builder(GrantPermissionRequest request) { super(request); this.grantOption = request.grantOption; this.groupId = request.groupId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; this.userId = request.userId; this.userName = request.userName; } /** * <p>Specifies whether to grant the permissions with the GRANT option. Valid values: -<strong>true</strong> -<strong>false</strong></p> * * <strong>example:</strong> * <p>false</p> */ public Builder grantOption(Boolean grantOption) { this.putQueryParameter("GrantOption", grantOption); this.grantOption = grantOption; return this; } /** * <p>The application group ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The namespace ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffcdf01</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The user ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>277641081920123456</p> */ public Builder userId(String userId) { this.putQueryParameter("UserId", userId); this.userId = userId; return this; } /** * <p>The username.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>lilei</p> */ public Builder userName(String userName) { this.putQueryParameter("UserName", userName); this.userName = userName; return this; } @Override public GrantPermissionRequest build() { return new GrantPermissionRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GrantPermissionResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GrantPermissionResponse} extends {@link TeaModel} * * <p>GrantPermissionResponse</p> */ public class GrantPermissionResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GrantPermissionResponseBody body; private GrantPermissionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GrantPermissionResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public GrantPermissionResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GrantPermissionResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GrantPermissionResponseBody body); @Override GrantPermissionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GrantPermissionResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GrantPermissionResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GrantPermissionResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(GrantPermissionResponseBody body) { this.body = body; return this; } @Override public GrantPermissionResponse build() { return new GrantPermissionResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/GrantPermissionResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 GrantPermissionResponseBody} extends {@link TeaModel} * * <p>GrantPermissionResponseBody</p> */ public class GrantPermissionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GrantPermissionResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GrantPermissionResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GrantPermissionResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>400</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The error message that is returned only if the corresponding error occurs.</p> * * <strong>example:</strong> * <p>Your request is denied as lack of ssl protect.</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>4F68ABED-AC31-4412-9297-D9A8F0401108</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GrantPermissionResponseBody build() { return new GrantPermissionResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListGroupsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListGroupsRequest} extends {@link RequestModel} * * <p>ListGroupsRequest</p> */ public class ListGroupsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppGroupName") private String appGroupName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private ListGroupsRequest(Builder builder) { super(builder); this.appGroupName = builder.appGroupName; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static ListGroupsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appGroupName */ public String getAppGroupName() { return this.appGroupName; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<ListGroupsRequest, Builder> { private String appGroupName; private String namespace; private String namespaceSource; private String regionId; private Builder() { super(); } private Builder(ListGroupsRequest request) { super(request); this.appGroupName = request.appGroupName; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; } /** * <p>The name of the application group.</p> * * <strong>example:</strong> * <p>k8s-test</p> */ public Builder appGroupName(String appGroupName) { this.putQueryParameter("AppGroupName", appGroupName); this.appGroupName = appGroupName; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the <strong>Namespace</strong> page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1a72ecb1-b4cc-400a-a71b-20cdec9b****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public ListGroupsRequest build() { return new ListGroupsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListGroupsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListGroupsResponse} extends {@link TeaModel} * * <p>ListGroupsResponse</p> */ public class ListGroupsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListGroupsResponseBody body; private ListGroupsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListGroupsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ListGroupsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListGroupsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListGroupsResponseBody body); @Override ListGroupsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListGroupsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListGroupsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListGroupsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ListGroupsResponseBody body) { this.body = body; return this; } @Override public ListGroupsResponse build() { return new ListGroupsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListGroupsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListGroupsResponseBody} extends {@link TeaModel} * * <p>ListGroupsResponseBody</p> */ public class ListGroupsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ListGroupsResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ListGroupsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ListGroupsResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The applications.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>message</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>71BCC0E3-64B2-4B63-A870-AFB64EBCB58A</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public ListGroupsResponseBody build() { return new ListGroupsResponseBody(this); } } /** * * {@link ListGroupsResponseBody} extends {@link TeaModel} * * <p>ListGroupsResponseBody</p> */ public static class AppGroups extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppGroupId") private Long appGroupId; @com.aliyun.core.annotation.NameInMap("AppKey") private String appKey; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("AppVersion") private Integer appVersion; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; private AppGroups(Builder builder) { this.appGroupId = builder.appGroupId; this.appKey = builder.appKey; this.appName = builder.appName; this.appVersion = builder.appVersion; this.description = builder.description; this.groupId = builder.groupId; this.namespace = builder.namespace; } public static Builder builder() { return new Builder(); } public static AppGroups create() { return builder().build(); } /** * @return appGroupId */ public Long getAppGroupId() { return this.appGroupId; } /** * @return appKey */ public String getAppKey() { return this.appKey; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return appVersion */ public Integer getAppVersion() { return this.appVersion; } /** * @return description */ public String getDescription() { return this.description; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } public static final class Builder { private Long appGroupId; private String appKey; private String appName; private Integer appVersion; private String description; private String groupId; private String namespace; private Builder() { } private Builder(AppGroups model) { this.appGroupId = model.appGroupId; this.appKey = model.appKey; this.appName = model.appName; this.appVersion = model.appVersion; this.description = model.description; this.groupId = model.groupId; this.namespace = model.namespace; } /** * <p>The application group ID.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder appGroupId(Long appGroupId) { this.appGroupId = appGroupId; return this; } /** * <p>The AppKey for the application.</p> * * <strong>example:</strong> * <p>a3G77O6NZxq/lyo1NC****==</p> */ public Builder appKey(String appKey) { this.appKey = appKey; return this; } /** * <p>The name of the application.</p> * * <strong>example:</strong> * <p>DocTest</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * <p>The application version. 1: Basic version, 2: Professional version.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder appVersion(Integer appVersion) { this.appVersion = appVersion; return this; } /** * <p>The description of the application.</p> * * <strong>example:</strong> * <p>Test</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The application ID.</p> * * <strong>example:</strong> * <p>DocTest.Group</p> */ public Builder groupId(String groupId) { this.groupId = groupId; return this; } /** * <p>The ID of the namespace.</p> * * <strong>example:</strong> * <p>1a72ecb1-b4cc-400a-a71b-20cdec9b****</p> */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } public AppGroups build() { return new AppGroups(this); } } } /** * * {@link ListGroupsResponseBody} extends {@link TeaModel} * * <p>ListGroupsResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppGroups") private java.util.List<AppGroups> appGroups; private Data(Builder builder) { this.appGroups = builder.appGroups; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appGroups */ public java.util.List<AppGroups> getAppGroups() { return this.appGroups; } public static final class Builder { private java.util.List<AppGroups> appGroups; private Builder() { } private Builder(Data model) { this.appGroups = model.appGroups; } /** * <p>The applications and their details.</p> */ public Builder appGroups(java.util.List<AppGroups> appGroups) { this.appGroups = appGroups; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListJobScriptHistoryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListJobScriptHistoryRequest} extends {@link RequestModel} * * <p>ListJobScriptHistoryRequest</p> */ public class ListJobScriptHistoryRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobId") @com.aliyun.core.annotation.Validation(required = true) private Long jobId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private ListJobScriptHistoryRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.jobId = builder.jobId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static ListJobScriptHistoryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<ListJobScriptHistoryRequest, Builder> { private String groupId; private Long jobId; private String namespace; private String namespaceSource; private String regionId; private Builder() { super(); } private Builder(ListJobScriptHistoryRequest request) { super(request); this.groupId = request.groupId; this.jobId = request.jobId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>92583</p> */ public Builder jobId(Long jobId) { this.putQueryParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>4F68ABED-AC31-4412-9297-D9A8F0401108</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * NamespaceSource. */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public ListJobScriptHistoryRequest build() { return new ListJobScriptHistoryRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListJobScriptHistoryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListJobScriptHistoryResponse} extends {@link TeaModel} * * <p>ListJobScriptHistoryResponse</p> */ public class ListJobScriptHistoryResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListJobScriptHistoryResponseBody body; private ListJobScriptHistoryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListJobScriptHistoryResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ListJobScriptHistoryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListJobScriptHistoryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListJobScriptHistoryResponseBody body); @Override ListJobScriptHistoryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListJobScriptHistoryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListJobScriptHistoryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListJobScriptHistoryResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ListJobScriptHistoryResponseBody body) { this.body = body; return this; } @Override public ListJobScriptHistoryResponse build() { return new ListJobScriptHistoryResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListJobScriptHistoryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListJobScriptHistoryResponseBody} extends {@link TeaModel} * * <p>ListJobScriptHistoryResponseBody</p> */ public class ListJobScriptHistoryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ListJobScriptHistoryResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ListJobScriptHistoryResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ListJobScriptHistoryResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * Code. */ public Builder code(Integer code) { this.code = code; return this; } /** * <ul> * <li></li> * </ul> */ public Builder data(Data data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public ListJobScriptHistoryResponseBody build() { return new ListJobScriptHistoryResponseBody(this); } } /** * * {@link ListJobScriptHistoryResponseBody} extends {@link TeaModel} * * <p>ListJobScriptHistoryResponseBody</p> */ public static class JobScriptHistoryInfos extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("Creator") private String creator; @com.aliyun.core.annotation.NameInMap("ScriptContent") private String scriptContent; @com.aliyun.core.annotation.NameInMap("VersionesDescription") private String versionesDescription; private JobScriptHistoryInfos(Builder builder) { this.createTime = builder.createTime; this.creator = builder.creator; this.scriptContent = builder.scriptContent; this.versionesDescription = builder.versionesDescription; } public static Builder builder() { return new Builder(); } public static JobScriptHistoryInfos create() { return builder().build(); } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return creator */ public String getCreator() { return this.creator; } /** * @return scriptContent */ public String getScriptContent() { return this.scriptContent; } /** * @return versionesDescription */ public String getVersionesDescription() { return this.versionesDescription; } public static final class Builder { private String createTime; private String creator; private String scriptContent; private String versionesDescription; private Builder() { } private Builder(JobScriptHistoryInfos model) { this.createTime = model.createTime; this.creator = model.creator; this.scriptContent = model.scriptContent; this.versionesDescription = model.versionesDescription; } /** * CreateTime. */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * Creator. */ public Builder creator(String creator) { this.creator = creator; return this; } /** * ScriptContent. */ public Builder scriptContent(String scriptContent) { this.scriptContent = scriptContent; return this; } /** * VersionesDescription. */ public Builder versionesDescription(String versionesDescription) { this.versionesDescription = versionesDescription; return this; } public JobScriptHistoryInfos build() { return new JobScriptHistoryInfos(this); } } } /** * * {@link ListJobScriptHistoryResponseBody} extends {@link TeaModel} * * <p>ListJobScriptHistoryResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("JobScriptHistoryInfos") private java.util.List<JobScriptHistoryInfos> jobScriptHistoryInfos; private Data(Builder builder) { this.jobScriptHistoryInfos = builder.jobScriptHistoryInfos; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return jobScriptHistoryInfos */ public java.util.List<JobScriptHistoryInfos> getJobScriptHistoryInfos() { return this.jobScriptHistoryInfos; } public static final class Builder { private java.util.List<JobScriptHistoryInfos> jobScriptHistoryInfos; private Builder() { } private Builder(Data model) { this.jobScriptHistoryInfos = model.jobScriptHistoryInfos; } /** * <ul> * <li></li> * </ul> */ public Builder jobScriptHistoryInfos(java.util.List<JobScriptHistoryInfos> jobScriptHistoryInfos) { this.jobScriptHistoryInfos = jobScriptHistoryInfos; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListJobsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListJobsRequest} extends {@link RequestModel} * * <p>ListJobsRequest</p> */ public class ListJobsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobName") private String jobName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private String status; private ListJobsRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.jobName = builder.jobName; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static ListJobsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobName */ public String getJobName() { return this.jobName; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder extends Request.Builder<ListJobsRequest, Builder> { private String groupId; private String jobName; private String namespace; private String namespaceSource; private String regionId; private String status; private Builder() { super(); } private Builder(ListJobsRequest request) { super(request); this.groupId = request.groupId; this.jobName = request.jobName; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; this.status = request.status; } /** * <p>The ID of the application. You can obtain the application ID on the <strong>Application Management</strong> page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>DocTest.Group</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The name of the job.</p> * * <strong>example:</strong> * <p>helloword</p> */ public Builder jobName(String jobName) { this.putQueryParameter("JobName", jobName); this.jobName = jobName; return this; } /** * <p>The ID of the namespace. You can obtain the namespace ID on the <strong>Namespace</strong> page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1a72ecb1-b4cc-400a-a71b-20cdec9b****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The ID of the region.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>Specifies whether to enable the job. Valid values:</p> * <ul> * <li><strong>0</strong>: disables the job.</li> * <li><strong>1</strong>: enables the job.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(String status) { this.putQueryParameter("Status", status); this.status = status; return this; } @Override public ListJobsRequest build() { return new ListJobsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListJobsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListJobsResponse} extends {@link TeaModel} * * <p>ListJobsResponse</p> */ public class ListJobsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListJobsResponseBody body; private ListJobsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListJobsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ListJobsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListJobsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListJobsResponseBody body); @Override ListJobsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListJobsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListJobsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListJobsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ListJobsResponseBody body) { this.body = body; return this; } @Override public ListJobsResponse build() { return new ListJobsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListJobsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListJobsResponseBody} extends {@link TeaModel} * * <p>ListJobsResponseBody</p> */ public class ListJobsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ListJobsResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ListJobsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ListJobsResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code that is returned.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The information about the jobs.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The error message that is returned if an error occurs.</p> * * <strong>example:</strong> * <p>namespace can not find namespace: 1a72ecb1-b4cc-400a-a71b-20cdec9b****, namespaceSource:null</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>71BCC0E3-64B2-4B63-A870-AFB64EBCB58B</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the call is successful. Valid values:</p> * <ul> * <li><strong>true</strong>: The call is successful.</li> * <li><strong>false</strong>: The call fails.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public ListJobsResponseBody build() { return new ListJobsResponseBody(this); } } /** * * {@link ListJobsResponseBody} extends {@link TeaModel} * * <p>ListJobsResponseBody</p> */ public static class ContactInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Ding") private String ding; @com.aliyun.core.annotation.NameInMap("UserMail") private String userMail; @com.aliyun.core.annotation.NameInMap("UserName") private String userName; @com.aliyun.core.annotation.NameInMap("UserPhone") private String userPhone; private ContactInfo(Builder builder) { this.ding = builder.ding; this.userMail = builder.userMail; this.userName = builder.userName; this.userPhone = builder.userPhone; } public static Builder builder() { return new Builder(); } public static ContactInfo create() { return builder().build(); } /** * @return ding */ public String getDing() { return this.ding; } /** * @return userMail */ public String getUserMail() { return this.userMail; } /** * @return userName */ public String getUserName() { return this.userName; } /** * @return userPhone */ public String getUserPhone() { return this.userPhone; } public static final class Builder { private String ding; private String userMail; private String userName; private String userPhone; private Builder() { } private Builder(ContactInfo model) { this.ding = model.ding; this.userMail = model.userMail; this.userName = model.userName; this.userPhone = model.userPhone; } /** * <p>The webhook URL of the DingTalk chatbot.</p> * * <strong>example:</strong> * <p><a href="https://oapi.dingtalk.com/robot/send?access_token=">https://oapi.dingtalk.com/robot/send?access_token=</a>**********</p> */ public Builder ding(String ding) { this.ding = ding; return this; } /** * <p>The email address of the user.</p> * * <strong>example:</strong> * <p><a href="mailto:user@mail.com">user@mail.com</a></p> */ public Builder userMail(String userMail) { this.userMail = userMail; return this; } /** * <p>The username.</p> * * <strong>example:</strong> * <p>userA</p> */ public Builder userName(String userName) { this.userName = userName; return this; } /** * <p>The mobile number of the user.</p> * * <strong>example:</strong> * <p>1381111****</p> */ public Builder userPhone(String userPhone) { this.userPhone = userPhone; return this; } public ContactInfo build() { return new ContactInfo(this); } } } /** * * {@link ListJobsResponseBody} extends {@link TeaModel} * * <p>ListJobsResponseBody</p> */ public static class MonitorConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("FailEnable") private Boolean failEnable; @com.aliyun.core.annotation.NameInMap("MissWorkerEnable") private Boolean missWorkerEnable; @com.aliyun.core.annotation.NameInMap("SendChannel") private String sendChannel; @com.aliyun.core.annotation.NameInMap("Timeout") private Long timeout; @com.aliyun.core.annotation.NameInMap("TimeoutEnable") private Boolean timeoutEnable; @com.aliyun.core.annotation.NameInMap("TimeoutKillEnable") private Boolean timeoutKillEnable; private MonitorConfig(Builder builder) { this.failEnable = builder.failEnable; this.missWorkerEnable = builder.missWorkerEnable; this.sendChannel = builder.sendChannel; this.timeout = builder.timeout; this.timeoutEnable = builder.timeoutEnable; this.timeoutKillEnable = builder.timeoutKillEnable; } public static Builder builder() { return new Builder(); } public static MonitorConfig create() { return builder().build(); } /** * @return failEnable */ public Boolean getFailEnable() { return this.failEnable; } /** * @return missWorkerEnable */ public Boolean getMissWorkerEnable() { return this.missWorkerEnable; } /** * @return sendChannel */ public String getSendChannel() { return this.sendChannel; } /** * @return timeout */ public Long getTimeout() { return this.timeout; } /** * @return timeoutEnable */ public Boolean getTimeoutEnable() { return this.timeoutEnable; } /** * @return timeoutKillEnable */ public Boolean getTimeoutKillEnable() { return this.timeoutKillEnable; } public static final class Builder { private Boolean failEnable; private Boolean missWorkerEnable; private String sendChannel; private Long timeout; private Boolean timeoutEnable; private Boolean timeoutKillEnable; private Builder() { } private Builder(MonitorConfig model) { this.failEnable = model.failEnable; this.missWorkerEnable = model.missWorkerEnable; this.sendChannel = model.sendChannel; this.timeout = model.timeout; this.timeoutEnable = model.timeoutEnable; this.timeoutKillEnable = model.timeoutKillEnable; } /** * <p>Indicates whether the feature of generating an alert upon a failure is enabled. Valid values:</p> * <ul> * <li><strong>true</strong>: The feature is enabled.</li> * <li><strong>false</strong>: The feature is disabled.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder failEnable(Boolean failEnable) { this.failEnable = failEnable; return this; } /** * <p>Indicates whether the feature of generating an alert when no machine is available for running the job is enabled.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder missWorkerEnable(Boolean missWorkerEnable) { this.missWorkerEnable = missWorkerEnable; return this; } /** * <p>The method that is used to send an alert notification. Only Short Message Service (SMS) is supported.</p> * * <strong>example:</strong> * <p>sms</p> */ public Builder sendChannel(String sendChannel) { this.sendChannel = sendChannel; return this; } /** * <p>The timeout threshold. Unit: seconds. Default value: 7200.</p> * * <strong>example:</strong> * <p>12300</p> */ public Builder timeout(Long timeout) { this.timeout = timeout; return this; } /** * <p>Indicates whether the feature of generating an alert upon a timeout is enabled. Valid values:</p> * <ul> * <li><strong>true</strong>: The feature is enabled.</li> * <li><strong>false</strong>: The feature is disabled.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder timeoutEnable(Boolean timeoutEnable) { this.timeoutEnable = timeoutEnable; return this; } /** * <p>Indicates whether the feature of stopping job triggering upon a timeout is enabled. By default, the feature is disabled.</p> * <ul> * <li><strong>true</strong>: The feature is enabled.</li> * <li><strong>false</strong>: The feature is disabled.</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder timeoutKillEnable(Boolean timeoutKillEnable) { this.timeoutKillEnable = timeoutKillEnable; return this; } public MonitorConfig build() { return new MonitorConfig(this); } } } /** * * {@link ListJobsResponseBody} extends {@link TeaModel} * * <p>ListJobsResponseBody</p> */ public static class JobMonitorInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContactInfo") private java.util.List<ContactInfo> contactInfo; @com.aliyun.core.annotation.NameInMap("MonitorConfig") private MonitorConfig monitorConfig; private JobMonitorInfo(Builder builder) { this.contactInfo = builder.contactInfo; this.monitorConfig = builder.monitorConfig; } public static Builder builder() { return new Builder(); } public static JobMonitorInfo create() { return builder().build(); } /** * @return contactInfo */ public java.util.List<ContactInfo> getContactInfo() { return this.contactInfo; } /** * @return monitorConfig */ public MonitorConfig getMonitorConfig() { return this.monitorConfig; } public static final class Builder { private java.util.List<ContactInfo> contactInfo; private MonitorConfig monitorConfig; private Builder() { } private Builder(JobMonitorInfo model) { this.contactInfo = model.contactInfo; this.monitorConfig = model.monitorConfig; } /** * <p>The contact information.</p> */ public Builder contactInfo(java.util.List<ContactInfo> contactInfo) { this.contactInfo = contactInfo; return this; } /** * <p>The configurations of the alerting feature and the alert threshold.</p> */ public Builder monitorConfig(MonitorConfig monitorConfig) { this.monitorConfig = monitorConfig; return this; } public JobMonitorInfo build() { return new JobMonitorInfo(this); } } } /** * * {@link ListJobsResponseBody} extends {@link TeaModel} * * <p>ListJobsResponseBody</p> */ public static class MapTaskXAttrs extends TeaModel { @com.aliyun.core.annotation.NameInMap("ConsumerSize") private Integer consumerSize; @com.aliyun.core.annotation.NameInMap("DispatcherSize") private Integer dispatcherSize; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("QueueSize") private Integer queueSize; @com.aliyun.core.annotation.NameInMap("TaskAttemptInterval") private Integer taskAttemptInterval; @com.aliyun.core.annotation.NameInMap("TaskMaxAttempt") private Integer taskMaxAttempt; private MapTaskXAttrs(Builder builder) { this.consumerSize = builder.consumerSize; this.dispatcherSize = builder.dispatcherSize; this.pageSize = builder.pageSize; this.queueSize = builder.queueSize; this.taskAttemptInterval = builder.taskAttemptInterval; this.taskMaxAttempt = builder.taskMaxAttempt; } public static Builder builder() { return new Builder(); } public static MapTaskXAttrs create() { return builder().build(); } /** * @return consumerSize */ public Integer getConsumerSize() { return this.consumerSize; } /** * @return dispatcherSize */ public Integer getDispatcherSize() { return this.dispatcherSize; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return queueSize */ public Integer getQueueSize() { return this.queueSize; } /** * @return taskAttemptInterval */ public Integer getTaskAttemptInterval() { return this.taskAttemptInterval; } /** * @return taskMaxAttempt */ public Integer getTaskMaxAttempt() { return this.taskMaxAttempt; } public static final class Builder { private Integer consumerSize; private Integer dispatcherSize; private Integer pageSize; private Integer queueSize; private Integer taskAttemptInterval; private Integer taskMaxAttempt; private Builder() { } private Builder(MapTaskXAttrs model) { this.consumerSize = model.consumerSize; this.dispatcherSize = model.dispatcherSize; this.pageSize = model.pageSize; this.queueSize = model.queueSize; this.taskAttemptInterval = model.taskAttemptInterval; this.taskMaxAttempt = model.taskMaxAttempt; } /** * <p>The number of threads that are triggered by a standalone job at a time. Default value: 5.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder consumerSize(Integer consumerSize) { this.consumerSize = consumerSize; return this; } /** * <p>The number of task distribution threads. Default value: 5.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder dispatcherSize(Integer dispatcherSize) { this.dispatcherSize = dispatcherSize; return this; } /** * <p>The number of tasks that are pulled by a parallel job at a time. Default value: 100.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The maximum number of task queues that can be cached. Default value: 10000.</p> * * <strong>example:</strong> * <p>10000</p> */ public Builder queueSize(Integer queueSize) { this.queueSize = queueSize; return this; } /** * <p>The interval at which the system retries to run the task after a task failure.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder taskAttemptInterval(Integer taskAttemptInterval) { this.taskAttemptInterval = taskAttemptInterval; return this; } /** * <p>The number of retries after a task failure.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder taskMaxAttempt(Integer taskMaxAttempt) { this.taskMaxAttempt = taskMaxAttempt; return this; } public MapTaskXAttrs build() { return new MapTaskXAttrs(this); } } } /** * * {@link ListJobsResponseBody} extends {@link TeaModel} * * <p>ListJobsResponseBody</p> */ public static class TimeConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("Calendar") private String calendar; @com.aliyun.core.annotation.NameInMap("DataOffset") private Integer dataOffset; @com.aliyun.core.annotation.NameInMap("TimeExpression") private String timeExpression; @com.aliyun.core.annotation.NameInMap("TimeType") private Integer timeType; private TimeConfig(Builder builder) { this.calendar = builder.calendar; this.dataOffset = builder.dataOffset; this.timeExpression = builder.timeExpression; this.timeType = builder.timeType; } public static Builder builder() { return new Builder(); } public static TimeConfig create() { return builder().build(); } /** * @return calendar */ public String getCalendar() { return this.calendar; } /** * @return dataOffset */ public Integer getDataOffset() { return this.dataOffset; } /** * @return timeExpression */ public String getTimeExpression() { return this.timeExpression; } /** * @return timeType */ public Integer getTimeType() { return this.timeType; } public static final class Builder { private String calendar; private Integer dataOffset; private String timeExpression; private Integer timeType; private Builder() { } private Builder(TimeConfig model) { this.calendar = model.calendar; this.dataOffset = model.dataOffset; this.timeExpression = model.timeExpression; this.timeType = model.timeType; } /** * <p>If the TimeType parameter is set to cron, you can specify custom calendar days.</p> * * <strong>example:</strong> * <p>Business days</p> */ public Builder calendar(String calendar) { this.calendar = calendar; return this; } /** * <p>The time offset if the TimeType parameter is set to cron. Unit: seconds.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder dataOffset(Integer dataOffset) { this.dataOffset = dataOffset; return this; } /** * <p>The time expression. Valid values:</p> * <ul> * <li><strong>api</strong>: indicates that no time expression is used to specify the time when to schedule the job.</li> * <li><strong>fix_rate</strong>: indicates that the job is triggered at a fixed frequency. For example, a value of 30 indicates that the job is triggered every 30 seconds.</li> * <li><strong>cron</strong>: indicates that a standard CRON expression is used to specify the time when to schedule the job.</li> * <li><strong>second_delay</strong>: indicates that the job is triggered after a fixed delay. Valid values: 1 to 60. Unit: seconds.</li> * </ul> * * <strong>example:</strong> * <p>0 0/10 * * * ?</p> */ public Builder timeExpression(String timeExpression) { this.timeExpression = timeExpression; return this; } /** * <p>The method that is used to specify the time when to schedule the job. Valid values:</p> * <ul> * <li><strong>1</strong>: cron</li> * <li><strong>3</strong>: fix_rate</li> * <li><strong>4</strong>: second_delay</li> * <li><strong>100</strong>: api</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder timeType(Integer timeType) { this.timeType = timeType; return this; } public TimeConfig build() { return new TimeConfig(this); } } } /** * * {@link ListJobsResponseBody} extends {@link TeaModel} * * <p>ListJobsResponseBody</p> */ public static class Jobs extends TeaModel { @com.aliyun.core.annotation.NameInMap("AttemptInterval") private Integer attemptInterval; @com.aliyun.core.annotation.NameInMap("ClassName") private String className; @com.aliyun.core.annotation.NameInMap("Content") private String content; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("ExecuteMode") private String executeMode; @com.aliyun.core.annotation.NameInMap("JarUrl") private String jarUrl; @com.aliyun.core.annotation.NameInMap("JobId") private Long jobId; @com.aliyun.core.annotation.NameInMap("JobMonitorInfo") private JobMonitorInfo jobMonitorInfo; @com.aliyun.core.annotation.NameInMap("JobType") private String jobType; @com.aliyun.core.annotation.NameInMap("MapTaskXAttrs") private MapTaskXAttrs mapTaskXAttrs; @com.aliyun.core.annotation.NameInMap("MaxAttempt") private Integer maxAttempt; @com.aliyun.core.annotation.NameInMap("MaxConcurrency") private String maxConcurrency; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Parameters") private String parameters; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("TimeConfig") private TimeConfig timeConfig; @com.aliyun.core.annotation.NameInMap("XAttrs") private String xAttrs; private Jobs(Builder builder) { this.attemptInterval = builder.attemptInterval; this.className = builder.className; this.content = builder.content; this.description = builder.description; this.executeMode = builder.executeMode; this.jarUrl = builder.jarUrl; this.jobId = builder.jobId; this.jobMonitorInfo = builder.jobMonitorInfo; this.jobType = builder.jobType; this.mapTaskXAttrs = builder.mapTaskXAttrs; this.maxAttempt = builder.maxAttempt; this.maxConcurrency = builder.maxConcurrency; this.name = builder.name; this.parameters = builder.parameters; this.status = builder.status; this.timeConfig = builder.timeConfig; this.xAttrs = builder.xAttrs; } public static Builder builder() { return new Builder(); } public static Jobs create() { return builder().build(); } /** * @return attemptInterval */ public Integer getAttemptInterval() { return this.attemptInterval; } /** * @return className */ public String getClassName() { return this.className; } /** * @return content */ public String getContent() { return this.content; } /** * @return description */ public String getDescription() { return this.description; } /** * @return executeMode */ public String getExecuteMode() { return this.executeMode; } /** * @return jarUrl */ public String getJarUrl() { return this.jarUrl; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return jobMonitorInfo */ public JobMonitorInfo getJobMonitorInfo() { return this.jobMonitorInfo; } /** * @return jobType */ public String getJobType() { return this.jobType; } /** * @return mapTaskXAttrs */ public MapTaskXAttrs getMapTaskXAttrs() { return this.mapTaskXAttrs; } /** * @return maxAttempt */ public Integer getMaxAttempt() { return this.maxAttempt; } /** * @return maxConcurrency */ public String getMaxConcurrency() { return this.maxConcurrency; } /** * @return name */ public String getName() { return this.name; } /** * @return parameters */ public String getParameters() { return this.parameters; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return timeConfig */ public TimeConfig getTimeConfig() { return this.timeConfig; } /** * @return xAttrs */ public String getXAttrs() { return this.xAttrs; } public static final class Builder { private Integer attemptInterval; private String className; private String content; private String description; private String executeMode; private String jarUrl; private Long jobId; private JobMonitorInfo jobMonitorInfo; private String jobType; private MapTaskXAttrs mapTaskXAttrs; private Integer maxAttempt; private String maxConcurrency; private String name; private String parameters; private Integer status; private TimeConfig timeConfig; private String xAttrs; private Builder() { } private Builder(Jobs model) { this.attemptInterval = model.attemptInterval; this.className = model.className; this.content = model.content; this.description = model.description; this.executeMode = model.executeMode; this.jarUrl = model.jarUrl; this.jobId = model.jobId; this.jobMonitorInfo = model.jobMonitorInfo; this.jobType = model.jobType; this.mapTaskXAttrs = model.mapTaskXAttrs; this.maxAttempt = model.maxAttempt; this.maxConcurrency = model.maxConcurrency; this.name = model.name; this.parameters = model.parameters; this.status = model.status; this.timeConfig = model.timeConfig; this.xAttrs = model.xAttrs; } /** * <p>The interval at which the system retries to run the job after a job failure. Unit: seconds. Default value: 30.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder attemptInterval(Integer attemptInterval) { this.attemptInterval = attemptInterval; return this; } /** * <p>The full path of the job interface class. This parameter is returned only for a Java job.</p> * * <strong>example:</strong> * <p>com.alibaba.schedulerx.test.helloworld</p> */ public Builder className(String className) { this.className = className; return this; } /** * <p>The script of the job. This parameter is returned only for a Python, Shell, or Go job.</p> * * <strong>example:</strong> * <p>echo &quot;hello&quot;</p> */ public Builder content(String content) { this.content = content; return this; } /** * <p>The description of the job.</p> * * <strong>example:</strong> * <p>Test</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The execution mode of the job. Valid values:</p> * <ul> * <li><strong>standalone</strong>: The job runs in standalone mode.</li> * <li><strong>broadcast</strong>: The job runs in broadcast mode.</li> * <li><strong>parallel</strong>: The job runs in parallel computing mode.</li> * <li><strong>grid</strong>: The job runs in memory grid mode.</li> * <li><strong>batch</strong>: The job runs in grid computing mode.</li> * <li><strong>shard</strong>: The job runs in multipart mode.</li> * </ul> * * <strong>example:</strong> * <p>standalone</p> */ public Builder executeMode(String executeMode) { this.executeMode = executeMode; return this; } /** * <p>The full path to which a JAR package is uploaded in Object Storage Service (OSS).</p> * * <strong>example:</strong> * <p>https:doc***.oss-cn-hangzhou.aliyuncs.com/sc-****-D-0.0.2-SNAPSHOT.jar</p> */ public Builder jarUrl(String jarUrl) { this.jarUrl = jarUrl; return this; } /** * <p>The ID of the job.</p> * * <strong>example:</strong> * <p>99341</p> */ public Builder jobId(Long jobId) { this.jobId = jobId; return this; } /** * <p>The monitoring information of the job.</p> */ public Builder jobMonitorInfo(JobMonitorInfo jobMonitorInfo) { this.jobMonitorInfo = jobMonitorInfo; return this; } /** * <p>The type of the job.</p> * * <strong>example:</strong> * <p>java</p> */ public Builder jobType(String jobType) { this.jobType = jobType; return this; } /** * <p>The advanced configurations of the job. The parameters are returned only if the value of the ExecuteMode parameter is parallel, grid, or batch.</p> */ public Builder mapTaskXAttrs(MapTaskXAttrs mapTaskXAttrs) { this.mapTaskXAttrs = mapTaskXAttrs; return this; } /** * <p>The maximum number of retries after a job failure. This parameter is specified based on your business requirements. Default value: 0.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder maxAttempt(Integer maxAttempt) { this.maxAttempt = maxAttempt; return this; } /** * <p>The maximum number of instances that can concurrently run for the job. Default value: 1. A value of 1 indicates that if the last triggered instance is running, the next instance is not triggered even if the scheduled point in time for running the instance is reached.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder maxConcurrency(String maxConcurrency) { this.maxConcurrency = maxConcurrency; return this; } /** * <p>The name of the job.</p> * * <strong>example:</strong> * <p>helloworld</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The user-defined parameters. These parameters can be obtained when the job is running.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder parameters(String parameters) { this.parameters = parameters; return this; } /** * <p>Indicates whether the job is enabled. Valid values:</p> * <ul> * <li><strong>1</strong>: The job is enabled and can be triggered.</li> * <li><strong>0</strong>: The job is disabled and cannot be triggered.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The time configurations.</p> */ public Builder timeConfig(TimeConfig timeConfig) { this.timeConfig = timeConfig; return this; } /** * <p>The extended fields.</p> * * <strong>example:</strong> * <p>{&quot;pageSize&quot;:5,&quot;queueSize&quot;:10,&quot;consumerSize&quot;:5,&quot;dispatcherSize&quot;:5,&quot;taskMaxAttempt&quot;:0,&quot;taskAttemptInterval&quot;:0,&quot;globalConsumerSize&quot;:1000,&quot;taskDispatchMode&quot;:&quot;push&quot;}</p> */ public Builder xAttrs(String xAttrs) { this.xAttrs = xAttrs; return this; } public Jobs build() { return new Jobs(this); } } } /** * * {@link ListJobsResponseBody} extends {@link TeaModel} * * <p>ListJobsResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Jobs") private java.util.List<Jobs> jobs; private Data(Builder builder) { this.jobs = builder.jobs; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return jobs */ public java.util.List<Jobs> getJobs() { return this.jobs; } public static final class Builder { private java.util.List<Jobs> jobs; private Builder() { } private Builder(Data model) { this.jobs = model.jobs; } /** * <p>The jobs and their details.</p> */ public Builder jobs(java.util.List<Jobs> jobs) { this.jobs = jobs; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListNamespacesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListNamespacesRequest} extends {@link RequestModel} * * <p>ListNamespacesRequest</p> */ public class ListNamespacesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceName") private String namespaceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private ListNamespacesRequest(Builder builder) { super(builder); this.namespace = builder.namespace; this.namespaceName = builder.namespaceName; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static ListNamespacesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceName */ public String getNamespaceName() { return this.namespaceName; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<ListNamespacesRequest, Builder> { private String namespace; private String namespaceName; private String regionId; private Builder() { super(); } private Builder(ListNamespacesRequest request) { super(request); this.namespace = request.namespace; this.namespaceName = request.namespaceName; this.regionId = request.regionId; } /** * <p>The namespace ID.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The name of the namespace.</p> * * <strong>example:</strong> * <p>schedulerx-dev</p> */ public Builder namespaceName(String namespaceName) { this.putQueryParameter("NamespaceName", namespaceName); this.namespaceName = namespaceName; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public ListNamespacesRequest build() { return new ListNamespacesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListNamespacesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListNamespacesResponse} extends {@link TeaModel} * * <p>ListNamespacesResponse</p> */ public class ListNamespacesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListNamespacesResponseBody body; private ListNamespacesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListNamespacesResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ListNamespacesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListNamespacesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListNamespacesResponseBody body); @Override ListNamespacesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListNamespacesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListNamespacesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListNamespacesResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ListNamespacesResponseBody body) { this.body = body; return this; } @Override public ListNamespacesResponse build() { return new ListNamespacesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListNamespacesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListNamespacesResponseBody} extends {@link TeaModel} * * <p>ListNamespacesResponseBody</p> */ public class ListNamespacesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ListNamespacesResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ListNamespacesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ListNamespacesResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The information about the namespaces.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>message</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>71BCC0E3-64B2-4B63-A870-AFB64EBCB58C</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public ListNamespacesResponseBody build() { return new ListNamespacesResponseBody(this); } } /** * * {@link ListNamespacesResponseBody} extends {@link TeaModel} * * <p>ListNamespacesResponseBody</p> */ public static class Namespaces extends TeaModel { @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("UId") private String uId; private Namespaces(Builder builder) { this.description = builder.description; this.name = builder.name; this.uId = builder.uId; } public static Builder builder() { return new Builder(); } public static Namespaces create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return name */ public String getName() { return this.name; } /** * @return uId */ public String getUId() { return this.uId; } public static final class Builder { private String description; private String name; private String uId; private Builder() { } private Builder(Namespaces model) { this.description = model.description; this.name = model.name; this.uId = model.uId; } /** * <p>The description of the namespace.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The name of the namespace.</p> * * <strong>example:</strong> * <p>doc</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The namespace ID.</p> * * <strong>example:</strong> * <p>1a72ecb1-b4cc-400a-a71b-20cdec9b****</p> */ public Builder uId(String uId) { this.uId = uId; return this; } public Namespaces build() { return new Namespaces(this); } } } /** * * {@link ListNamespacesResponseBody} extends {@link TeaModel} * * <p>ListNamespacesResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Namespaces") private java.util.List<Namespaces> namespaces; private Data(Builder builder) { this.namespaces = builder.namespaces; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return namespaces */ public java.util.List<Namespaces> getNamespaces() { return this.namespaces; } public static final class Builder { private java.util.List<Namespaces> namespaces; private Builder() { } private Builder(Data model) { this.namespaces = model.namespaces; } /** * <p>The namespaces and their details.</p> */ public Builder namespaces(java.util.List<Namespaces> namespaces) { this.namespaces = namespaces; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListWorkflowInstanceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListWorkflowInstanceRequest} extends {@link RequestModel} * * <p>ListWorkflowInstanceRequest</p> */ public class ListWorkflowInstanceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("WorkflowId") @com.aliyun.core.annotation.Validation(required = true) private String workflowId; private ListWorkflowInstanceRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; this.workflowId = builder.workflowId; } public static Builder builder() { return new Builder(); } public static ListWorkflowInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return workflowId */ public String getWorkflowId() { return this.workflowId; } public static final class Builder extends Request.Builder<ListWorkflowInstanceRequest, Builder> { private String groupId; private String namespace; private String namespaceSource; private String regionId; private String workflowId; private Builder() { super(); } private Builder(ListWorkflowInstanceRequest request) { super(request); this.groupId = request.groupId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; this.workflowId = request.workflowId; } /** * <p>The application group ID. You can obtain the ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The workflow ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder workflowId(String workflowId) { this.putQueryParameter("WorkflowId", workflowId); this.workflowId = workflowId; return this; } @Override public ListWorkflowInstanceRequest build() { return new ListWorkflowInstanceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListWorkflowInstanceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListWorkflowInstanceResponse} extends {@link TeaModel} * * <p>ListWorkflowInstanceResponse</p> */ public class ListWorkflowInstanceResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListWorkflowInstanceResponseBody body; private ListWorkflowInstanceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListWorkflowInstanceResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ListWorkflowInstanceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListWorkflowInstanceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListWorkflowInstanceResponseBody body); @Override ListWorkflowInstanceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListWorkflowInstanceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListWorkflowInstanceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListWorkflowInstanceResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ListWorkflowInstanceResponseBody body) { this.body = body; return this; } @Override public ListWorkflowInstanceResponse build() { return new ListWorkflowInstanceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ListWorkflowInstanceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ListWorkflowInstanceResponseBody} extends {@link TeaModel} * * <p>ListWorkflowInstanceResponseBody</p> */ public class ListWorkflowInstanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ListWorkflowInstanceResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ListWorkflowInstanceResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ListWorkflowInstanceResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The information about workflow instances.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The returned error message.</p> * * <strong>example:</strong> * <p>workflowId=xxx is not existed</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>39090022-1F3B-4797-8518-6B61095F1AF0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public ListWorkflowInstanceResponseBody build() { return new ListWorkflowInstanceResponseBody(this); } } /** * * {@link ListWorkflowInstanceResponseBody} extends {@link TeaModel} * * <p>ListWorkflowInstanceResponseBody</p> */ public static class WfInstanceInfos extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataTime") private String dataTime; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("ScheduleTime") private String scheduleTime; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("WfInstanceId") private Long wfInstanceId; @com.aliyun.core.annotation.NameInMap("WorkflowId") private Long workflowId; private WfInstanceInfos(Builder builder) { this.dataTime = builder.dataTime; this.endTime = builder.endTime; this.scheduleTime = builder.scheduleTime; this.startTime = builder.startTime; this.status = builder.status; this.wfInstanceId = builder.wfInstanceId; this.workflowId = builder.workflowId; } public static Builder builder() { return new Builder(); } public static WfInstanceInfos create() { return builder().build(); } /** * @return dataTime */ public String getDataTime() { return this.dataTime; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return scheduleTime */ public String getScheduleTime() { return this.scheduleTime; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return wfInstanceId */ public Long getWfInstanceId() { return this.wfInstanceId; } /** * @return workflowId */ public Long getWorkflowId() { return this.workflowId; } public static final class Builder { private String dataTime; private String endTime; private String scheduleTime; private String startTime; private Integer status; private Long wfInstanceId; private Long workflowId; private Builder() { } private Builder(WfInstanceInfos model) { this.dataTime = model.dataTime; this.endTime = model.endTime; this.scheduleTime = model.scheduleTime; this.startTime = model.startTime; this.status = model.status; this.wfInstanceId = model.wfInstanceId; this.workflowId = model.workflowId; } /** * <p>The data timestamp of the workflow instance.</p> * * <strong>example:</strong> * <p>2023-01-03 18:00:00</p> */ public Builder dataTime(String dataTime) { this.dataTime = dataTime; return this; } /** * <p>The time when the workflow instance stopped running.</p> * * <strong>example:</strong> * <p>2023-01-03 18:00:21</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The time when the workflow instance was scheduled to run.</p> * * <strong>example:</strong> * <p>2023-01-03 18:00:00</p> */ public Builder scheduleTime(String scheduleTime) { this.scheduleTime = scheduleTime; return this; } /** * <p>The time when the workflow instance started to run.</p> * * <strong>example:</strong> * <p>2023-01-03 18:00:01</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The state of the workflow instance. Valid values:</p> * <ul> * <li>1: pending</li> * <li>2: preparing</li> * <li>3: running</li> * <li>4: successful</li> * <li>5: failed</li> * </ul> * * <strong>example:</strong> * <p>5</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The workflow instance ID.</p> * * <strong>example:</strong> * <p>123456</p> */ public Builder wfInstanceId(Long wfInstanceId) { this.wfInstanceId = wfInstanceId; return this; } /** * <p>The workflow ID.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder workflowId(Long workflowId) { this.workflowId = workflowId; return this; } public WfInstanceInfos build() { return new WfInstanceInfos(this); } } } /** * * {@link ListWorkflowInstanceResponseBody} extends {@link TeaModel} * * <p>ListWorkflowInstanceResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("WfInstanceInfos") private java.util.List<WfInstanceInfos> wfInstanceInfos; private Data(Builder builder) { this.wfInstanceInfos = builder.wfInstanceInfos; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return wfInstanceInfos */ public java.util.List<WfInstanceInfos> getWfInstanceInfos() { return this.wfInstanceInfos; } public static final class Builder { private java.util.List<WfInstanceInfos> wfInstanceInfos; private Builder() { } private Builder(Data model) { this.wfInstanceInfos = model.wfInstanceInfos; } /** * <p>The workflow instances.</p> */ public Builder wfInstanceInfos(java.util.List<WfInstanceInfos> wfInstanceInfos) { this.wfInstanceInfos = wfInstanceInfos; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ManageSchedulerxJobSyncRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ManageSchedulerxJobSyncRequest} extends {@link RequestModel} * * <p>ManageSchedulerxJobSyncRequest</p> */ public class ManageSchedulerxJobSyncRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("JobIdList") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<Long> jobIdList; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("OriginalGroupId") @com.aliyun.core.annotation.Validation(required = true) private String originalGroupId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("OriginalNamespace") @com.aliyun.core.annotation.Validation(required = true) private String originalNamespace; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TargetGroupId") @com.aliyun.core.annotation.Validation(required = true) private String targetGroupId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TargetNamespace") @com.aliyun.core.annotation.Validation(required = true) private String targetNamespace; private ManageSchedulerxJobSyncRequest(Builder builder) { super(builder); this.jobIdList = builder.jobIdList; this.namespaceSource = builder.namespaceSource; this.originalGroupId = builder.originalGroupId; this.originalNamespace = builder.originalNamespace; this.regionId = builder.regionId; this.targetGroupId = builder.targetGroupId; this.targetNamespace = builder.targetNamespace; } public static Builder builder() { return new Builder(); } public static ManageSchedulerxJobSyncRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return jobIdList */ public java.util.List<Long> getJobIdList() { return this.jobIdList; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return originalGroupId */ public String getOriginalGroupId() { return this.originalGroupId; } /** * @return originalNamespace */ public String getOriginalNamespace() { return this.originalNamespace; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return targetGroupId */ public String getTargetGroupId() { return this.targetGroupId; } /** * @return targetNamespace */ public String getTargetNamespace() { return this.targetNamespace; } public static final class Builder extends Request.Builder<ManageSchedulerxJobSyncRequest, Builder> { private java.util.List<Long> jobIdList; private String namespaceSource; private String originalGroupId; private String originalNamespace; private String regionId; private String targetGroupId; private String targetNamespace; private Builder() { super(); } private Builder(ManageSchedulerxJobSyncRequest request) { super(request); this.jobIdList = request.jobIdList; this.namespaceSource = request.namespaceSource; this.originalGroupId = request.originalGroupId; this.originalNamespace = request.originalNamespace; this.regionId = request.regionId; this.targetGroupId = request.targetGroupId; this.targetNamespace = request.targetNamespace; } /** * <p>This parameter is required.</p> */ public Builder jobIdList(java.util.List<Long> jobIdList) { String jobIdListShrink = shrink(jobIdList, "JobIdList", "json"); this.putBodyParameter("JobIdList", jobIdListShrink); this.jobIdList = jobIdList; return this; } /** * NamespaceSource. */ public Builder namespaceSource(String namespaceSource) { this.putBodyParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder originalGroupId(String originalGroupId) { this.putBodyParameter("OriginalGroupId", originalGroupId); this.originalGroupId = originalGroupId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder originalNamespace(String originalNamespace) { this.putBodyParameter("OriginalNamespace", originalNamespace); this.originalNamespace = originalNamespace; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putBodyParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSyncJobGroup</p> */ public Builder targetGroupId(String targetGroupId) { this.putBodyParameter("TargetGroupId", targetGroupId); this.targetGroupId = targetGroupId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>5f56ef65-b836-493d-b40b-c4db6425****</p> */ public Builder targetNamespace(String targetNamespace) { this.putBodyParameter("TargetNamespace", targetNamespace); this.targetNamespace = targetNamespace; return this; } @Override public ManageSchedulerxJobSyncRequest build() { return new ManageSchedulerxJobSyncRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ManageSchedulerxJobSyncResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ManageSchedulerxJobSyncResponse} extends {@link TeaModel} * * <p>ManageSchedulerxJobSyncResponse</p> */ public class ManageSchedulerxJobSyncResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ManageSchedulerxJobSyncResponseBody body; private ManageSchedulerxJobSyncResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ManageSchedulerxJobSyncResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ManageSchedulerxJobSyncResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ManageSchedulerxJobSyncResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ManageSchedulerxJobSyncResponseBody body); @Override ManageSchedulerxJobSyncResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ManageSchedulerxJobSyncResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ManageSchedulerxJobSyncResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ManageSchedulerxJobSyncResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ManageSchedulerxJobSyncResponseBody body) { this.body = body; return this; } @Override public ManageSchedulerxJobSyncResponse build() { return new ManageSchedulerxJobSyncResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ManageSchedulerxJobSyncResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ManageSchedulerxJobSyncResponseBody} extends {@link TeaModel} * * <p>ManageSchedulerxJobSyncResponseBody</p> */ public class ManageSchedulerxJobSyncResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ManageSchedulerxJobSyncResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ManageSchedulerxJobSyncResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ManageSchedulerxJobSyncResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * Code. */ public Builder code(Integer code) { this.code = code; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public ManageSchedulerxJobSyncResponseBody build() { return new ManageSchedulerxJobSyncResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ReadSchedulerxDesignateDetailRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ReadSchedulerxDesignateDetailRequest} extends {@link RequestModel} * * <p>ReadSchedulerxDesignateDetailRequest</p> */ public class ReadSchedulerxDesignateDetailRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DesignateType") private Integer designateType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobId") @com.aliyun.core.annotation.Validation(required = true) private Long jobId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private ReadSchedulerxDesignateDetailRequest(Builder builder) { super(builder); this.designateType = builder.designateType; this.groupId = builder.groupId; this.jobId = builder.jobId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static ReadSchedulerxDesignateDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return designateType */ public Integer getDesignateType() { return this.designateType; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<ReadSchedulerxDesignateDetailRequest, Builder> { private Integer designateType; private String groupId; private Long jobId; private String namespace; private String namespaceSource; private String regionId; private Builder() { super(); } private Builder(ReadSchedulerxDesignateDetailRequest request) { super(request); this.designateType = request.designateType; this.groupId = request.groupId; this.jobId = request.jobId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; } /** * DesignateType. */ public Builder designateType(Integer designateType) { this.putQueryParameter("DesignateType", designateType); this.designateType = designateType; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test.defalutGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>368</p> */ public Builder jobId(Long jobId) { this.putQueryParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * NamespaceSource. */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public ReadSchedulerxDesignateDetailRequest build() { return new ReadSchedulerxDesignateDetailRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ReadSchedulerxDesignateDetailResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ReadSchedulerxDesignateDetailResponse} extends {@link TeaModel} * * <p>ReadSchedulerxDesignateDetailResponse</p> */ public class ReadSchedulerxDesignateDetailResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ReadSchedulerxDesignateDetailResponseBody body; private ReadSchedulerxDesignateDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ReadSchedulerxDesignateDetailResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ReadSchedulerxDesignateDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ReadSchedulerxDesignateDetailResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ReadSchedulerxDesignateDetailResponseBody body); @Override ReadSchedulerxDesignateDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ReadSchedulerxDesignateDetailResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ReadSchedulerxDesignateDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ReadSchedulerxDesignateDetailResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ReadSchedulerxDesignateDetailResponseBody body) { this.body = body; return this; } @Override public ReadSchedulerxDesignateDetailResponse build() { return new ReadSchedulerxDesignateDetailResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ReadSchedulerxDesignateDetailResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ReadSchedulerxDesignateDetailResponseBody} extends {@link TeaModel} * * <p>ReadSchedulerxDesignateDetailResponseBody</p> */ public class ReadSchedulerxDesignateDetailResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccessDeniedDetail") private AccessDeniedDetail accessDeniedDetail; @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ReadSchedulerxDesignateDetailResponseBody(Builder builder) { this.accessDeniedDetail = builder.accessDeniedDetail; this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ReadSchedulerxDesignateDetailResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accessDeniedDetail */ public AccessDeniedDetail getAccessDeniedDetail() { return this.accessDeniedDetail; } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private AccessDeniedDetail accessDeniedDetail; private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ReadSchedulerxDesignateDetailResponseBody model) { this.accessDeniedDetail = model.accessDeniedDetail; this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * AccessDeniedDetail. */ public Builder accessDeniedDetail(AccessDeniedDetail accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; return this; } /** * Code. */ public Builder code(Integer code) { this.code = code; return this; } /** * <ul> * <li></li> * </ul> */ public Builder data(Data data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public ReadSchedulerxDesignateDetailResponseBody build() { return new ReadSchedulerxDesignateDetailResponseBody(this); } } /** * * {@link ReadSchedulerxDesignateDetailResponseBody} extends {@link TeaModel} * * <p>ReadSchedulerxDesignateDetailResponseBody</p> */ public static class AccessDeniedDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthAction") private String authAction; @com.aliyun.core.annotation.NameInMap("AuthPrincipalDisplayName") private String authPrincipalDisplayName; @com.aliyun.core.annotation.NameInMap("AuthPrincipalOwnerId") private String authPrincipalOwnerId; @com.aliyun.core.annotation.NameInMap("AuthPrincipalType") private String authPrincipalType; @com.aliyun.core.annotation.NameInMap("EncodedDiagnosticMessage") private String encodedDiagnosticMessage; @com.aliyun.core.annotation.NameInMap("NoPermissionType") private String noPermissionType; @com.aliyun.core.annotation.NameInMap("PolicyType") private String policyType; private AccessDeniedDetail(Builder builder) { this.authAction = builder.authAction; this.authPrincipalDisplayName = builder.authPrincipalDisplayName; this.authPrincipalOwnerId = builder.authPrincipalOwnerId; this.authPrincipalType = builder.authPrincipalType; this.encodedDiagnosticMessage = builder.encodedDiagnosticMessage; this.noPermissionType = builder.noPermissionType; this.policyType = builder.policyType; } public static Builder builder() { return new Builder(); } public static AccessDeniedDetail create() { return builder().build(); } /** * @return authAction */ public String getAuthAction() { return this.authAction; } /** * @return authPrincipalDisplayName */ public String getAuthPrincipalDisplayName() { return this.authPrincipalDisplayName; } /** * @return authPrincipalOwnerId */ public String getAuthPrincipalOwnerId() { return this.authPrincipalOwnerId; } /** * @return authPrincipalType */ public String getAuthPrincipalType() { return this.authPrincipalType; } /** * @return encodedDiagnosticMessage */ public String getEncodedDiagnosticMessage() { return this.encodedDiagnosticMessage; } /** * @return noPermissionType */ public String getNoPermissionType() { return this.noPermissionType; } /** * @return policyType */ public String getPolicyType() { return this.policyType; } public static final class Builder { private String authAction; private String authPrincipalDisplayName; private String authPrincipalOwnerId; private String authPrincipalType; private String encodedDiagnosticMessage; private String noPermissionType; private String policyType; private Builder() { } private Builder(AccessDeniedDetail model) { this.authAction = model.authAction; this.authPrincipalDisplayName = model.authPrincipalDisplayName; this.authPrincipalOwnerId = model.authPrincipalOwnerId; this.authPrincipalType = model.authPrincipalType; this.encodedDiagnosticMessage = model.encodedDiagnosticMessage; this.noPermissionType = model.noPermissionType; this.policyType = model.policyType; } /** * AuthAction. */ public Builder authAction(String authAction) { this.authAction = authAction; return this; } /** * AuthPrincipalDisplayName. */ public Builder authPrincipalDisplayName(String authPrincipalDisplayName) { this.authPrincipalDisplayName = authPrincipalDisplayName; return this; } /** * AuthPrincipalOwnerId. */ public Builder authPrincipalOwnerId(String authPrincipalOwnerId) { this.authPrincipalOwnerId = authPrincipalOwnerId; return this; } /** * AuthPrincipalType. */ public Builder authPrincipalType(String authPrincipalType) { this.authPrincipalType = authPrincipalType; return this; } /** * EncodedDiagnosticMessage. */ public Builder encodedDiagnosticMessage(String encodedDiagnosticMessage) { this.encodedDiagnosticMessage = encodedDiagnosticMessage; return this; } /** * NoPermissionType. */ public Builder noPermissionType(String noPermissionType) { this.noPermissionType = noPermissionType; return this; } /** * PolicyType. */ public Builder policyType(String policyType) { this.policyType = policyType; return this; } public AccessDeniedDetail build() { return new AccessDeniedDetail(this); } } } /** * * {@link ReadSchedulerxDesignateDetailResponseBody} extends {@link TeaModel} * * <p>ReadSchedulerxDesignateDetailResponseBody</p> */ public static class Metrics extends TeaModel { @com.aliyun.core.annotation.NameInMap("CpuLoad1") private Double cpuLoad1; @com.aliyun.core.annotation.NameInMap("CpuLoad5") private Double cpuLoad5; @com.aliyun.core.annotation.NameInMap("CpuProcessors") private Integer cpuProcessors; @com.aliyun.core.annotation.NameInMap("DiskMax") private Integer diskMax; @com.aliyun.core.annotation.NameInMap("DiskUsage") private Double diskUsage; @com.aliyun.core.annotation.NameInMap("DiskUsed") private Integer diskUsed; @com.aliyun.core.annotation.NameInMap("ExecCount") private Long execCount; @com.aliyun.core.annotation.NameInMap("Heap1Usage") private Double heap1Usage; @com.aliyun.core.annotation.NameInMap("Heap1Used") private Double heap1Used; @com.aliyun.core.annotation.NameInMap("Heap5Usage") private Double heap5Usage; @com.aliyun.core.annotation.NameInMap("HeapMax") private Integer heapMax; @com.aliyun.core.annotation.NameInMap("SharePoolAvailableSize") private Integer sharePoolAvailableSize; @com.aliyun.core.annotation.NameInMap("SharePoolQueueSize") private Integer sharePoolQueueSize; private Metrics(Builder builder) { this.cpuLoad1 = builder.cpuLoad1; this.cpuLoad5 = builder.cpuLoad5; this.cpuProcessors = builder.cpuProcessors; this.diskMax = builder.diskMax; this.diskUsage = builder.diskUsage; this.diskUsed = builder.diskUsed; this.execCount = builder.execCount; this.heap1Usage = builder.heap1Usage; this.heap1Used = builder.heap1Used; this.heap5Usage = builder.heap5Usage; this.heapMax = builder.heapMax; this.sharePoolAvailableSize = builder.sharePoolAvailableSize; this.sharePoolQueueSize = builder.sharePoolQueueSize; } public static Builder builder() { return new Builder(); } public static Metrics create() { return builder().build(); } /** * @return cpuLoad1 */ public Double getCpuLoad1() { return this.cpuLoad1; } /** * @return cpuLoad5 */ public Double getCpuLoad5() { return this.cpuLoad5; } /** * @return cpuProcessors */ public Integer getCpuProcessors() { return this.cpuProcessors; } /** * @return diskMax */ public Integer getDiskMax() { return this.diskMax; } /** * @return diskUsage */ public Double getDiskUsage() { return this.diskUsage; } /** * @return diskUsed */ public Integer getDiskUsed() { return this.diskUsed; } /** * @return execCount */ public Long getExecCount() { return this.execCount; } /** * @return heap1Usage */ public Double getHeap1Usage() { return this.heap1Usage; } /** * @return heap1Used */ public Double getHeap1Used() { return this.heap1Used; } /** * @return heap5Usage */ public Double getHeap5Usage() { return this.heap5Usage; } /** * @return heapMax */ public Integer getHeapMax() { return this.heapMax; } /** * @return sharePoolAvailableSize */ public Integer getSharePoolAvailableSize() { return this.sharePoolAvailableSize; } /** * @return sharePoolQueueSize */ public Integer getSharePoolQueueSize() { return this.sharePoolQueueSize; } public static final class Builder { private Double cpuLoad1; private Double cpuLoad5; private Integer cpuProcessors; private Integer diskMax; private Double diskUsage; private Integer diskUsed; private Long execCount; private Double heap1Usage; private Double heap1Used; private Double heap5Usage; private Integer heapMax; private Integer sharePoolAvailableSize; private Integer sharePoolQueueSize; private Builder() { } private Builder(Metrics model) { this.cpuLoad1 = model.cpuLoad1; this.cpuLoad5 = model.cpuLoad5; this.cpuProcessors = model.cpuProcessors; this.diskMax = model.diskMax; this.diskUsage = model.diskUsage; this.diskUsed = model.diskUsed; this.execCount = model.execCount; this.heap1Usage = model.heap1Usage; this.heap1Used = model.heap1Used; this.heap5Usage = model.heap5Usage; this.heapMax = model.heapMax; this.sharePoolAvailableSize = model.sharePoolAvailableSize; this.sharePoolQueueSize = model.sharePoolQueueSize; } /** * CpuLoad1. */ public Builder cpuLoad1(Double cpuLoad1) { this.cpuLoad1 = cpuLoad1; return this; } /** * CpuLoad5. */ public Builder cpuLoad5(Double cpuLoad5) { this.cpuLoad5 = cpuLoad5; return this; } /** * CpuProcessors. */ public Builder cpuProcessors(Integer cpuProcessors) { this.cpuProcessors = cpuProcessors; return this; } /** * DiskMax. */ public Builder diskMax(Integer diskMax) { this.diskMax = diskMax; return this; } /** * DiskUsage. */ public Builder diskUsage(Double diskUsage) { this.diskUsage = diskUsage; return this; } /** * DiskUsed. */ public Builder diskUsed(Integer diskUsed) { this.diskUsed = diskUsed; return this; } /** * ExecCount. */ public Builder execCount(Long execCount) { this.execCount = execCount; return this; } /** * Heap1Usage. */ public Builder heap1Usage(Double heap1Usage) { this.heap1Usage = heap1Usage; return this; } /** * Heap1Used. */ public Builder heap1Used(Double heap1Used) { this.heap1Used = heap1Used; return this; } /** * Heap5Usage. */ public Builder heap5Usage(Double heap5Usage) { this.heap5Usage = heap5Usage; return this; } /** * HeapMax. */ public Builder heapMax(Integer heapMax) { this.heapMax = heapMax; return this; } /** * SharePoolAvailableSize. */ public Builder sharePoolAvailableSize(Integer sharePoolAvailableSize) { this.sharePoolAvailableSize = sharePoolAvailableSize; return this; } /** * SharePoolQueueSize. */ public Builder sharePoolQueueSize(Integer sharePoolQueueSize) { this.sharePoolQueueSize = sharePoolQueueSize; return this; } public Metrics build() { return new Metrics(this); } } } /** * * {@link ReadSchedulerxDesignateDetailResponseBody} extends {@link TeaModel} * * <p>ReadSchedulerxDesignateDetailResponseBody</p> */ public static class DesignateDetailVos extends TeaModel { @com.aliyun.core.annotation.NameInMap("Busy") private String busy; @com.aliyun.core.annotation.NameInMap("Checked") private Boolean checked; @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Metrics") private Metrics metrics; @com.aliyun.core.annotation.NameInMap("Offline") private Boolean offline; @com.aliyun.core.annotation.NameInMap("Size") private Integer size; @com.aliyun.core.annotation.NameInMap("Starter") private String starter; @com.aliyun.core.annotation.NameInMap("Version") private String version; private DesignateDetailVos(Builder builder) { this.busy = builder.busy; this.checked = builder.checked; this.key = builder.key; this.metrics = builder.metrics; this.offline = builder.offline; this.size = builder.size; this.starter = builder.starter; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static DesignateDetailVos create() { return builder().build(); } /** * @return busy */ public String getBusy() { return this.busy; } /** * @return checked */ public Boolean getChecked() { return this.checked; } /** * @return key */ public String getKey() { return this.key; } /** * @return metrics */ public Metrics getMetrics() { return this.metrics; } /** * @return offline */ public Boolean getOffline() { return this.offline; } /** * @return size */ public Integer getSize() { return this.size; } /** * @return starter */ public String getStarter() { return this.starter; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private String busy; private Boolean checked; private String key; private Metrics metrics; private Boolean offline; private Integer size; private String starter; private String version; private Builder() { } private Builder(DesignateDetailVos model) { this.busy = model.busy; this.checked = model.checked; this.key = model.key; this.metrics = model.metrics; this.offline = model.offline; this.size = model.size; this.starter = model.starter; this.version = model.version; } /** * Busy. */ public Builder busy(String busy) { this.busy = busy; return this; } /** * Checked. */ public Builder checked(Boolean checked) { this.checked = checked; return this; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Metrics. */ public Builder metrics(Metrics metrics) { this.metrics = metrics; return this; } /** * Offline. */ public Builder offline(Boolean offline) { this.offline = offline; return this; } /** * Size. */ public Builder size(Integer size) { this.size = size; return this; } /** * Starter. */ public Builder starter(String starter) { this.starter = starter; return this; } /** * Version. */ public Builder version(String version) { this.version = version; return this; } public DesignateDetailVos build() { return new DesignateDetailVos(this); } } } /** * * {@link ReadSchedulerxDesignateDetailResponseBody} extends {@link TeaModel} * * <p>ReadSchedulerxDesignateDetailResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("DesignateDetailVos") private java.util.List<DesignateDetailVos> designateDetailVos; private Data(Builder builder) { this.designateDetailVos = builder.designateDetailVos; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return designateDetailVos */ public java.util.List<DesignateDetailVos> getDesignateDetailVos() { return this.designateDetailVos; } public static final class Builder { private java.util.List<DesignateDetailVos> designateDetailVos; private Builder() { } private Builder(Data model) { this.designateDetailVos = model.designateDetailVos; } /** * <ul> * <li></li> * </ul> */ public Builder designateDetailVos(java.util.List<DesignateDetailVos> designateDetailVos) { this.designateDetailVos = designateDetailVos; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ReadSchedulerxDesignateInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ReadSchedulerxDesignateInfoRequest} extends {@link RequestModel} * * <p>ReadSchedulerxDesignateInfoRequest</p> */ public class ReadSchedulerxDesignateInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobId") @com.aliyun.core.annotation.Validation(required = true) private Long jobId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private ReadSchedulerxDesignateInfoRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.jobId = builder.jobId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static ReadSchedulerxDesignateInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<ReadSchedulerxDesignateInfoRequest, Builder> { private String groupId; private Long jobId; private String namespace; private String namespaceSource; private String regionId; private Builder() { super(); } private Builder(ReadSchedulerxDesignateInfoRequest request) { super(request); this.groupId = request.groupId; this.jobId = request.jobId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test.defalutGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>368</p> */ public Builder jobId(Long jobId) { this.putQueryParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * NamespaceSource. */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public ReadSchedulerxDesignateInfoRequest build() { return new ReadSchedulerxDesignateInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ReadSchedulerxDesignateInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ReadSchedulerxDesignateInfoResponse} extends {@link TeaModel} * * <p>ReadSchedulerxDesignateInfoResponse</p> */ public class ReadSchedulerxDesignateInfoResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ReadSchedulerxDesignateInfoResponseBody body; private ReadSchedulerxDesignateInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ReadSchedulerxDesignateInfoResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ReadSchedulerxDesignateInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ReadSchedulerxDesignateInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ReadSchedulerxDesignateInfoResponseBody body); @Override ReadSchedulerxDesignateInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ReadSchedulerxDesignateInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ReadSchedulerxDesignateInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ReadSchedulerxDesignateInfoResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ReadSchedulerxDesignateInfoResponseBody body) { this.body = body; return this; } @Override public ReadSchedulerxDesignateInfoResponse build() { return new ReadSchedulerxDesignateInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/ReadSchedulerxDesignateInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 ReadSchedulerxDesignateInfoResponseBody} extends {@link TeaModel} * * <p>ReadSchedulerxDesignateInfoResponseBody</p> */ public class ReadSchedulerxDesignateInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccessDeniedDetail") private AccessDeniedDetail accessDeniedDetail; @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ReadSchedulerxDesignateInfoResponseBody(Builder builder) { this.accessDeniedDetail = builder.accessDeniedDetail; this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ReadSchedulerxDesignateInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accessDeniedDetail */ public AccessDeniedDetail getAccessDeniedDetail() { return this.accessDeniedDetail; } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private AccessDeniedDetail accessDeniedDetail; private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ReadSchedulerxDesignateInfoResponseBody model) { this.accessDeniedDetail = model.accessDeniedDetail; this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * AccessDeniedDetail. */ public Builder accessDeniedDetail(AccessDeniedDetail accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; return this; } /** * Code. */ public Builder code(Integer code) { this.code = code; return this; } /** * <ul> * <li></li> * </ul> */ public Builder data(Data data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public ReadSchedulerxDesignateInfoResponseBody build() { return new ReadSchedulerxDesignateInfoResponseBody(this); } } /** * * {@link ReadSchedulerxDesignateInfoResponseBody} extends {@link TeaModel} * * <p>ReadSchedulerxDesignateInfoResponseBody</p> */ public static class AccessDeniedDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthAction") private String authAction; @com.aliyun.core.annotation.NameInMap("AuthPrincipalDisplayName") private String authPrincipalDisplayName; @com.aliyun.core.annotation.NameInMap("AuthPrincipalOwnerId") private String authPrincipalOwnerId; @com.aliyun.core.annotation.NameInMap("AuthPrincipalType") private String authPrincipalType; @com.aliyun.core.annotation.NameInMap("EncodedDiagnosticMessage") private String encodedDiagnosticMessage; @com.aliyun.core.annotation.NameInMap("NoPermissionType") private String noPermissionType; @com.aliyun.core.annotation.NameInMap("PolicyType") private String policyType; private AccessDeniedDetail(Builder builder) { this.authAction = builder.authAction; this.authPrincipalDisplayName = builder.authPrincipalDisplayName; this.authPrincipalOwnerId = builder.authPrincipalOwnerId; this.authPrincipalType = builder.authPrincipalType; this.encodedDiagnosticMessage = builder.encodedDiagnosticMessage; this.noPermissionType = builder.noPermissionType; this.policyType = builder.policyType; } public static Builder builder() { return new Builder(); } public static AccessDeniedDetail create() { return builder().build(); } /** * @return authAction */ public String getAuthAction() { return this.authAction; } /** * @return authPrincipalDisplayName */ public String getAuthPrincipalDisplayName() { return this.authPrincipalDisplayName; } /** * @return authPrincipalOwnerId */ public String getAuthPrincipalOwnerId() { return this.authPrincipalOwnerId; } /** * @return authPrincipalType */ public String getAuthPrincipalType() { return this.authPrincipalType; } /** * @return encodedDiagnosticMessage */ public String getEncodedDiagnosticMessage() { return this.encodedDiagnosticMessage; } /** * @return noPermissionType */ public String getNoPermissionType() { return this.noPermissionType; } /** * @return policyType */ public String getPolicyType() { return this.policyType; } public static final class Builder { private String authAction; private String authPrincipalDisplayName; private String authPrincipalOwnerId; private String authPrincipalType; private String encodedDiagnosticMessage; private String noPermissionType; private String policyType; private Builder() { } private Builder(AccessDeniedDetail model) { this.authAction = model.authAction; this.authPrincipalDisplayName = model.authPrincipalDisplayName; this.authPrincipalOwnerId = model.authPrincipalOwnerId; this.authPrincipalType = model.authPrincipalType; this.encodedDiagnosticMessage = model.encodedDiagnosticMessage; this.noPermissionType = model.noPermissionType; this.policyType = model.policyType; } /** * AuthAction. */ public Builder authAction(String authAction) { this.authAction = authAction; return this; } /** * AuthPrincipalDisplayName. */ public Builder authPrincipalDisplayName(String authPrincipalDisplayName) { this.authPrincipalDisplayName = authPrincipalDisplayName; return this; } /** * AuthPrincipalOwnerId. */ public Builder authPrincipalOwnerId(String authPrincipalOwnerId) { this.authPrincipalOwnerId = authPrincipalOwnerId; return this; } /** * AuthPrincipalType. */ public Builder authPrincipalType(String authPrincipalType) { this.authPrincipalType = authPrincipalType; return this; } /** * EncodedDiagnosticMessage. */ public Builder encodedDiagnosticMessage(String encodedDiagnosticMessage) { this.encodedDiagnosticMessage = encodedDiagnosticMessage; return this; } /** * NoPermissionType. */ public Builder noPermissionType(String noPermissionType) { this.noPermissionType = noPermissionType; return this; } /** * PolicyType. */ public Builder policyType(String policyType) { this.policyType = policyType; return this; } public AccessDeniedDetail build() { return new AccessDeniedDetail(this); } } } /** * * {@link ReadSchedulerxDesignateInfoResponseBody} extends {@link TeaModel} * * <p>ReadSchedulerxDesignateInfoResponseBody</p> */ public static class Metrics extends TeaModel { @com.aliyun.core.annotation.NameInMap("CpuLoad1") private Double cpuLoad1; @com.aliyun.core.annotation.NameInMap("CpuLoad5") private Double cpuLoad5; @com.aliyun.core.annotation.NameInMap("CpuProcessors") private Integer cpuProcessors; @com.aliyun.core.annotation.NameInMap("DiskMax") private Integer diskMax; @com.aliyun.core.annotation.NameInMap("DiskUsage") private Double diskUsage; @com.aliyun.core.annotation.NameInMap("DiskUsed") private Integer diskUsed; @com.aliyun.core.annotation.NameInMap("ExecCount") private Long execCount; @com.aliyun.core.annotation.NameInMap("Heap1Usage") private Double heap1Usage; @com.aliyun.core.annotation.NameInMap("Heap1Used") private Double heap1Used; @com.aliyun.core.annotation.NameInMap("Heap5Usage") private Double heap5Usage; @com.aliyun.core.annotation.NameInMap("HeapMax") private Integer heapMax; @com.aliyun.core.annotation.NameInMap("SharePoolAvailableSize") private Integer sharePoolAvailableSize; @com.aliyun.core.annotation.NameInMap("SharePoolQueueSize") private Integer sharePoolQueueSize; private Metrics(Builder builder) { this.cpuLoad1 = builder.cpuLoad1; this.cpuLoad5 = builder.cpuLoad5; this.cpuProcessors = builder.cpuProcessors; this.diskMax = builder.diskMax; this.diskUsage = builder.diskUsage; this.diskUsed = builder.diskUsed; this.execCount = builder.execCount; this.heap1Usage = builder.heap1Usage; this.heap1Used = builder.heap1Used; this.heap5Usage = builder.heap5Usage; this.heapMax = builder.heapMax; this.sharePoolAvailableSize = builder.sharePoolAvailableSize; this.sharePoolQueueSize = builder.sharePoolQueueSize; } public static Builder builder() { return new Builder(); } public static Metrics create() { return builder().build(); } /** * @return cpuLoad1 */ public Double getCpuLoad1() { return this.cpuLoad1; } /** * @return cpuLoad5 */ public Double getCpuLoad5() { return this.cpuLoad5; } /** * @return cpuProcessors */ public Integer getCpuProcessors() { return this.cpuProcessors; } /** * @return diskMax */ public Integer getDiskMax() { return this.diskMax; } /** * @return diskUsage */ public Double getDiskUsage() { return this.diskUsage; } /** * @return diskUsed */ public Integer getDiskUsed() { return this.diskUsed; } /** * @return execCount */ public Long getExecCount() { return this.execCount; } /** * @return heap1Usage */ public Double getHeap1Usage() { return this.heap1Usage; } /** * @return heap1Used */ public Double getHeap1Used() { return this.heap1Used; } /** * @return heap5Usage */ public Double getHeap5Usage() { return this.heap5Usage; } /** * @return heapMax */ public Integer getHeapMax() { return this.heapMax; } /** * @return sharePoolAvailableSize */ public Integer getSharePoolAvailableSize() { return this.sharePoolAvailableSize; } /** * @return sharePoolQueueSize */ public Integer getSharePoolQueueSize() { return this.sharePoolQueueSize; } public static final class Builder { private Double cpuLoad1; private Double cpuLoad5; private Integer cpuProcessors; private Integer diskMax; private Double diskUsage; private Integer diskUsed; private Long execCount; private Double heap1Usage; private Double heap1Used; private Double heap5Usage; private Integer heapMax; private Integer sharePoolAvailableSize; private Integer sharePoolQueueSize; private Builder() { } private Builder(Metrics model) { this.cpuLoad1 = model.cpuLoad1; this.cpuLoad5 = model.cpuLoad5; this.cpuProcessors = model.cpuProcessors; this.diskMax = model.diskMax; this.diskUsage = model.diskUsage; this.diskUsed = model.diskUsed; this.execCount = model.execCount; this.heap1Usage = model.heap1Usage; this.heap1Used = model.heap1Used; this.heap5Usage = model.heap5Usage; this.heapMax = model.heapMax; this.sharePoolAvailableSize = model.sharePoolAvailableSize; this.sharePoolQueueSize = model.sharePoolQueueSize; } /** * CpuLoad1. */ public Builder cpuLoad1(Double cpuLoad1) { this.cpuLoad1 = cpuLoad1; return this; } /** * CpuLoad5. */ public Builder cpuLoad5(Double cpuLoad5) { this.cpuLoad5 = cpuLoad5; return this; } /** * CpuProcessors. */ public Builder cpuProcessors(Integer cpuProcessors) { this.cpuProcessors = cpuProcessors; return this; } /** * DiskMax. */ public Builder diskMax(Integer diskMax) { this.diskMax = diskMax; return this; } /** * DiskUsage. */ public Builder diskUsage(Double diskUsage) { this.diskUsage = diskUsage; return this; } /** * DiskUsed. */ public Builder diskUsed(Integer diskUsed) { this.diskUsed = diskUsed; return this; } /** * ExecCount. */ public Builder execCount(Long execCount) { this.execCount = execCount; return this; } /** * Heap1Usage. */ public Builder heap1Usage(Double heap1Usage) { this.heap1Usage = heap1Usage; return this; } /** * Heap1Used. */ public Builder heap1Used(Double heap1Used) { this.heap1Used = heap1Used; return this; } /** * Heap5Usage. */ public Builder heap5Usage(Double heap5Usage) { this.heap5Usage = heap5Usage; return this; } /** * HeapMax. */ public Builder heapMax(Integer heapMax) { this.heapMax = heapMax; return this; } /** * SharePoolAvailableSize. */ public Builder sharePoolAvailableSize(Integer sharePoolAvailableSize) { this.sharePoolAvailableSize = sharePoolAvailableSize; return this; } /** * SharePoolQueueSize. */ public Builder sharePoolQueueSize(Integer sharePoolQueueSize) { this.sharePoolQueueSize = sharePoolQueueSize; return this; } public Metrics build() { return new Metrics(this); } } } /** * * {@link ReadSchedulerxDesignateInfoResponseBody} extends {@link TeaModel} * * <p>ReadSchedulerxDesignateInfoResponseBody</p> */ public static class DesignateDetailVos extends TeaModel { @com.aliyun.core.annotation.NameInMap("Busy") private String busy; @com.aliyun.core.annotation.NameInMap("Checked") private Boolean checked; @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Metrics") private Metrics metrics; @com.aliyun.core.annotation.NameInMap("Offline") private Boolean offline; @com.aliyun.core.annotation.NameInMap("Size") private Integer size; @com.aliyun.core.annotation.NameInMap("Starter") private String starter; @com.aliyun.core.annotation.NameInMap("Version") private String version; private DesignateDetailVos(Builder builder) { this.busy = builder.busy; this.checked = builder.checked; this.key = builder.key; this.metrics = builder.metrics; this.offline = builder.offline; this.size = builder.size; this.starter = builder.starter; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static DesignateDetailVos create() { return builder().build(); } /** * @return busy */ public String getBusy() { return this.busy; } /** * @return checked */ public Boolean getChecked() { return this.checked; } /** * @return key */ public String getKey() { return this.key; } /** * @return metrics */ public Metrics getMetrics() { return this.metrics; } /** * @return offline */ public Boolean getOffline() { return this.offline; } /** * @return size */ public Integer getSize() { return this.size; } /** * @return starter */ public String getStarter() { return this.starter; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private String busy; private Boolean checked; private String key; private Metrics metrics; private Boolean offline; private Integer size; private String starter; private String version; private Builder() { } private Builder(DesignateDetailVos model) { this.busy = model.busy; this.checked = model.checked; this.key = model.key; this.metrics = model.metrics; this.offline = model.offline; this.size = model.size; this.starter = model.starter; this.version = model.version; } /** * Busy. */ public Builder busy(String busy) { this.busy = busy; return this; } /** * Checked. */ public Builder checked(Boolean checked) { this.checked = checked; return this; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Metrics. */ public Builder metrics(Metrics metrics) { this.metrics = metrics; return this; } /** * Offline. */ public Builder offline(Boolean offline) { this.offline = offline; return this; } /** * Size. */ public Builder size(Integer size) { this.size = size; return this; } /** * Starter. */ public Builder starter(String starter) { this.starter = starter; return this; } /** * Version. */ public Builder version(String version) { this.version = version; return this; } public DesignateDetailVos build() { return new DesignateDetailVos(this); } } } /** * * {@link ReadSchedulerxDesignateInfoResponseBody} extends {@link TeaModel} * * <p>ReadSchedulerxDesignateInfoResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("DesignateDetailVos") private java.util.List<DesignateDetailVos> designateDetailVos; @com.aliyun.core.annotation.NameInMap("DesignateType") private Integer designateType; @com.aliyun.core.annotation.NameInMap("Transferable") private Boolean transferable; private Data(Builder builder) { this.designateDetailVos = builder.designateDetailVos; this.designateType = builder.designateType; this.transferable = builder.transferable; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return designateDetailVos */ public java.util.List<DesignateDetailVos> getDesignateDetailVos() { return this.designateDetailVos; } /** * @return designateType */ public Integer getDesignateType() { return this.designateType; } /** * @return transferable */ public Boolean getTransferable() { return this.transferable; } public static final class Builder { private java.util.List<DesignateDetailVos> designateDetailVos; private Integer designateType; private Boolean transferable; private Builder() { } private Builder(Data model) { this.designateDetailVos = model.designateDetailVos; this.designateType = model.designateType; this.transferable = model.transferable; } /** * <ul> * <li></li> * </ul> */ public Builder designateDetailVos(java.util.List<DesignateDetailVos> designateDetailVos) { this.designateDetailVos = designateDetailVos; return this; } /** * DesignateType. */ public Builder designateType(Integer designateType) { this.designateType = designateType; return this; } /** * Transferable. */ public Builder transferable(Boolean transferable) { this.transferable = transferable; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/RerunJobRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 RerunJobRequest} extends {@link RequestModel} * * <p>RerunJobRequest</p> */ public class RerunJobRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("DataTime") @com.aliyun.core.annotation.Validation(required = true) private String dataTime; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("EndDate") @com.aliyun.core.annotation.Validation(required = true) private Long endDate; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("JobId") @com.aliyun.core.annotation.Validation(required = true) private Long jobId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("StartDate") @com.aliyun.core.annotation.Validation(required = true) private Long startDate; private RerunJobRequest(Builder builder) { super(builder); this.dataTime = builder.dataTime; this.endDate = builder.endDate; this.groupId = builder.groupId; this.jobId = builder.jobId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; this.startDate = builder.startDate; } public static Builder builder() { return new Builder(); } public static RerunJobRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return dataTime */ public String getDataTime() { return this.dataTime; } /** * @return endDate */ public Long getEndDate() { return this.endDate; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return startDate */ public Long getStartDate() { return this.startDate; } public static final class Builder extends Request.Builder<RerunJobRequest, Builder> { private String dataTime; private Long endDate; private String groupId; private Long jobId; private String namespace; private String namespaceSource; private String regionId; private Long startDate; private Builder() { super(); } private Builder(RerunJobRequest request) { super(request); this.dataTime = request.dataTime; this.endDate = request.endDate; this.groupId = request.groupId; this.jobId = request.jobId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; this.startDate = request.startDate; } /** * <p>The data timestamp of the job. Specify a string in the HH:mm:ss format.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>10:00:00</p> */ public Builder dataTime(String dataTime) { this.putBodyParameter("DataTime", dataTime); this.dataTime = dataTime; return this; } /** * <p>The time when the job stops running. Specify a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1645718400000</p> */ public Builder endDate(Long endDate) { this.putBodyParameter("EndDate", endDate); this.endDate = endDate; return this; } /** * <p>The application group ID. You can obtain the application group ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putBodyParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The job ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder jobId(Long jobId) { this.putBodyParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putBodyParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putBodyParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The time when the job starts to rerun. Specify a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1645459200000</p> */ public Builder startDate(Long startDate) { this.putBodyParameter("StartDate", startDate); this.startDate = startDate; return this; } @Override public RerunJobRequest build() { return new RerunJobRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/RerunJobResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 RerunJobResponse} extends {@link TeaModel} * * <p>RerunJobResponse</p> */ public class RerunJobResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private RerunJobResponseBody body; private RerunJobResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static RerunJobResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public RerunJobResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<RerunJobResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(RerunJobResponseBody body); @Override RerunJobResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<RerunJobResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private RerunJobResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(RerunJobResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(RerunJobResponseBody body) { this.body = body; return this; } @Override public RerunJobResponse build() { return new RerunJobResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/RerunJobResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 RerunJobResponseBody} extends {@link TeaModel} * * <p>RerunJobResponseBody</p> */ public class RerunJobResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private RerunJobResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static RerunJobResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(RerunJobResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The returned error message.</p> * * <strong>example:</strong> * <p>jobId=xxx is not existed</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>39090022-1F3B-4797-8518-6B61095F1AF0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public RerunJobResponseBody build() { return new RerunJobResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/RetryJobInstanceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 RetryJobInstanceRequest} extends {@link RequestModel} * * <p>RetryJobInstanceRequest</p> */ public class RetryJobInstanceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobId") @com.aliyun.core.annotation.Validation(required = true) private Long jobId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobInstanceId") @com.aliyun.core.annotation.Validation(required = true) private Long jobInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private RetryJobInstanceRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.jobId = builder.jobId; this.jobInstanceId = builder.jobInstanceId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static RetryJobInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return jobInstanceId */ public Long getJobInstanceId() { return this.jobInstanceId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<RetryJobInstanceRequest, Builder> { private String groupId; private Long jobId; private Long jobInstanceId; private String namespace; private String namespaceSource; private String regionId; private Builder() { super(); } private Builder(RetryJobInstanceRequest request) { super(request); this.groupId = request.groupId; this.jobId = request.jobId; this.jobInstanceId = request.jobInstanceId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; } /** * <p>The application group ID. You can obtain the application group ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The job ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder jobId(Long jobId) { this.putQueryParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>The job instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123456</p> */ public Builder jobInstanceId(Long jobInstanceId) { this.putQueryParameter("JobInstanceId", jobInstanceId); this.jobInstanceId = jobInstanceId; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public RetryJobInstanceRequest build() { return new RetryJobInstanceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/RetryJobInstanceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 RetryJobInstanceResponse} extends {@link TeaModel} * * <p>RetryJobInstanceResponse</p> */ public class RetryJobInstanceResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private RetryJobInstanceResponseBody body; private RetryJobInstanceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static RetryJobInstanceResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public RetryJobInstanceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<RetryJobInstanceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(RetryJobInstanceResponseBody body); @Override RetryJobInstanceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<RetryJobInstanceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private RetryJobInstanceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(RetryJobInstanceResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(RetryJobInstanceResponseBody body) { this.body = body; return this; } @Override public RetryJobInstanceResponse build() { return new RetryJobInstanceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/RetryJobInstanceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 RetryJobInstanceResponseBody} extends {@link TeaModel} * * <p>RetryJobInstanceResponseBody</p> */ public class RetryJobInstanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private RetryJobInstanceResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static RetryJobInstanceResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(RetryJobInstanceResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The returned error message.</p> * * <strong>example:</strong> * <p>jobId=xxx is not existed</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>39090022-1F3B-4797-8518-6B61095F1AF0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public RetryJobInstanceResponseBody build() { return new RetryJobInstanceResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/RevokePermissionRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 RevokePermissionRequest} extends {@link RequestModel} * * <p>RevokePermissionRequest</p> */ public class RevokePermissionRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UserId") @com.aliyun.core.annotation.Validation(required = true) private String userId; private RevokePermissionRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; this.userId = builder.userId; } public static Builder builder() { return new Builder(); } public static RevokePermissionRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return userId */ public String getUserId() { return this.userId; } public static final class Builder extends Request.Builder<RevokePermissionRequest, Builder> { private String groupId; private String namespace; private String namespaceSource; private String regionId; private String userId; private Builder() { super(); } private Builder(RevokePermissionRequest request) { super(request); this.groupId = request.groupId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; this.userId = request.userId; } /** * <p>The application ID. You can obtain the application ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test.defalutGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The unique identifier (UID) of the namespace. You can obtain the namespace UID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffcdf01</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-shenzhen</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The UID of the RAM user.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>277641081920123456</p> */ public Builder userId(String userId) { this.putQueryParameter("UserId", userId); this.userId = userId; return this; } @Override public RevokePermissionRequest build() { return new RevokePermissionRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/RevokePermissionResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 RevokePermissionResponse} extends {@link TeaModel} * * <p>RevokePermissionResponse</p> */ public class RevokePermissionResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private RevokePermissionResponseBody body; private RevokePermissionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static RevokePermissionResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public RevokePermissionResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<RevokePermissionResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(RevokePermissionResponseBody body); @Override RevokePermissionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<RevokePermissionResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private RevokePermissionResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(RevokePermissionResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(RevokePermissionResponseBody body) { this.body = body; return this; } @Override public RevokePermissionResponse build() { return new RevokePermissionResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/RevokePermissionResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 RevokePermissionResponseBody} extends {@link TeaModel} * * <p>RevokePermissionResponseBody</p> */ public class RevokePermissionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private RevokePermissionResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static RevokePermissionResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(RevokePermissionResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>400</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The error message that is returned only if the corresponding error occurs.</p> * * <strong>example:</strong> * <p>Your request is denied as lack of ssl protect.</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>4F68ABED-AC31-4412-9297-D9A8F0401108</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder success(Boolean success) { this.success = success; return this; } public RevokePermissionResponseBody build() { return new RevokePermissionResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/SetJobInstanceSuccessRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 SetJobInstanceSuccessRequest} extends {@link RequestModel} * * <p>SetJobInstanceSuccessRequest</p> */ public class SetJobInstanceSuccessRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobId") @com.aliyun.core.annotation.Validation(required = true) private Long jobId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobInstanceId") @com.aliyun.core.annotation.Validation(required = true) private Long jobInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private SetJobInstanceSuccessRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.jobId = builder.jobId; this.jobInstanceId = builder.jobInstanceId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static SetJobInstanceSuccessRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return jobInstanceId */ public Long getJobInstanceId() { return this.jobInstanceId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<SetJobInstanceSuccessRequest, Builder> { private String groupId; private Long jobId; private Long jobInstanceId; private String namespace; private String namespaceSource; private String regionId; private Builder() { super(); } private Builder(SetJobInstanceSuccessRequest request) { super(request); this.groupId = request.groupId; this.jobId = request.jobId; this.jobInstanceId = request.jobInstanceId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; } /** * <p>The application group ID. You can obtain the application group ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The job ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder jobId(Long jobId) { this.putQueryParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>The job instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123456</p> */ public Builder jobInstanceId(Long jobInstanceId) { this.putQueryParameter("JobInstanceId", jobInstanceId); this.jobInstanceId = jobInstanceId; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public SetJobInstanceSuccessRequest build() { return new SetJobInstanceSuccessRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/SetJobInstanceSuccessResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 SetJobInstanceSuccessResponse} extends {@link TeaModel} * * <p>SetJobInstanceSuccessResponse</p> */ public class SetJobInstanceSuccessResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private SetJobInstanceSuccessResponseBody body; private SetJobInstanceSuccessResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static SetJobInstanceSuccessResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public SetJobInstanceSuccessResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<SetJobInstanceSuccessResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(SetJobInstanceSuccessResponseBody body); @Override SetJobInstanceSuccessResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<SetJobInstanceSuccessResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private SetJobInstanceSuccessResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(SetJobInstanceSuccessResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(SetJobInstanceSuccessResponseBody body) { this.body = body; return this; } @Override public SetJobInstanceSuccessResponse build() { return new SetJobInstanceSuccessResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/SetJobInstanceSuccessResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 SetJobInstanceSuccessResponseBody} extends {@link TeaModel} * * <p>SetJobInstanceSuccessResponseBody</p> */ public class SetJobInstanceSuccessResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private SetJobInstanceSuccessResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static SetJobInstanceSuccessResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(SetJobInstanceSuccessResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The returned error message.</p> * * <strong>example:</strong> * <p>jobId=xxx is not existed</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>39090022-1F3B-4797-8518-6B61095F1AF0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public SetJobInstanceSuccessResponseBody build() { return new SetJobInstanceSuccessResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/SetWfInstanceSuccessRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 SetWfInstanceSuccessRequest} extends {@link RequestModel} * * <p>SetWfInstanceSuccessRequest</p> */ public class SetWfInstanceSuccessRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("WfInstanceId") @com.aliyun.core.annotation.Validation(required = true) private Long wfInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("WorkflowId") @com.aliyun.core.annotation.Validation(required = true) private Long workflowId; private SetWfInstanceSuccessRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; this.wfInstanceId = builder.wfInstanceId; this.workflowId = builder.workflowId; } public static Builder builder() { return new Builder(); } public static SetWfInstanceSuccessRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return wfInstanceId */ public Long getWfInstanceId() { return this.wfInstanceId; } /** * @return workflowId */ public Long getWorkflowId() { return this.workflowId; } public static final class Builder extends Request.Builder<SetWfInstanceSuccessRequest, Builder> { private String groupId; private String namespace; private String namespaceSource; private String regionId; private Long wfInstanceId; private Long workflowId; private Builder() { super(); } private Builder(SetWfInstanceSuccessRequest request) { super(request); this.groupId = request.groupId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; this.wfInstanceId = request.wfInstanceId; this.workflowId = request.workflowId; } /** * <p>The application group ID. You can obtain the application group ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The workflow instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123456789</p> */ public Builder wfInstanceId(Long wfInstanceId) { this.putQueryParameter("WfInstanceId", wfInstanceId); this.wfInstanceId = wfInstanceId; return this; } /** * <p>The workflow ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder workflowId(Long workflowId) { this.putQueryParameter("WorkflowId", workflowId); this.workflowId = workflowId; return this; } @Override public SetWfInstanceSuccessRequest build() { return new SetWfInstanceSuccessRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/SetWfInstanceSuccessResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 SetWfInstanceSuccessResponse} extends {@link TeaModel} * * <p>SetWfInstanceSuccessResponse</p> */ public class SetWfInstanceSuccessResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private SetWfInstanceSuccessResponseBody body; private SetWfInstanceSuccessResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static SetWfInstanceSuccessResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public SetWfInstanceSuccessResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<SetWfInstanceSuccessResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(SetWfInstanceSuccessResponseBody body); @Override SetWfInstanceSuccessResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<SetWfInstanceSuccessResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private SetWfInstanceSuccessResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(SetWfInstanceSuccessResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(SetWfInstanceSuccessResponseBody body) { this.body = body; return this; } @Override public SetWfInstanceSuccessResponse build() { return new SetWfInstanceSuccessResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/SetWfInstanceSuccessResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 SetWfInstanceSuccessResponseBody} extends {@link TeaModel} * * <p>SetWfInstanceSuccessResponseBody</p> */ public class SetWfInstanceSuccessResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private SetWfInstanceSuccessResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static SetWfInstanceSuccessResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(SetWfInstanceSuccessResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The error message that is returned only if the corresponding error occurs.</p> * * <strong>example:</strong> * <p>wofkflowId is not existed</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>4F68ABED-AC31-4412-9297-D9A8F0401108</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public SetWfInstanceSuccessResponseBody build() { return new SetWfInstanceSuccessResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/StopInstanceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 StopInstanceRequest} extends {@link RequestModel} * * <p>StopInstanceRequest</p> */ public class StopInstanceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") @com.aliyun.core.annotation.Validation(required = true) private Long instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobId") @com.aliyun.core.annotation.Validation(required = true) private Long jobId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private StopInstanceRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.instanceId = builder.instanceId; this.jobId = builder.jobId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static StopInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return instanceId */ public Long getInstanceId() { return this.instanceId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<StopInstanceRequest, Builder> { private String groupId; private Long instanceId; private Long jobId; private String namespace; private String namespaceSource; private String regionId; private Builder() { super(); } private Builder(StopInstanceRequest request) { super(request); this.groupId = request.groupId; this.instanceId = request.instanceId; this.jobId = request.jobId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; } /** * <p>The ID of the application. You can obtain the application ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The ID of the job instance in the running state.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>11111111</p> */ public Builder instanceId(Long instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The ID of the job. You can obtain the ID of the job on the Task Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>92583</p> */ public Builder jobId(Long jobId) { this.putQueryParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>The ID of the namespace. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putQueryParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The ID of the region.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public StopInstanceRequest build() { return new StopInstanceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/StopInstanceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 StopInstanceResponse} extends {@link TeaModel} * * <p>StopInstanceResponse</p> */ public class StopInstanceResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private StopInstanceResponseBody body; private StopInstanceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static StopInstanceResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public StopInstanceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<StopInstanceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(StopInstanceResponseBody body); @Override StopInstanceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<StopInstanceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private StopInstanceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(StopInstanceResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(StopInstanceResponseBody body) { this.body = body; return this; } @Override public StopInstanceResponse build() { return new StopInstanceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/StopInstanceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 StopInstanceResponseBody} extends {@link TeaModel} * * <p>StopInstanceResponseBody</p> */ public class StopInstanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private StopInstanceResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static StopInstanceResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(StopInstanceResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code that is returned.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The error message that is returned only if an error occurs.</p> * * <strong>example:</strong> * <p>Your request is denied as lack of ssl protect.</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>4F68ABED-AC31-4412-9297-D9A8F0401108</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the call is successful. Valid values:</p> * <ul> * <li><strong>true</strong>: The call is successful.</li> * <li><strong>false</strong>: The call fails.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public StopInstanceResponseBody build() { return new StopInstanceResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateAppGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateAppGroupRequest} extends {@link RequestModel} * * <p>UpdateAppGroupRequest</p> */ public class UpdateAppGroupRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppVersion") private Integer appVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MaxConcurrency") private Integer maxConcurrency; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MonitorConfigJson") private String monitorConfigJson; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MonitorContactsJson") private String monitorContactsJson; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private UpdateAppGroupRequest(Builder builder) { super(builder); this.appVersion = builder.appVersion; this.description = builder.description; this.groupId = builder.groupId; this.maxConcurrency = builder.maxConcurrency; this.monitorConfigJson = builder.monitorConfigJson; this.monitorContactsJson = builder.monitorContactsJson; this.namespace = builder.namespace; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static UpdateAppGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appVersion */ public Integer getAppVersion() { return this.appVersion; } /** * @return description */ public String getDescription() { return this.description; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return maxConcurrency */ public Integer getMaxConcurrency() { return this.maxConcurrency; } /** * @return monitorConfigJson */ public String getMonitorConfigJson() { return this.monitorConfigJson; } /** * @return monitorContactsJson */ public String getMonitorContactsJson() { return this.monitorContactsJson; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<UpdateAppGroupRequest, Builder> { private Integer appVersion; private String description; private String groupId; private Integer maxConcurrency; private String monitorConfigJson; private String monitorContactsJson; private String namespace; private String regionId; private Builder() { super(); } private Builder(UpdateAppGroupRequest request) { super(request); this.appVersion = request.appVersion; this.description = request.description; this.groupId = request.groupId; this.maxConcurrency = request.maxConcurrency; this.monitorConfigJson = request.monitorConfigJson; this.monitorContactsJson = request.monitorContactsJson; this.namespace = request.namespace; this.regionId = request.regionId; } /** * <p>The application version. 1: Basic version, 2: Professional version.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder appVersion(Integer appVersion) { this.putQueryParameter("AppVersion", appVersion); this.appVersion = appVersion; return this; } /** * <p>The description of the application.</p> * * <strong>example:</strong> * <p>Test</p> */ public Builder description(String description) { this.putQueryParameter("Description", description); this.description = description; return this; } /** * <p>The ID of the application. You can obtain the application ID on the <strong>Application Management</strong> page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The maximum number of concurrent instances. Default value: 1. A value of 1 specifies that if the last triggered instance is running, the next instance is not triggered even if the scheduled point in time for running the next instance is reached.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder maxConcurrency(Integer maxConcurrency) { this.putQueryParameter("MaxConcurrency", maxConcurrency); this.maxConcurrency = maxConcurrency; return this; } /** * <p>The configuration of the alert. The value is a JSON string. For more information about this parameter, see <strong>Additional information about request parameters</strong>.</p> * * <strong>example:</strong> * <p>{ * &quot;sendChannel&quot;: &quot;ding,sms,mail,phone&quot;, * &quot;alarmType&quot;: &quot;Contacts&quot;, * &quot;webhookIsAtAll&quot;: false * }</p> */ public Builder monitorConfigJson(String monitorConfigJson) { this.putQueryParameter("MonitorConfigJson", monitorConfigJson); this.monitorConfigJson = monitorConfigJson; return this; } /** * <p>The configuration of alert contacts. The value is a JSON string.</p> * * <strong>example:</strong> * <p>[{&quot;userName&quot;:&quot;Tom&quot;,&quot;userPhone&quot;:&quot;89756******&quot;},{&quot;userName&quot;:&quot;Bob&quot;,&quot;ding&quot;:&quot;<a href="http://www.example.com%22%7D%5D">http://www.example.com&quot;}]</a></p> */ public Builder monitorContactsJson(String monitorContactsJson) { this.putQueryParameter("MonitorContactsJson", monitorContactsJson); this.monitorContactsJson = monitorContactsJson; return this; } /** * <p>The ID of the namespace. You can obtain the ID of the namespace on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The ID of the region.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public UpdateAppGroupRequest build() { return new UpdateAppGroupRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateAppGroupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateAppGroupResponse} extends {@link TeaModel} * * <p>UpdateAppGroupResponse</p> */ public class UpdateAppGroupResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateAppGroupResponseBody body; private UpdateAppGroupResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateAppGroupResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateAppGroupResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateAppGroupResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateAppGroupResponseBody body); @Override UpdateAppGroupResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateAppGroupResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateAppGroupResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateAppGroupResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateAppGroupResponseBody body) { this.body = body; return this; } @Override public UpdateAppGroupResponse build() { return new UpdateAppGroupResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateAppGroupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateAppGroupResponseBody} extends {@link TeaModel} * * <p>UpdateAppGroupResponseBody</p> */ public class UpdateAppGroupResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private UpdateAppGroupResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static UpdateAppGroupResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(UpdateAppGroupResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code returned.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The additional information that is returned.</p> * * <strong>example:</strong> * <p>app is not existed, groupId=xxxx, namesapce=xxxx</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>4F68ABED-AC31-4412-9297-D9A8F0401108</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li>true: The request was successful.</li> * <li>false: The request failed.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public UpdateAppGroupResponseBody build() { return new UpdateAppGroupResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateJobRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateJobRequest} extends {@link RequestModel} * * <p>UpdateJobRequest</p> */ public class UpdateJobRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("AttemptInterval") private Integer attemptInterval; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Calendar") private String calendar; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ClassName") private String className; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ConsumerSize") private Integer consumerSize; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ContactInfo") private java.util.List<ContactInfo> contactInfo; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Content") private String content; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("DataOffset") private Integer dataOffset; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("DispatcherSize") private Integer dispatcherSize; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ExecuteMode") private String executeMode; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("FailEnable") private Boolean failEnable; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("FailTimes") private Integer failTimes; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("JobId") @com.aliyun.core.annotation.Validation(required = true) private Long jobId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("MaxAttempt") private Integer maxAttempt; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("MaxConcurrency") @com.aliyun.core.annotation.Validation(maximum = 200, minimum = 1) private Integer maxConcurrency; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("MissWorkerEnable") private Boolean missWorkerEnable; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Parameters") private String parameters; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Priority") private Integer priority; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("QueueSize") private Integer queueSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("SendChannel") private String sendChannel; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("SuccessNoticeEnable") private Boolean successNoticeEnable; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TaskAttemptInterval") private Integer taskAttemptInterval; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TaskDispatchMode") private String taskDispatchMode; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TaskMaxAttempt") @com.aliyun.core.annotation.Validation(maximum = 10) private Integer taskMaxAttempt; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Template") private String template; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TimeExpression") private String timeExpression; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TimeType") private Integer timeType; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Timeout") private Long timeout; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TimeoutEnable") private Boolean timeoutEnable; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TimeoutKillEnable") private Boolean timeoutKillEnable; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Timezone") private String timezone; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("XAttrs") private String xAttrs; private UpdateJobRequest(Builder builder) { super(builder); this.attemptInterval = builder.attemptInterval; this.calendar = builder.calendar; this.className = builder.className; this.consumerSize = builder.consumerSize; this.contactInfo = builder.contactInfo; this.content = builder.content; this.dataOffset = builder.dataOffset; this.description = builder.description; this.dispatcherSize = builder.dispatcherSize; this.executeMode = builder.executeMode; this.failEnable = builder.failEnable; this.failTimes = builder.failTimes; this.groupId = builder.groupId; this.jobId = builder.jobId; this.maxAttempt = builder.maxAttempt; this.maxConcurrency = builder.maxConcurrency; this.missWorkerEnable = builder.missWorkerEnable; this.name = builder.name; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.pageSize = builder.pageSize; this.parameters = builder.parameters; this.priority = builder.priority; this.queueSize = builder.queueSize; this.regionId = builder.regionId; this.sendChannel = builder.sendChannel; this.successNoticeEnable = builder.successNoticeEnable; this.taskAttemptInterval = builder.taskAttemptInterval; this.taskDispatchMode = builder.taskDispatchMode; this.taskMaxAttempt = builder.taskMaxAttempt; this.template = builder.template; this.timeExpression = builder.timeExpression; this.timeType = builder.timeType; this.timeout = builder.timeout; this.timeoutEnable = builder.timeoutEnable; this.timeoutKillEnable = builder.timeoutKillEnable; this.timezone = builder.timezone; this.xAttrs = builder.xAttrs; } public static Builder builder() { return new Builder(); } public static UpdateJobRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return attemptInterval */ public Integer getAttemptInterval() { return this.attemptInterval; } /** * @return calendar */ public String getCalendar() { return this.calendar; } /** * @return className */ public String getClassName() { return this.className; } /** * @return consumerSize */ public Integer getConsumerSize() { return this.consumerSize; } /** * @return contactInfo */ public java.util.List<ContactInfo> getContactInfo() { return this.contactInfo; } /** * @return content */ public String getContent() { return this.content; } /** * @return dataOffset */ public Integer getDataOffset() { return this.dataOffset; } /** * @return description */ public String getDescription() { return this.description; } /** * @return dispatcherSize */ public Integer getDispatcherSize() { return this.dispatcherSize; } /** * @return executeMode */ public String getExecuteMode() { return this.executeMode; } /** * @return failEnable */ public Boolean getFailEnable() { return this.failEnable; } /** * @return failTimes */ public Integer getFailTimes() { return this.failTimes; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return maxAttempt */ public Integer getMaxAttempt() { return this.maxAttempt; } /** * @return maxConcurrency */ public Integer getMaxConcurrency() { return this.maxConcurrency; } /** * @return missWorkerEnable */ public Boolean getMissWorkerEnable() { return this.missWorkerEnable; } /** * @return name */ public String getName() { return this.name; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return parameters */ public String getParameters() { return this.parameters; } /** * @return priority */ public Integer getPriority() { return this.priority; } /** * @return queueSize */ public Integer getQueueSize() { return this.queueSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return sendChannel */ public String getSendChannel() { return this.sendChannel; } /** * @return successNoticeEnable */ public Boolean getSuccessNoticeEnable() { return this.successNoticeEnable; } /** * @return taskAttemptInterval */ public Integer getTaskAttemptInterval() { return this.taskAttemptInterval; } /** * @return taskDispatchMode */ public String getTaskDispatchMode() { return this.taskDispatchMode; } /** * @return taskMaxAttempt */ public Integer getTaskMaxAttempt() { return this.taskMaxAttempt; } /** * @return template */ public String getTemplate() { return this.template; } /** * @return timeExpression */ public String getTimeExpression() { return this.timeExpression; } /** * @return timeType */ public Integer getTimeType() { return this.timeType; } /** * @return timeout */ public Long getTimeout() { return this.timeout; } /** * @return timeoutEnable */ public Boolean getTimeoutEnable() { return this.timeoutEnable; } /** * @return timeoutKillEnable */ public Boolean getTimeoutKillEnable() { return this.timeoutKillEnable; } /** * @return timezone */ public String getTimezone() { return this.timezone; } /** * @return xAttrs */ public String getXAttrs() { return this.xAttrs; } public static final class Builder extends Request.Builder<UpdateJobRequest, Builder> { private Integer attemptInterval; private String calendar; private String className; private Integer consumerSize; private java.util.List<ContactInfo> contactInfo; private String content; private Integer dataOffset; private String description; private Integer dispatcherSize; private String executeMode; private Boolean failEnable; private Integer failTimes; private String groupId; private Long jobId; private Integer maxAttempt; private Integer maxConcurrency; private Boolean missWorkerEnable; private String name; private String namespace; private String namespaceSource; private Integer pageSize; private String parameters; private Integer priority; private Integer queueSize; private String regionId; private String sendChannel; private Boolean successNoticeEnable; private Integer taskAttemptInterval; private String taskDispatchMode; private Integer taskMaxAttempt; private String template; private String timeExpression; private Integer timeType; private Long timeout; private Boolean timeoutEnable; private Boolean timeoutKillEnable; private String timezone; private String xAttrs; private Builder() { super(); } private Builder(UpdateJobRequest request) { super(request); this.attemptInterval = request.attemptInterval; this.calendar = request.calendar; this.className = request.className; this.consumerSize = request.consumerSize; this.contactInfo = request.contactInfo; this.content = request.content; this.dataOffset = request.dataOffset; this.description = request.description; this.dispatcherSize = request.dispatcherSize; this.executeMode = request.executeMode; this.failEnable = request.failEnable; this.failTimes = request.failTimes; this.groupId = request.groupId; this.jobId = request.jobId; this.maxAttempt = request.maxAttempt; this.maxConcurrency = request.maxConcurrency; this.missWorkerEnable = request.missWorkerEnable; this.name = request.name; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.pageSize = request.pageSize; this.parameters = request.parameters; this.priority = request.priority; this.queueSize = request.queueSize; this.regionId = request.regionId; this.sendChannel = request.sendChannel; this.successNoticeEnable = request.successNoticeEnable; this.taskAttemptInterval = request.taskAttemptInterval; this.taskDispatchMode = request.taskDispatchMode; this.taskMaxAttempt = request.taskMaxAttempt; this.template = request.template; this.timeExpression = request.timeExpression; this.timeType = request.timeType; this.timeout = request.timeout; this.timeoutEnable = request.timeoutEnable; this.timeoutKillEnable = request.timeoutKillEnable; this.timezone = request.timezone; this.xAttrs = request.xAttrs; } /** * <p>The interval of retries after a job failure. Default value: 30. Unit: seconds.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder attemptInterval(Integer attemptInterval) { this.putBodyParameter("AttemptInterval", attemptInterval); this.attemptInterval = attemptInterval; return this; } /** * <p>If you set TimeType to 1 (cron), you can specify calendar days.</p> * * <strong>example:</strong> * <p>Business days</p> */ public Builder calendar(String calendar) { this.putBodyParameter("Calendar", calendar); this.calendar = calendar; return this; } /** * <p>The full path of the job interface class.</p> * <p>This field is available only when you set the job type to java. In this case, you must enter a full path.</p> * * <strong>example:</strong> * <p>com.alibaba.test.helloworld</p> */ public Builder className(String className) { this.putBodyParameter("ClassName", className); this.className = className; return this; } /** * <p>The number of threads that are triggered by a single worker at a time. Default value: 5. This parameter is an advanced configuration item of the MapReduce job.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder consumerSize(Integer consumerSize) { this.putBodyParameter("ConsumerSize", consumerSize); this.consumerSize = consumerSize; return this; } /** * <p>The information about the alert contact.</p> */ public Builder contactInfo(java.util.List<ContactInfo> contactInfo) { this.putBodyParameter("ContactInfo", contactInfo); this.contactInfo = contactInfo; return this; } /** * <p>The script content. This parameter is required when you set the job type to python, shell, go, or k8s.</p> * * <strong>example:</strong> * <p>echo &quot;hello&quot;</p> */ public Builder content(String content) { this.putBodyParameter("Content", content); this.content = content; return this; } /** * <p>If you set TimeType to 1 (cron), you can specify a time offset. Unit: seconds.</p> * * <strong>example:</strong> * <p>2400</p> */ public Builder dataOffset(Integer dataOffset) { this.putBodyParameter("DataOffset", dataOffset); this.dataOffset = dataOffset; return this; } /** * <p>The job description.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder description(String description) { this.putBodyParameter("Description", description); this.description = description; return this; } /** * <p>The number of task distribution threads. Default value: 5. This parameter is an advanced configuration item of the MapReduce job.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder dispatcherSize(Integer dispatcherSize) { this.putBodyParameter("DispatcherSize", dispatcherSize); this.dispatcherSize = dispatcherSize; return this; } /** * <p>The execution mode of the job. Valid values:</p> * <ul> * <li><strong>Stand-alone operation</strong>: standalone</li> * <li><strong>Broadcast run</strong>: broadcatst</li> * <li><strong>Visual MapReduce</strong>: parallel</li> * <li><strong>MapReduce</strong>: batch</li> * <li><strong>Shard run</strong>: shard</li> * </ul> * * <strong>example:</strong> * <p>standalone</p> */ public Builder executeMode(String executeMode) { this.putBodyParameter("ExecuteMode", executeMode); this.executeMode = executeMode; return this; } /** * <p>Specifies whether to turn on Failure alarm. If the switch is turned on, an alert will be generated upon a failure. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder failEnable(Boolean failEnable) { this.putBodyParameter("FailEnable", failEnable); this.failEnable = failEnable; return this; } /** * <p>The number of consecutive failures. An alert will be received if the number of consecutive failures reaches the value of this parameter.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder failTimes(Integer failTimes) { this.putBodyParameter("FailTimes", failTimes); this.failTimes = failTimes; return this; } /** * <p>The application ID. You can obtain the application ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putBodyParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The job ID. You can obtain the job ID on the Task Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>92583</p> */ public Builder jobId(Long jobId) { this.putBodyParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>The maximum number of retries after a job failure. This parameter is specified based on your business requirements.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder maxAttempt(Integer maxAttempt) { this.putBodyParameter("MaxAttempt", maxAttempt); this.maxAttempt = maxAttempt; return this; } /** * <p>The maximum number of concurrent instances. Default value: 1. The default value indicates that only one instance is allowed to run at a time. When an instance is running, another instance is not triggered even if the scheduled time for running the instance is reached.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder maxConcurrency(Integer maxConcurrency) { this.putBodyParameter("MaxConcurrency", maxConcurrency); this.maxConcurrency = maxConcurrency; return this; } /** * <p>Specifies whether to turn on No machine alarm available. If the switch is turned on, an alert will be generated when no machine is available for running the job. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder missWorkerEnable(Boolean missWorkerEnable) { this.putBodyParameter("MissWorkerEnable", missWorkerEnable); this.missWorkerEnable = missWorkerEnable; return this; } /** * <p>The job name.</p> * * <strong>example:</strong> * <p>helloword</p> */ public Builder name(String name) { this.putBodyParameter("Name", name); this.name = name; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The namespace source. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putBodyParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The number of tasks that can be pulled at a time. Default value: 100. This parameter is an advanced configuration item of the MapReduce job.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder pageSize(Integer pageSize) { this.putBodyParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The user-defined parameters that you can obtain when the job is running.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder parameters(String parameters) { this.putBodyParameter("Parameters", parameters); this.parameters = parameters; return this; } /** * Priority. */ public Builder priority(Integer priority) { this.putQueryParameter("Priority", priority); this.priority = priority; return this; } /** * <p>The maximum number of tasks that can be queued. Default value: 10000. This parameter is an advanced configuration item of the MapReduce job.</p> * * <strong>example:</strong> * <p>10000</p> */ public Builder queueSize(Integer queueSize) { this.putBodyParameter("QueueSize", queueSize); this.queueSize = queueSize; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The method that is used to send alerts. Only Short Message Service (SMS) is supported.</p> * * <strong>example:</strong> * <p>sms</p> */ public Builder sendChannel(String sendChannel) { this.putBodyParameter("SendChannel", sendChannel); this.sendChannel = sendChannel; return this; } /** * <p>Specifies whether to turn on Successful notice. If the switch is turned on, a notice will be sent when a job succeeds.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder successNoticeEnable(Boolean successNoticeEnable) { this.putBodyParameter("SuccessNoticeEnable", successNoticeEnable); this.successNoticeEnable = successNoticeEnable; return this; } /** * <p>The interval of retries after a task failure. This parameter is an advanced configuration item of the MapReduce job.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder taskAttemptInterval(Integer taskAttemptInterval) { this.putBodyParameter("TaskAttemptInterval", taskAttemptInterval); this.taskAttemptInterval = taskAttemptInterval; return this; } /** * <p>The job mode. Valid values: push and pull. This parameter is an advanced configuration item of the MapReduce job.</p> * * <strong>example:</strong> * <p>push</p> */ public Builder taskDispatchMode(String taskDispatchMode) { this.putBodyParameter("TaskDispatchMode", taskDispatchMode); this.taskDispatchMode = taskDispatchMode; return this; } /** * <p>The number of retries after a task failure. This parameter is an advanced configuration item of the MapReduce job.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder taskMaxAttempt(Integer taskMaxAttempt) { this.putBodyParameter("TaskMaxAttempt", taskMaxAttempt); this.taskMaxAttempt = taskMaxAttempt; return this; } /** * <p>Custom task template for the k8s task type.</p> * * <strong>example:</strong> * <p>apiVersion: v1 * kind: Pod * metadata: * name: schedulerx-node-{JOB_ID} * namespace: {NAMESPACE} * spec: * containers:</p> * <ul> * <li>name: node-job * image: node:16 * imagePullPolicy: IfNotPresent * volumeMounts:<ul> * <li>name: script-node * mountPath: script/node * command: [&quot;node&quot;, &quot;script/node/node-{JOB_ID}.js&quot;] * volumes:</li> * </ul> * </li> * <li>name: script-node * configMap: * name: schedulerx-configmap * items:<ul> * <li>key: schedulerx-node-{JOB_ID} * path: node-{JOB_ID}.js</li> * </ul> * </li> * </ul> * <p> restartPolicy: Never</p> */ public Builder template(String template) { this.putBodyParameter("Template", template); this.template = template; return this; } /** * <p>The time expression. Specify the time expression based on the value of TimeType:</p> * <ul> * <li>If you set TimeType to <strong>1</strong> (cron), specify this parameter to a standard CRON expression.</li> * <li>If you set TimeType to <strong>100</strong> (api), no time expression is required.</li> * <li>If you set TimeType to <strong>3</strong> (fixed_rate), specify this parameter to a fixed frequency in seconds. For example, if you set this parameter to 30, the system triggers a job every 30 seconds.</li> * <li>If you set TimeType to <strong>4</strong> (second_delay), specify this parameter to a fixed delay after which the job is triggered. Valid values: 1 to 60. Unit: seconds.</li> * </ul> * * <strong>example:</strong> * <p>30</p> */ public Builder timeExpression(String timeExpression) { this.putBodyParameter("TimeExpression", timeExpression); this.timeExpression = timeExpression; return this; } /** * <p>The time type. Valid values:</p> * <ul> * <li><strong>1</strong>: cron</li> * <li><strong>3</strong>: fix_rate</li> * <li><strong>4</strong>: second_delay</li> * <li><strong>100</strong>: api</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder timeType(Integer timeType) { this.putBodyParameter("TimeType", timeType); this.timeType = timeType; return this; } /** * <p>The timeout threshold. Unit: seconds.</p> * * <strong>example:</strong> * <p>7200</p> */ public Builder timeout(Long timeout) { this.putBodyParameter("Timeout", timeout); this.timeout = timeout; return this; } /** * <p>Specifies whether to turn on Timeout alarm. If the switch is turned on, an alert will be generated upon a timeout. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder timeoutEnable(Boolean timeoutEnable) { this.putBodyParameter("TimeoutEnable", timeoutEnable); this.timeoutEnable = timeoutEnable; return this; } /** * <p>Specifies whether to turn on Timeout termination. If the switch is turned on, the job will be terminated upon a timeout. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder timeoutKillEnable(Boolean timeoutKillEnable) { this.putBodyParameter("TimeoutKillEnable", timeoutKillEnable); this.timeoutKillEnable = timeoutKillEnable; return this; } /** * <p>Time zone.</p> * * <strong>example:</strong> * <p>GMT+8</p> */ public Builder timezone(String timezone) { this.putBodyParameter("Timezone", timezone); this.timezone = timezone; return this; } /** * <p>If you set JobType to k8s, this parameter is required. xxljob task: {&quot;resource&quot;:&quot;job&quot;} shell task: {&quot;image&quot;:&quot;busybox&quot;,&quot;resource&quot;:&quot;shell&quot;}</p> * * <strong>example:</strong> * <p>{&quot;resource&quot;:&quot;shell&quot;,&quot;fileFormat&quot;:&quot;unix&quot;,&quot;templateType&quot;:&quot;customTemplate&quot;}</p> */ public Builder xAttrs(String xAttrs) { this.putBodyParameter("XAttrs", xAttrs); this.xAttrs = xAttrs; return this; } @Override public UpdateJobRequest build() { return new UpdateJobRequest(this); } } /** * * {@link UpdateJobRequest} extends {@link TeaModel} * * <p>UpdateJobRequest</p> */ public static class ContactInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Ding") private String ding; @com.aliyun.core.annotation.NameInMap("UserMail") private String userMail; @com.aliyun.core.annotation.NameInMap("UserName") private String userName; @com.aliyun.core.annotation.NameInMap("UserPhone") private String userPhone; private ContactInfo(Builder builder) { this.ding = builder.ding; this.userMail = builder.userMail; this.userName = builder.userName; this.userPhone = builder.userPhone; } public static Builder builder() { return new Builder(); } public static ContactInfo create() { return builder().build(); } /** * @return ding */ public String getDing() { return this.ding; } /** * @return userMail */ public String getUserMail() { return this.userMail; } /** * @return userName */ public String getUserName() { return this.userName; } /** * @return userPhone */ public String getUserPhone() { return this.userPhone; } public static final class Builder { private String ding; private String userMail; private String userName; private String userPhone; private Builder() { } private Builder(ContactInfo model) { this.ding = model.ding; this.userMail = model.userMail; this.userName = model.userName; this.userPhone = model.userPhone; } /** * <p>The webhook URL of the DingTalk chatbot.<a href="https://open.dingtalk.com/document/org/application-types"></a></p> * * <strong>example:</strong> * <p><a href="https://oapi.dingtalk.com/robot/send?access_token=">https://oapi.dingtalk.com/robot/send?access_token=</a>**********</p> */ public Builder ding(String ding) { this.ding = ding; return this; } /** * <p>The email address of the alert contact.</p> * * <strong>example:</strong> * <p>test***@***.com</p> */ public Builder userMail(String userMail) { this.userMail = userMail; return this; } /** * <p>The name of the alert contact.</p> * * <strong>example:</strong> * <p>userA</p> */ public Builder userName(String userName) { this.userName = userName; return this; } /** * <p>The mobile phone number of the alert contact.</p> * * <strong>example:</strong> * <p>1381111****</p> */ public Builder userPhone(String userPhone) { this.userPhone = userPhone; return this; } public ContactInfo build() { return new ContactInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateJobResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateJobResponse} extends {@link TeaModel} * * <p>UpdateJobResponse</p> */ public class UpdateJobResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateJobResponseBody body; private UpdateJobResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateJobResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateJobResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateJobResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateJobResponseBody body); @Override UpdateJobResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateJobResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateJobResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateJobResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateJobResponseBody body) { this.body = body; return this; } @Override public UpdateJobResponse build() { return new UpdateJobResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateJobResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateJobResponseBody} extends {@link TeaModel} * * <p>UpdateJobResponseBody</p> */ public class UpdateJobResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private UpdateJobResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static UpdateJobResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(UpdateJobResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The additional information returned only if an error occurs.</p> * * <strong>example:</strong> * <p>job type is java className can not be blank</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>4F68ABED-AC31-4412-9297-D9A8F0401108</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public UpdateJobResponseBody build() { return new UpdateJobResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateJobScriptRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateJobScriptRequest} extends {@link RequestModel} * * <p>UpdateJobScriptRequest</p> */ public class UpdateJobScriptRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("JobId") @com.aliyun.core.annotation.Validation(required = true) private Long jobId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ScriptContent") private String scriptContent; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("VersionDescription") private String versionDescription; private UpdateJobScriptRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.jobId = builder.jobId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; this.scriptContent = builder.scriptContent; this.versionDescription = builder.versionDescription; } public static Builder builder() { return new Builder(); } public static UpdateJobScriptRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return jobId */ public Long getJobId() { return this.jobId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return scriptContent */ public String getScriptContent() { return this.scriptContent; } /** * @return versionDescription */ public String getVersionDescription() { return this.versionDescription; } public static final class Builder extends Request.Builder<UpdateJobScriptRequest, Builder> { private String groupId; private Long jobId; private String namespace; private String namespaceSource; private String regionId; private String scriptContent; private String versionDescription; private Builder() { super(); } private Builder(UpdateJobScriptRequest request) { super(request); this.groupId = request.groupId; this.jobId = request.jobId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; this.scriptContent = request.scriptContent; this.versionDescription = request.versionDescription; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putBodyParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>301</p> */ public Builder jobId(Long jobId) { this.putBodyParameter("JobId", jobId); this.jobId = jobId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * NamespaceSource. */ public Builder namespaceSource(String namespaceSource) { this.putBodyParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putBodyParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ScriptContent. */ public Builder scriptContent(String scriptContent) { this.putBodyParameter("ScriptContent", scriptContent); this.scriptContent = scriptContent; return this; } /** * VersionDescription. */ public Builder versionDescription(String versionDescription) { this.putBodyParameter("VersionDescription", versionDescription); this.versionDescription = versionDescription; return this; } @Override public UpdateJobScriptRequest build() { return new UpdateJobScriptRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateJobScriptResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateJobScriptResponse} extends {@link TeaModel} * * <p>UpdateJobScriptResponse</p> */ public class UpdateJobScriptResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateJobScriptResponseBody body; private UpdateJobScriptResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateJobScriptResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateJobScriptResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateJobScriptResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateJobScriptResponseBody body); @Override UpdateJobScriptResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateJobScriptResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateJobScriptResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateJobScriptResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateJobScriptResponseBody body) { this.body = body; return this; } @Override public UpdateJobScriptResponse build() { return new UpdateJobScriptResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateJobScriptResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateJobScriptResponseBody} extends {@link TeaModel} * * <p>UpdateJobScriptResponseBody</p> */ public class UpdateJobScriptResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private UpdateJobScriptResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static UpdateJobScriptResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(UpdateJobScriptResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * Code. */ public Builder code(Integer code) { this.code = code; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public UpdateJobScriptResponseBody build() { return new UpdateJobScriptResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateNamespaceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateNamespaceRequest} extends {@link RequestModel} * * <p>UpdateNamespaceRequest</p> */ public class UpdateNamespaceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceName") private String namespaceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private UpdateNamespaceRequest(Builder builder) { super(builder); this.description = builder.description; this.namespace = builder.namespace; this.namespaceName = builder.namespaceName; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static UpdateNamespaceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return description */ public String getDescription() { return this.description; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceName */ public String getNamespaceName() { return this.namespaceName; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<UpdateNamespaceRequest, Builder> { private String description; private String namespace; private String namespaceName; private String regionId; private Builder() { super(); } private Builder(UpdateNamespaceRequest request) { super(request); this.description = request.description; this.namespace = request.namespace; this.namespaceName = request.namespaceName; this.regionId = request.regionId; } /** * Description. */ public Builder description(String description) { this.putQueryParameter("Description", description); this.description = description; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * NamespaceName. */ public Builder namespaceName(String namespaceName) { this.putQueryParameter("NamespaceName", namespaceName); this.namespaceName = namespaceName; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public UpdateNamespaceRequest build() { return new UpdateNamespaceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateNamespaceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateNamespaceResponse} extends {@link TeaModel} * * <p>UpdateNamespaceResponse</p> */ public class UpdateNamespaceResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateNamespaceResponseBody body; private UpdateNamespaceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateNamespaceResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateNamespaceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateNamespaceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateNamespaceResponseBody body); @Override UpdateNamespaceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateNamespaceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateNamespaceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateNamespaceResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateNamespaceResponseBody body) { this.body = body; return this; } @Override public UpdateNamespaceResponse build() { return new UpdateNamespaceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateNamespaceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateNamespaceResponseBody} extends {@link TeaModel} * * <p>UpdateNamespaceResponseBody</p> */ public class UpdateNamespaceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private UpdateNamespaceResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static UpdateNamespaceResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(UpdateNamespaceResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * Code. */ public Builder code(Integer code) { this.code = code; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public UpdateNamespaceResponseBody build() { return new UpdateNamespaceResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateWorkflowDagRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateWorkflowDagRequest} extends {@link RequestModel} * * <p>UpdateWorkflowDagRequest</p> */ public class UpdateWorkflowDagRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("DagJson") @com.aliyun.core.annotation.Validation(required = true) private String dagJson; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("WorkflowId") @com.aliyun.core.annotation.Validation(required = true) private String workflowId; private UpdateWorkflowDagRequest(Builder builder) { super(builder); this.dagJson = builder.dagJson; this.groupId = builder.groupId; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; this.workflowId = builder.workflowId; } public static Builder builder() { return new Builder(); } public static UpdateWorkflowDagRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return dagJson */ public String getDagJson() { return this.dagJson; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return workflowId */ public String getWorkflowId() { return this.workflowId; } public static final class Builder extends Request.Builder<UpdateWorkflowDagRequest, Builder> { private String dagJson; private String groupId; private String namespace; private String namespaceSource; private String regionId; private String workflowId; private Builder() { super(); } private Builder(UpdateWorkflowDagRequest request) { super(request); this.dagJson = request.dagJson; this.groupId = request.groupId; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; this.workflowId = request.workflowId; } /** * <p>The directed acyclic graph (DAG) of the workflow, including the information about the nodes and the edges. Specify the value of this parameter in the JSON format.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>{&quot;nodes&quot;:[{&quot;id&quot;:2300691},{&quot;id&quot;:10518089},{&quot;id&quot;:1758851}],&quot;edges&quot;:[{&quot;source&quot;:10518089,&quot;target&quot;:1758851},{&quot;source&quot;:10518089,&quot;target&quot;:2300691}]}</p> */ public Builder dagJson(String dagJson) { this.putBodyParameter("DagJson", dagJson); this.dagJson = dagJson; return this; } /** * <p>The application group ID. You can obtain the application group ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putBodyParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putBodyParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The workflow ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder workflowId(String workflowId) { this.putBodyParameter("WorkflowId", workflowId); this.workflowId = workflowId; return this; } @Override public UpdateWorkflowDagRequest build() { return new UpdateWorkflowDagRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateWorkflowDagResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateWorkflowDagResponse} extends {@link TeaModel} * * <p>UpdateWorkflowDagResponse</p> */ public class UpdateWorkflowDagResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateWorkflowDagResponseBody body; private UpdateWorkflowDagResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateWorkflowDagResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateWorkflowDagResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateWorkflowDagResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateWorkflowDagResponseBody body); @Override UpdateWorkflowDagResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateWorkflowDagResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateWorkflowDagResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateWorkflowDagResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateWorkflowDagResponseBody body) { this.body = body; return this; } @Override public UpdateWorkflowDagResponse build() { return new UpdateWorkflowDagResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateWorkflowDagResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateWorkflowDagResponseBody} extends {@link TeaModel} * * <p>UpdateWorkflowDagResponseBody</p> */ public class UpdateWorkflowDagResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private UpdateWorkflowDagResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static UpdateWorkflowDagResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(UpdateWorkflowDagResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The returned error message.</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>39090022-1F3B-4797-8518-6B61095F1AF0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public UpdateWorkflowDagResponseBody build() { return new UpdateWorkflowDagResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateWorkflowRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateWorkflowRequest} extends {@link RequestModel} * * <p>UpdateWorkflowRequest</p> */ public class UpdateWorkflowRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("NamespaceSource") private String namespaceSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TimeExpression") private String timeExpression; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TimeType") private Integer timeType; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("WorkflowId") @com.aliyun.core.annotation.Validation(required = true) private String workflowId; private UpdateWorkflowRequest(Builder builder) { super(builder); this.description = builder.description; this.groupId = builder.groupId; this.name = builder.name; this.namespace = builder.namespace; this.namespaceSource = builder.namespaceSource; this.regionId = builder.regionId; this.timeExpression = builder.timeExpression; this.timeType = builder.timeType; this.workflowId = builder.workflowId; } public static Builder builder() { return new Builder(); } public static UpdateWorkflowRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return description */ public String getDescription() { return this.description; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return name */ public String getName() { return this.name; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return namespaceSource */ public String getNamespaceSource() { return this.namespaceSource; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return timeExpression */ public String getTimeExpression() { return this.timeExpression; } /** * @return timeType */ public Integer getTimeType() { return this.timeType; } /** * @return workflowId */ public String getWorkflowId() { return this.workflowId; } public static final class Builder extends Request.Builder<UpdateWorkflowRequest, Builder> { private String description; private String groupId; private String name; private String namespace; private String namespaceSource; private String regionId; private String timeExpression; private Integer timeType; private String workflowId; private Builder() { super(); } private Builder(UpdateWorkflowRequest request) { super(request); this.description = request.description; this.groupId = request.groupId; this.name = request.name; this.namespace = request.namespace; this.namespaceSource = request.namespaceSource; this.regionId = request.regionId; this.timeExpression = request.timeExpression; this.timeType = request.timeType; this.workflowId = request.workflowId; } /** * <p>The description of the workflow.</p> * * <strong>example:</strong> * <p>Test</p> */ public Builder description(String description) { this.putBodyParameter("Description", description); this.description = description; return this; } /** * <p>The application group ID. You can obtain the application group ID on the Application Management page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testSchedulerx.defaultGroup</p> */ public Builder groupId(String groupId) { this.putBodyParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>The name of the workflow.</p> * * <strong>example:</strong> * <p>helloworld</p> */ public Builder name(String name) { this.putBodyParameter("Name", name); this.name = name; return this; } /** * <p>The namespace ID. You can obtain the namespace ID on the Namespace page in the SchedulerX console.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>adcfc35d-e2fe-4fe9-bbaa-20e90ffc****</p> */ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The source of the namespace. This parameter is required only for a special third party.</p> * * <strong>example:</strong> * <p>schedulerx</p> */ public Builder namespaceSource(String namespaceSource) { this.putBodyParameter("NamespaceSource", namespaceSource); this.namespaceSource = namespaceSource; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The time expression. You can set the time expression based on the selected method that is used to specify time.</p> * <ul> * <li>If you set TimeType to cron, you need to enter a standard cron expression. Online verification is supported.</li> * <li>If you set TimeType to api, no time expression is required.</li> * </ul> * * <strong>example:</strong> * <p>0 0/10 * * * ?</p> */ public Builder timeExpression(String timeExpression) { this.putBodyParameter("TimeExpression", timeExpression); this.timeExpression = timeExpression; return this; } /** * <p>The method that is used to specify the time. Valid values:</p> * <ul> * <li>1: cron</li> * <li>100: api</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder timeType(Integer timeType) { this.putBodyParameter("TimeType", timeType); this.timeType = timeType; return this; } /** * <p>The workflow ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder workflowId(String workflowId) { this.putBodyParameter("WorkflowId", workflowId); this.workflowId = workflowId; return this; } @Override public UpdateWorkflowRequest build() { return new UpdateWorkflowRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateWorkflowResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateWorkflowResponse} extends {@link TeaModel} * * <p>UpdateWorkflowResponse</p> */ public class UpdateWorkflowResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private UpdateWorkflowResponseBody body; private UpdateWorkflowResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpdateWorkflowResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public UpdateWorkflowResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpdateWorkflowResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpdateWorkflowResponseBody body); @Override UpdateWorkflowResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpdateWorkflowResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpdateWorkflowResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpdateWorkflowResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(UpdateWorkflowResponseBody body) { this.body = body; return this; } @Override public UpdateWorkflowResponse build() { return new UpdateWorkflowResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430
java-sources/com/aliyun/alibabacloud-schedulerx220190430/2.0.7/com/aliyun/sdk/service/schedulerx220190430/models/UpdateWorkflowResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx220190430.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 UpdateWorkflowResponseBody} extends {@link TeaModel} * * <p>UpdateWorkflowResponseBody</p> */ public class UpdateWorkflowResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private UpdateWorkflowResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static UpdateWorkflowResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(UpdateWorkflowResponseBody model) { this.code = model.code; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(Integer code) { this.code = code; return this; } /** * <p>The returned error message.</p> * * <strong>example:</strong> * <p>timetype is invalid</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>39090022-1F3B-4797-8518-6B61095F1AF0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public UpdateWorkflowResponseBody build() { return new UpdateWorkflowResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/AsyncClient.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx320240624; import com.aliyun.core.utils.SdkAutoCloseable; import com.aliyun.sdk.service.schedulerx320240624.models.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import java.util.concurrent.CompletableFuture; public interface AsyncClient extends SdkAutoCloseable { static DefaultAsyncClientBuilder builder() { return new DefaultAsyncClientBuilder(); } static AsyncClient create() { return builder().build(); } /** * @param request the request parameters of CreateApp CreateAppRequest * @return CreateAppResponse */ CompletableFuture<CreateAppResponse> createApp(CreateAppRequest request); /** * @param request the request parameters of CreateCluster CreateClusterRequest * @return CreateClusterResponse */ CompletableFuture<CreateClusterResponse> createCluster(CreateClusterRequest request); /** * @param request the request parameters of CreateJob CreateJobRequest * @return CreateJobResponse */ CompletableFuture<CreateJobResponse> createJob(CreateJobRequest request); /** * @param request the request parameters of DeleteApp DeleteAppRequest * @return DeleteAppResponse */ CompletableFuture<DeleteAppResponse> deleteApp(DeleteAppRequest request); /** * @param request the request parameters of DeleteCluster DeleteClusterRequest * @return DeleteClusterResponse */ CompletableFuture<DeleteClusterResponse> deleteCluster(DeleteClusterRequest request); /** * @param request the request parameters of DeleteJobs DeleteJobsRequest * @return DeleteJobsResponse */ CompletableFuture<DeleteJobsResponse> deleteJobs(DeleteJobsRequest request); /** * @param request the request parameters of ExportJobs ExportJobsRequest * @return ExportJobsResponse */ CompletableFuture<ExportJobsResponse> exportJobs(ExportJobsRequest request); /** * @param request the request parameters of GetApp GetAppRequest * @return GetAppResponse */ CompletableFuture<GetAppResponse> getApp(GetAppRequest request); /** * @param request the request parameters of GetCluster GetClusterRequest * @return GetClusterResponse */ CompletableFuture<GetClusterResponse> getCluster(GetClusterRequest request); /** * @param request the request parameters of GetDesigateInfo GetDesigateInfoRequest * @return GetDesigateInfoResponse */ CompletableFuture<GetDesigateInfoResponse> getDesigateInfo(GetDesigateInfoRequest request); /** * @param request the request parameters of GetJobExecution GetJobExecutionRequest * @return GetJobExecutionResponse */ CompletableFuture<GetJobExecutionResponse> getJobExecution(GetJobExecutionRequest request); /** * @param request the request parameters of GetJobExecutionProgress GetJobExecutionProgressRequest * @return GetJobExecutionProgressResponse */ CompletableFuture<GetJobExecutionProgressResponse> getJobExecutionProgress(GetJobExecutionProgressRequest request); /** * @param request the request parameters of GetJobExecutionThreadDump GetJobExecutionThreadDumpRequest * @return GetJobExecutionThreadDumpResponse */ CompletableFuture<GetJobExecutionThreadDumpResponse> getJobExecutionThreadDump(GetJobExecutionThreadDumpRequest request); /** * @param request the request parameters of GetLog GetLogRequest * @return GetLogResponse */ CompletableFuture<GetLogResponse> getLog(GetLogRequest request); /** * @param request the request parameters of GetLogEvent GetLogEventRequest * @return GetLogEventResponse */ CompletableFuture<GetLogEventResponse> getLogEvent(GetLogEventRequest request); /** * @param request the request parameters of ImportCalendar ImportCalendarRequest * @return ImportCalendarResponse */ CompletableFuture<ImportCalendarResponse> importCalendar(ImportCalendarRequest request); /** * @param request the request parameters of ImportJobs ImportJobsRequest * @return ImportJobsResponse */ CompletableFuture<ImportJobsResponse> importJobs(ImportJobsRequest request); /** * @param request the request parameters of ListAlarmEvent ListAlarmEventRequest * @return ListAlarmEventResponse */ CompletableFuture<ListAlarmEventResponse> listAlarmEvent(ListAlarmEventRequest request); /** * @param request the request parameters of ListAppNames ListAppNamesRequest * @return ListAppNamesResponse */ CompletableFuture<ListAppNamesResponse> listAppNames(ListAppNamesRequest request); /** * @param request the request parameters of ListApps ListAppsRequest * @return ListAppsResponse */ CompletableFuture<ListAppsResponse> listApps(ListAppsRequest request); /** * @param request the request parameters of ListCalendarNames ListCalendarNamesRequest * @return ListCalendarNamesResponse */ CompletableFuture<ListCalendarNamesResponse> listCalendarNames(ListCalendarNamesRequest request); /** * @param request the request parameters of ListClusters ListClustersRequest * @return ListClustersResponse */ CompletableFuture<ListClustersResponse> listClusters(ListClustersRequest request); /** * @param request the request parameters of ListExecutors ListExecutorsRequest * @return ListExecutorsResponse */ CompletableFuture<ListExecutorsResponse> listExecutors(ListExecutorsRequest request); /** * @param request the request parameters of ListJobExecutions ListJobExecutionsRequest * @return ListJobExecutionsResponse */ CompletableFuture<ListJobExecutionsResponse> listJobExecutions(ListJobExecutionsRequest request); /** * @param request the request parameters of ListJobScriptHistory ListJobScriptHistoryRequest * @return ListJobScriptHistoryResponse */ CompletableFuture<ListJobScriptHistoryResponse> listJobScriptHistory(ListJobScriptHistoryRequest request); /** * @param request the request parameters of ListJobs ListJobsRequest * @return ListJobsResponse */ CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest request); /** * @param request the request parameters of ListLables ListLablesRequest * @return ListLablesResponse */ CompletableFuture<ListLablesResponse> listLables(ListLablesRequest request); /** * @param request the request parameters of ListRegionZone ListRegionZoneRequest * @return ListRegionZoneResponse */ CompletableFuture<ListRegionZoneResponse> listRegionZone(ListRegionZoneRequest request); /** * @param request the request parameters of ListRegions ListRegionsRequest * @return ListRegionsResponse */ CompletableFuture<ListRegionsResponse> listRegions(ListRegionsRequest request); /** * @param request the request parameters of ListScheduleEvent ListScheduleEventRequest * @return ListScheduleEventResponse */ CompletableFuture<ListScheduleEventResponse> listScheduleEvent(ListScheduleEventRequest request); /** * @param request the request parameters of ListScheduleTimes ListScheduleTimesRequest * @return ListScheduleTimesResponse */ CompletableFuture<ListScheduleTimesResponse> listScheduleTimes(ListScheduleTimesRequest request); /** * @param request the request parameters of OperateDesignateExecutors OperateDesignateExecutorsRequest * @return OperateDesignateExecutorsResponse */ CompletableFuture<OperateDesignateExecutorsResponse> operateDesignateExecutors(OperateDesignateExecutorsRequest request); /** * @param request the request parameters of OperateDisableJobs OperateDisableJobsRequest * @return OperateDisableJobsResponse */ CompletableFuture<OperateDisableJobsResponse> operateDisableJobs(OperateDisableJobsRequest request); /** * @param request the request parameters of OperateEnableJobs OperateEnableJobsRequest * @return OperateEnableJobsResponse */ CompletableFuture<OperateEnableJobsResponse> operateEnableJobs(OperateEnableJobsRequest request); /** * @param request the request parameters of OperateExecuteJob OperateExecuteJobRequest * @return OperateExecuteJobResponse */ CompletableFuture<OperateExecuteJobResponse> operateExecuteJob(OperateExecuteJobRequest request); /** * @param request the request parameters of OperateRerunJob OperateRerunJobRequest * @return OperateRerunJobResponse */ CompletableFuture<OperateRerunJobResponse> operateRerunJob(OperateRerunJobRequest request); /** * @param request the request parameters of OperateRetryJobExecution OperateRetryJobExecutionRequest * @return OperateRetryJobExecutionResponse */ CompletableFuture<OperateRetryJobExecutionResponse> operateRetryJobExecution(OperateRetryJobExecutionRequest request); /** * @param request the request parameters of OperateStopJobExecution OperateStopJobExecutionRequest * @return OperateStopJobExecutionResponse */ CompletableFuture<OperateStopJobExecutionResponse> operateStopJobExecution(OperateStopJobExecutionRequest request); /** * @param request the request parameters of UpdateApp UpdateAppRequest * @return UpdateAppResponse */ CompletableFuture<UpdateAppResponse> updateApp(UpdateAppRequest request); /** * @param request the request parameters of UpdateCluster UpdateClusterRequest * @return UpdateClusterResponse */ CompletableFuture<UpdateClusterResponse> updateCluster(UpdateClusterRequest request); /** * @param request the request parameters of UpdateJob UpdateJobRequest * @return UpdateJobResponse */ CompletableFuture<UpdateJobResponse> updateJob(UpdateJobRequest request); /** * @param request the request parameters of UpdateJobScript UpdateJobScriptRequest * @return UpdateJobScriptResponse */ CompletableFuture<UpdateJobScriptResponse> updateJobScript(UpdateJobScriptRequest request); }
0
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/DefaultAsyncClient.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx320240624; import com.aliyun.core.http.*; import com.aliyun.sdk.service.schedulerx320240624.models.*; import darabonba.core.utils.*; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import java.util.concurrent.CompletableFuture; /** * <p>Main client.</p> */ public final class DefaultAsyncClient implements AsyncClient { protected final String product; protected final String version; protected final String endpointRule; protected final java.util.Map<String, String> endpointMap; protected final TeaRequest REQUEST; protected final TeaAsyncHandler handler; protected DefaultAsyncClient(ClientConfiguration configuration) { this.handler = new TeaAsyncHandler(configuration); this.product = "SchedulerX3"; this.version = "2024-06-24"; this.endpointRule = ""; this.endpointMap = new java.util.HashMap<>(); this.REQUEST = TeaRequest.create().setProduct(product).setEndpointRule(endpointRule).setEndpointMap(endpointMap).setVersion(version); } @Override public void close() { this.handler.close(); } /** * @param request the request parameters of CreateApp CreateAppRequest * @return CreateAppResponse */ @Override public CompletableFuture<CreateAppResponse> createApp(CreateAppRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateApp").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateAppResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateAppResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of CreateCluster CreateClusterRequest * @return CreateClusterResponse */ @Override public CompletableFuture<CreateClusterResponse> createCluster(CreateClusterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateCluster").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateClusterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateClusterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of CreateJob CreateJobRequest * @return CreateJobResponse */ @Override public CompletableFuture<CreateJobResponse> createJob(CreateJobRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateJob").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateJobResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateJobResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteApp DeleteAppRequest * @return DeleteAppResponse */ @Override public CompletableFuture<DeleteAppResponse> deleteApp(DeleteAppRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteApp").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteAppResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteAppResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteCluster DeleteClusterRequest * @return DeleteClusterResponse */ @Override public CompletableFuture<DeleteClusterResponse> deleteCluster(DeleteClusterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteCluster").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteClusterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteClusterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteJobs DeleteJobsRequest * @return DeleteJobsResponse */ @Override public CompletableFuture<DeleteJobsResponse> deleteJobs(DeleteJobsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteJobs").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteJobsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteJobsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ExportJobs ExportJobsRequest * @return ExportJobsResponse */ @Override public CompletableFuture<ExportJobsResponse> exportJobs(ExportJobsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ExportJobs").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.BYTE).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ExportJobsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ExportJobsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetApp GetAppRequest * @return GetAppResponse */ @Override public CompletableFuture<GetAppResponse> getApp(GetAppRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetApp").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetAppResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetAppResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetCluster GetClusterRequest * @return GetClusterResponse */ @Override public CompletableFuture<GetClusterResponse> getCluster(GetClusterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetCluster").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetClusterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetClusterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetDesigateInfo GetDesigateInfoRequest * @return GetDesigateInfoResponse */ @Override public CompletableFuture<GetDesigateInfoResponse> getDesigateInfo(GetDesigateInfoRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetDesigateInfo").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetDesigateInfoResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetDesigateInfoResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetJobExecution GetJobExecutionRequest * @return GetJobExecutionResponse */ @Override public CompletableFuture<GetJobExecutionResponse> getJobExecution(GetJobExecutionRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetJobExecution").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetJobExecutionResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetJobExecutionResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetJobExecutionProgress GetJobExecutionProgressRequest * @return GetJobExecutionProgressResponse */ @Override public CompletableFuture<GetJobExecutionProgressResponse> getJobExecutionProgress(GetJobExecutionProgressRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetJobExecutionProgress").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetJobExecutionProgressResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetJobExecutionProgressResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetJobExecutionThreadDump GetJobExecutionThreadDumpRequest * @return GetJobExecutionThreadDumpResponse */ @Override public CompletableFuture<GetJobExecutionThreadDumpResponse> getJobExecutionThreadDump(GetJobExecutionThreadDumpRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetJobExecutionThreadDump").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetJobExecutionThreadDumpResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetJobExecutionThreadDumpResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetLog GetLogRequest * @return GetLogResponse */ @Override public CompletableFuture<GetLogResponse> getLog(GetLogRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetLog").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetLogResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetLogResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetLogEvent GetLogEventRequest * @return GetLogEventResponse */ @Override public CompletableFuture<GetLogEventResponse> getLogEvent(GetLogEventRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetLogEvent").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetLogEventResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetLogEventResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ImportCalendar ImportCalendarRequest * @return ImportCalendarResponse */ @Override public CompletableFuture<ImportCalendarResponse> importCalendar(ImportCalendarRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ImportCalendar").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ImportCalendarResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ImportCalendarResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ImportJobs ImportJobsRequest * @return ImportJobsResponse */ @Override public CompletableFuture<ImportJobsResponse> importJobs(ImportJobsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ImportJobs").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ImportJobsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ImportJobsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListAlarmEvent ListAlarmEventRequest * @return ListAlarmEventResponse */ @Override public CompletableFuture<ListAlarmEventResponse> listAlarmEvent(ListAlarmEventRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListAlarmEvent").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListAlarmEventResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListAlarmEventResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListAppNames ListAppNamesRequest * @return ListAppNamesResponse */ @Override public CompletableFuture<ListAppNamesResponse> listAppNames(ListAppNamesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListAppNames").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListAppNamesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListAppNamesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListApps ListAppsRequest * @return ListAppsResponse */ @Override public CompletableFuture<ListAppsResponse> listApps(ListAppsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListApps").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListAppsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListAppsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListCalendarNames ListCalendarNamesRequest * @return ListCalendarNamesResponse */ @Override public CompletableFuture<ListCalendarNamesResponse> listCalendarNames(ListCalendarNamesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListCalendarNames").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListCalendarNamesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListCalendarNamesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListClusters ListClustersRequest * @return ListClustersResponse */ @Override public CompletableFuture<ListClustersResponse> listClusters(ListClustersRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListClusters").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListClustersResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListClustersResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListExecutors ListExecutorsRequest * @return ListExecutorsResponse */ @Override public CompletableFuture<ListExecutorsResponse> listExecutors(ListExecutorsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListExecutors").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListExecutorsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListExecutorsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListJobExecutions ListJobExecutionsRequest * @return ListJobExecutionsResponse */ @Override public CompletableFuture<ListJobExecutionsResponse> listJobExecutions(ListJobExecutionsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListJobExecutions").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListJobExecutionsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListJobExecutionsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListJobScriptHistory ListJobScriptHistoryRequest * @return ListJobScriptHistoryResponse */ @Override public CompletableFuture<ListJobScriptHistoryResponse> listJobScriptHistory(ListJobScriptHistoryRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListJobScriptHistory").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListJobScriptHistoryResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListJobScriptHistoryResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListJobs ListJobsRequest * @return ListJobsResponse */ @Override public CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListJobs").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListJobsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListJobsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListLables ListLablesRequest * @return ListLablesResponse */ @Override public CompletableFuture<ListLablesResponse> listLables(ListLablesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListLables").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListLablesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListLablesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListRegionZone ListRegionZoneRequest * @return ListRegionZoneResponse */ @Override public CompletableFuture<ListRegionZoneResponse> listRegionZone(ListRegionZoneRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListRegionZone").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListRegionZoneResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListRegionZoneResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListRegions ListRegionsRequest * @return ListRegionsResponse */ @Override public CompletableFuture<ListRegionsResponse> listRegions(ListRegionsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListRegions").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListRegionsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListRegionsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListScheduleEvent ListScheduleEventRequest * @return ListScheduleEventResponse */ @Override public CompletableFuture<ListScheduleEventResponse> listScheduleEvent(ListScheduleEventRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListScheduleEvent").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListScheduleEventResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListScheduleEventResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListScheduleTimes ListScheduleTimesRequest * @return ListScheduleTimesResponse */ @Override public CompletableFuture<ListScheduleTimesResponse> listScheduleTimes(ListScheduleTimesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListScheduleTimes").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListScheduleTimesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListScheduleTimesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of OperateDesignateExecutors OperateDesignateExecutorsRequest * @return OperateDesignateExecutorsResponse */ @Override public CompletableFuture<OperateDesignateExecutorsResponse> operateDesignateExecutors(OperateDesignateExecutorsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("OperateDesignateExecutors").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(OperateDesignateExecutorsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<OperateDesignateExecutorsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of OperateDisableJobs OperateDisableJobsRequest * @return OperateDisableJobsResponse */ @Override public CompletableFuture<OperateDisableJobsResponse> operateDisableJobs(OperateDisableJobsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("OperateDisableJobs").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(OperateDisableJobsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<OperateDisableJobsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of OperateEnableJobs OperateEnableJobsRequest * @return OperateEnableJobsResponse */ @Override public CompletableFuture<OperateEnableJobsResponse> operateEnableJobs(OperateEnableJobsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("OperateEnableJobs").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(OperateEnableJobsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<OperateEnableJobsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of OperateExecuteJob OperateExecuteJobRequest * @return OperateExecuteJobResponse */ @Override public CompletableFuture<OperateExecuteJobResponse> operateExecuteJob(OperateExecuteJobRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("OperateExecuteJob").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(OperateExecuteJobResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<OperateExecuteJobResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of OperateRerunJob OperateRerunJobRequest * @return OperateRerunJobResponse */ @Override public CompletableFuture<OperateRerunJobResponse> operateRerunJob(OperateRerunJobRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("OperateRerunJob").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(OperateRerunJobResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<OperateRerunJobResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of OperateRetryJobExecution OperateRetryJobExecutionRequest * @return OperateRetryJobExecutionResponse */ @Override public CompletableFuture<OperateRetryJobExecutionResponse> operateRetryJobExecution(OperateRetryJobExecutionRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("OperateRetryJobExecution").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(OperateRetryJobExecutionResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<OperateRetryJobExecutionResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of OperateStopJobExecution OperateStopJobExecutionRequest * @return OperateStopJobExecutionResponse */ @Override public CompletableFuture<OperateStopJobExecutionResponse> operateStopJobExecution(OperateStopJobExecutionRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("OperateStopJobExecution").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(OperateStopJobExecutionResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<OperateStopJobExecutionResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateApp UpdateAppRequest * @return UpdateAppResponse */ @Override public CompletableFuture<UpdateAppResponse> updateApp(UpdateAppRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateApp").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateAppResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateAppResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateCluster UpdateClusterRequest * @return UpdateClusterResponse */ @Override public CompletableFuture<UpdateClusterResponse> updateCluster(UpdateClusterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateCluster").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateClusterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateClusterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateJob UpdateJobRequest * @return UpdateJobResponse */ @Override public CompletableFuture<UpdateJobResponse> updateJob(UpdateJobRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateJob").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateJobResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateJobResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateJobScript UpdateJobScriptRequest * @return UpdateJobScriptResponse */ @Override public CompletableFuture<UpdateJobScriptResponse> updateJobScript(UpdateJobScriptRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateJobScript").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateJobScriptResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateJobScriptResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/DefaultAsyncClientBuilder.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx320240624; import com.aliyun.sdk.gateway.pop.BaseClientBuilder; public final class DefaultAsyncClientBuilder extends BaseClientBuilder<DefaultAsyncClientBuilder, AsyncClient> { @Override protected String serviceName() { return "schedulerx320240624"; } @Override protected final AsyncClient buildClient() { return new DefaultAsyncClient(super.applyClientConfiguration()); } }
0
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/CreateAppRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx320240624.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 CreateAppRequest} extends {@link RequestModel} * * <p>CreateAppRequest</p> */ public class CreateAppRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("AccessToken") @com.aliyun.core.annotation.Validation(maxLength = 32, minLength = 6) private String accessToken; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("AppName") @com.aliyun.core.annotation.Validation(required = true, maxLength = 64, minLength = 1) private String appName; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("AppType") private Integer appType; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ClusterId") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("EnableLog") private Boolean enableLog; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("LabelRouteStrategy") private Integer labelRouteStrategy; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("MaxConcurrency") private Integer maxConcurrency; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Title") @com.aliyun.core.annotation.Validation(required = true, maxLength = 64, minLength = 1) private String title; private CreateAppRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.accessToken = builder.accessToken; this.appName = builder.appName; this.appType = builder.appType; this.clusterId = builder.clusterId; this.enableLog = builder.enableLog; this.labelRouteStrategy = builder.labelRouteStrategy; this.maxConcurrency = builder.maxConcurrency; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static CreateAppRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return accessToken */ public String getAccessToken() { return this.accessToken; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return appType */ public Integer getAppType() { return this.appType; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return enableLog */ public Boolean getEnableLog() { return this.enableLog; } /** * @return labelRouteStrategy */ public Integer getLabelRouteStrategy() { return this.labelRouteStrategy; } /** * @return maxConcurrency */ public Integer getMaxConcurrency() { return this.maxConcurrency; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder extends Request.Builder<CreateAppRequest, Builder> { private String regionId; private String accessToken; private String appName; private Integer appType; private String clusterId; private Boolean enableLog; private Integer labelRouteStrategy; private Integer maxConcurrency; private String title; private Builder() { super(); } private Builder(CreateAppRequest request) { super(request); this.regionId = request.regionId; this.accessToken = request.accessToken; this.appName = request.appName; this.appType = request.appType; this.clusterId = request.clusterId; this.enableLog = request.enableLog; this.labelRouteStrategy = request.labelRouteStrategy; this.maxConcurrency = request.maxConcurrency; this.title = request.title; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * AccessToken. */ public Builder accessToken(String accessToken) { this.putBodyParameter("AccessToken", accessToken); this.accessToken = accessToken; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-app</p> */ public Builder appName(String appName) { this.putBodyParameter("AppName", appName); this.appName = appName; return this; } /** * AppType. */ public Builder appType(Integer appType) { this.putBodyParameter("AppType", appType); this.appType = appType; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>xxljob-b6ec1xxxx</p> */ public Builder clusterId(String clusterId) { this.putBodyParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * EnableLog. */ public Builder enableLog(Boolean enableLog) { this.putBodyParameter("EnableLog", enableLog); this.enableLog = enableLog; return this; } /** * LabelRouteStrategy. */ public Builder labelRouteStrategy(Integer labelRouteStrategy) { this.putBodyParameter("LabelRouteStrategy", labelRouteStrategy); this.labelRouteStrategy = labelRouteStrategy; return this; } /** * MaxConcurrency. */ public Builder maxConcurrency(Integer maxConcurrency) { this.putBodyParameter("MaxConcurrency", maxConcurrency); this.maxConcurrency = maxConcurrency; return this; } /** * <p>This parameter is required.</p> */ public Builder title(String title) { this.putBodyParameter("Title", title); this.title = title; return this; } @Override public CreateAppRequest build() { return new CreateAppRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/CreateAppResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx320240624.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 CreateAppResponse} extends {@link TeaModel} * * <p>CreateAppResponse</p> */ public class CreateAppResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private CreateAppResponseBody body; private CreateAppResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static CreateAppResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public CreateAppResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<CreateAppResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(CreateAppResponseBody body); @Override CreateAppResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<CreateAppResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private CreateAppResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(CreateAppResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(CreateAppResponseBody body) { this.body = body; return this; } @Override public CreateAppResponse build() { return new CreateAppResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/CreateAppResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx320240624.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 CreateAppResponseBody} extends {@link TeaModel} * * <p>CreateAppResponseBody</p> */ public class CreateAppResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private Integer code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private CreateAppResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static CreateAppResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private Data data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(CreateAppResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * Code. */ public Builder code(Integer code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public CreateAppResponseBody build() { return new CreateAppResponseBody(this); } } /** * * {@link CreateAppResponseBody} extends {@link TeaModel} * * <p>CreateAppResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccessToken") private String accessToken; @com.aliyun.core.annotation.NameInMap("AppGroupId") private Long appGroupId; private Data(Builder builder) { this.accessToken = builder.accessToken; this.appGroupId = builder.appGroupId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return accessToken */ public String getAccessToken() { return this.accessToken; } /** * @return appGroupId */ public Long getAppGroupId() { return this.appGroupId; } public static final class Builder { private String accessToken; private Long appGroupId; private Builder() { } private Builder(Data model) { this.accessToken = model.accessToken; this.appGroupId = model.appGroupId; } /** * AccessToken. */ public Builder accessToken(String accessToken) { this.accessToken = accessToken; return this; } /** * AppGroupId. */ public Builder appGroupId(Long appGroupId) { this.appGroupId = appGroupId; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/CreateClusterRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx320240624.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 CreateClusterRequest} extends {@link RequestModel} * * <p>CreateClusterRequest</p> */ public class CreateClusterRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ClusterName") @com.aliyun.core.annotation.Validation(required = true) private String clusterName; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ClusterSpec") @com.aliyun.core.annotation.Validation(required = true) private String clusterSpec; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Duration") @com.aliyun.core.annotation.Validation(maximum = 9, minimum = 1) private Integer duration; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("EngineType") @com.aliyun.core.annotation.Validation(required = true) private String engineType; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("PricingCycle") private String pricingCycle; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("VSwitches") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<VSwitches> vSwitches; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("VpcId") @com.aliyun.core.annotation.Validation(required = true) private String vpcId; private CreateClusterRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.chargeType = builder.chargeType; this.clusterName = builder.clusterName; this.clusterSpec = builder.clusterSpec; this.duration = builder.duration; this.engineType = builder.engineType; this.pricingCycle = builder.pricingCycle; this.tag = builder.tag; this.vSwitches = builder.vSwitches; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static CreateClusterRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return clusterSpec */ public String getClusterSpec() { return this.clusterSpec; } /** * @return duration */ public Integer getDuration() { return this.duration; } /** * @return engineType */ public String getEngineType() { return this.engineType; } /** * @return pricingCycle */ public String getPricingCycle() { return this.pricingCycle; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } /** * @return vSwitches */ public java.util.List<VSwitches> getVSwitches() { return this.vSwitches; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder extends Request.Builder<CreateClusterRequest, Builder> { private String regionId; private String chargeType; private String clusterName; private String clusterSpec; private Integer duration; private String engineType; private String pricingCycle; private java.util.List<Tag> tag; private java.util.List<VSwitches> vSwitches; private String vpcId; private Builder() { super(); } private Builder(CreateClusterRequest request) { super(request); this.regionId = request.regionId; this.chargeType = request.chargeType; this.clusterName = request.clusterName; this.clusterSpec = request.clusterSpec; this.duration = request.duration; this.engineType = request.engineType; this.pricingCycle = request.pricingCycle; this.tag = request.tag; this.vSwitches = request.vSwitches; this.vpcId = request.vpcId; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ChargeType. */ public Builder chargeType(String chargeType) { this.putBodyParameter("ChargeType", chargeType); this.chargeType = chargeType; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>qianxi-test-0812</p> */ public Builder clusterName(String clusterName) { this.putBodyParameter("ClusterName", clusterName); this.clusterName = clusterName; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>scx.dev.x1</p> */ public Builder clusterSpec(String clusterSpec) { this.putBodyParameter("ClusterSpec", clusterSpec); this.clusterSpec = clusterSpec; return this; } /** * Duration. */ public Builder duration(Integer duration) { this.putBodyParameter("Duration", duration); this.duration = duration; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>xxljob</p> */ public Builder engineType(String engineType) { this.putBodyParameter("EngineType", engineType); this.engineType = engineType; return this; } /** * PricingCycle. */ public Builder pricingCycle(String pricingCycle) { this.putBodyParameter("PricingCycle", pricingCycle); this.pricingCycle = pricingCycle; return this; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } /** * <p>This parameter is required.</p> */ public Builder vSwitches(java.util.List<VSwitches> vSwitches) { String vSwitchesShrink = shrink(vSwitches, "VSwitches", "json"); this.putBodyParameter("VSwitches", vSwitchesShrink); this.vSwitches = vSwitches; return this; } /** * <p>VPC id</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>vpc-aa1a18236n90rqhuhhnhh</p> */ public Builder vpcId(String vpcId) { this.putBodyParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } @Override public CreateClusterRequest build() { return new CreateClusterRequest(this); } } /** * * {@link CreateClusterRequest} extends {@link TeaModel} * * <p>CreateClusterRequest</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link CreateClusterRequest} extends {@link TeaModel} * * <p>CreateClusterRequest</p> */ public static class VSwitches extends TeaModel { @com.aliyun.core.annotation.NameInMap("VSwitchId") @com.aliyun.core.annotation.Validation(required = true) private String vSwitchId; @com.aliyun.core.annotation.NameInMap("ZoneId") @com.aliyun.core.annotation.Validation(required = true) private String zoneId; private VSwitches(Builder builder) { this.vSwitchId = builder.vSwitchId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static VSwitches create() { return builder().build(); } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String vSwitchId; private String zoneId; private Builder() { } private Builder(VSwitches model) { this.vSwitchId = model.vSwitchId; this.zoneId = model.zoneId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>vsw-2ze745n3r2sfqtahhubpl</p> */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou-j</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public VSwitches build() { return new VSwitches(this); } } } }
0
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624
java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/CreateClusterResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.schedulerx320240624.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 CreateClusterResponse} extends {@link TeaModel} * * <p>CreateClusterResponse</p> */ public class CreateClusterResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private CreateClusterResponseBody body; private CreateClusterResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static CreateClusterResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public CreateClusterResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<CreateClusterResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(CreateClusterResponseBody body); @Override CreateClusterResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<CreateClusterResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private CreateClusterResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(CreateClusterResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(CreateClusterResponseBody body) { this.body = body; return this; } @Override public CreateClusterResponse build() { return new CreateClusterResponse(this); } } }