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

com.aliyun.sdk.service.cloud_siem20220616.models.DescribeJobStatusRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloud_siem20220616.models;

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

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

DescribeJobStatusRequest

*/ public class DescribeJobStatusRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("SubmitId") @com.aliyun.core.annotation.Validation(required = true) private String submitId; private DescribeJobStatusRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.submitId = builder.submitId; } public static Builder builder() { return new Builder(); } public static DescribeJobStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return submitId */ public String getSubmitId() { return this.submitId; } public static final class Builder extends Request.Builder { private String regionId; private String submitId; private Builder() { super(); } private Builder(DescribeJobStatusRequest request) { super(request); this.regionId = request.regionId; this.submitId = request.submitId; } /** * The region where the service resides. Default value: cn-shanghai. */ public Builder regionId(String regionId) { this.putBodyParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * The ID of the collection task. The ID is the value of the submitId parameter in the response of the [BatchJobSubmit](https://next.api.aliyun.com/api/cloud-siem/2022-06-16/BatchSubmitJob?lang=JAVA\&useCommon=true) operation. */ public Builder submitId(String submitId) { this.putBodyParameter("SubmitId", submitId); this.submitId = submitId; return this; } @Override public DescribeJobStatusRequest build() { return new DescribeJobStatusRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy