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

com.jdcloud.sdk.service.dbaudit.model.StopTaskRequest Maven / Gradle / Ivy

/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Report Task Interface
 * Report Task Interface
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */

package com.jdcloud.sdk.service.dbaudit.model;

import com.jdcloud.sdk.annotation.Required;
import com.jdcloud.sdk.service.dbaudit.model.TaskOpts;
import com.jdcloud.sdk.service.JdcloudRequest;

/**
 * 停止报表任务
 */
public class StopTaskRequest extends JdcloudRequest implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 报表配置信息
     * Required:true
     */
    @Required
    private TaskOpts taskOpts;

    /**
     * 地域 Id
     * Required:true
     */
    @Required
    private String regionId;

    /**
     * 任务ID
     * Required:true
     */
    @Required
    private String taskId;


    /**
     * get 报表配置信息
     *
     * @return
     */
    public TaskOpts getTaskOpts() {
        return taskOpts;
    }

    /**
     * set 报表配置信息
     *
     * @param taskOpts
     */
    public void setTaskOpts(TaskOpts taskOpts) {
        this.taskOpts = taskOpts;
    }

    /**
     * get 地域 Id
     *
     * @return
     */
    public String getRegionId() {
        return regionId;
    }

    /**
     * set 地域 Id
     *
     * @param regionId
     */
    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    /**
     * get 任务ID
     *
     * @return
     */
    public String getTaskId() {
        return taskId;
    }

    /**
     * set 任务ID
     *
     * @param taskId
     */
    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }


    /**
     * set 报表配置信息
     *
     * @param taskOpts
     */
    public StopTaskRequest taskOpts(TaskOpts taskOpts) {
        this.taskOpts = taskOpts;
        return this;
    }

    /**
     * set 地域 Id
     *
     * @param regionId
     */
    public StopTaskRequest regionId(String regionId) {
        this.regionId = regionId;
        return this;
    }

    /**
     * set 任务ID
     *
     * @param taskId
     */
    public StopTaskRequest taskId(String taskId) {
        this.taskId = taskId;
        return this;
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy