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

com.antgroup.antchain.openapi.deps.models.OpsProcessDefinition Maven / Gradle / Ivy

There is a newer version: 3.2.40
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.deps.models;

import com.aliyun.tea.*;

public class OpsProcessDefinition extends TeaModel {
    // 描述
    @NameInMap("description")
    @Validation(required = true)
    public String description;

    // 指令名称
    @NameInMap("instruction")
    @Validation(required = true)
    public String instruction;

    // 进程名
    @NameInMap("name")
    @Validation(required = true)
    public String name;

    // 运维类型
    @NameInMap("ops_type")
    @Validation(required = true)
    public String opsType;

    // 发布单ID
    @NameInMap("plan_id")
    @Validation(required = true)
    public String planId;

    // 类型
    @NameInMap("type")
    @Validation(required = true)
    public String type;

    // 概览信息
    @NameInMap("arrangements")
    @Validation(required = true)
    public java.util.List arrangements;

    // 环境变量
    @NameInMap("env_config")
    @Validation(required = true)
    public java.util.List envConfig;

    // 支持的状态转换列表
    @NameInMap("supported_transitions")
    @Validation(required = true)
    public java.util.List supportedTransitions;

    // 节点ID
    @NameInMap("node_id")
    @Validation(required = true)
    public String nodeId;

    // 状态
    @NameInMap("state")
    @Validation(required = true)
    public String state;

    // 开始时间
    @NameInMap("started_time")
    @Validation(required = true, pattern = "\\d{4}[-]\\d{1,2}[-]\\d{1,2}[T]\\d{2}:\\d{2}:\\d{2}[Z]")
    public String startedTime;

    // 结束时间
    @NameInMap("finished_time")
    @Validation(required = true, pattern = "\\d{4}[-]\\d{1,2}[-]\\d{1,2}[T]\\d{2}:\\d{2}:\\d{2}[Z]")
    public String finishedTime;

    // 可独立执行
    @NameInMap("standalone_executable")
    @Validation(required = true)
    public Boolean standaloneExecutable;

    // ID
    @NameInMap("id")
    @Validation(required = true)
    public String id;

    public static OpsProcessDefinition build(java.util.Map map) throws Exception {
        OpsProcessDefinition self = new OpsProcessDefinition();
        return TeaModel.build(map, self);
    }

    public OpsProcessDefinition setDescription(String description) {
        this.description = description;
        return this;
    }
    public String getDescription() {
        return this.description;
    }

    public OpsProcessDefinition setInstruction(String instruction) {
        this.instruction = instruction;
        return this;
    }
    public String getInstruction() {
        return this.instruction;
    }

    public OpsProcessDefinition setName(String name) {
        this.name = name;
        return this;
    }
    public String getName() {
        return this.name;
    }

    public OpsProcessDefinition setOpsType(String opsType) {
        this.opsType = opsType;
        return this;
    }
    public String getOpsType() {
        return this.opsType;
    }

    public OpsProcessDefinition setPlanId(String planId) {
        this.planId = planId;
        return this;
    }
    public String getPlanId() {
        return this.planId;
    }

    public OpsProcessDefinition setType(String type) {
        this.type = type;
        return this;
    }
    public String getType() {
        return this.type;
    }

    public OpsProcessDefinition setArrangements(java.util.List arrangements) {
        this.arrangements = arrangements;
        return this;
    }
    public java.util.List getArrangements() {
        return this.arrangements;
    }

    public OpsProcessDefinition setEnvConfig(java.util.List envConfig) {
        this.envConfig = envConfig;
        return this;
    }
    public java.util.List getEnvConfig() {
        return this.envConfig;
    }

    public OpsProcessDefinition setSupportedTransitions(java.util.List supportedTransitions) {
        this.supportedTransitions = supportedTransitions;
        return this;
    }
    public java.util.List getSupportedTransitions() {
        return this.supportedTransitions;
    }

    public OpsProcessDefinition setNodeId(String nodeId) {
        this.nodeId = nodeId;
        return this;
    }
    public String getNodeId() {
        return this.nodeId;
    }

    public OpsProcessDefinition setState(String state) {
        this.state = state;
        return this;
    }
    public String getState() {
        return this.state;
    }

    public OpsProcessDefinition setStartedTime(String startedTime) {
        this.startedTime = startedTime;
        return this;
    }
    public String getStartedTime() {
        return this.startedTime;
    }

    public OpsProcessDefinition setFinishedTime(String finishedTime) {
        this.finishedTime = finishedTime;
        return this;
    }
    public String getFinishedTime() {
        return this.finishedTime;
    }

    public OpsProcessDefinition setStandaloneExecutable(Boolean standaloneExecutable) {
        this.standaloneExecutable = standaloneExecutable;
        return this;
    }
    public Boolean getStandaloneExecutable() {
        return this.standaloneExecutable;
    }

    public OpsProcessDefinition setId(String id) {
        this.id = id;
        return this;
    }
    public String getId() {
        return this.id;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy