com.aliyuncs.batchcompute.pojo.v20151111.AppJobDescription Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-batchcompute Show documentation
Show all versions of aliyun-java-sdk-batchcompute Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
package com.aliyuncs.batchcompute.pojo.v20151111;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.HashMap;
import java.util.Map;
/**
* Created by guangchun.luo on 17/10/13.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_DEFAULT)
public class AppJobDescription {
@JsonIgnore
public String getAppName() {
return appName;
}
@JsonIgnore
public void setAppName(String appName) {
this.appName = appName;
}
@JsonIgnore
public Logging getLogging() {
return logging;
}
@JsonIgnore
public void setLogging(Logging logging) {
this.logging = logging;
}
@JsonIgnore
public Map getInputs() {
return inputs;
}
@JsonIgnore
public void setInputs(Map inputs) {
this.inputs = inputs;
}
@JsonIgnore
public Map getOutputs() {
return outputs;
}
@JsonIgnore
public void setOutputs(Map outputs) {
this.outputs = outputs;
}
public void addOutputs(String key ,Object value) {
if(null==this.outputs) this.outputs = new HashMap();
this.outputs.put(key,value);
}
public void addInputs(String key ,Object value) {
if(null==this.inputs) this.inputs = new HashMap();
this.inputs.put(key,value);
}
public void addConfig(String key ,Object value) {
if(null==this.config) this.config = new HashMap();
this.config.put(key,value);
}
@JsonIgnore
public Map getConfig() {
return config;
}
@JsonIgnore
public void setConfig(Map config) {
this.config = config;
}
@JsonProperty("AppName")
private String appName;
@JsonProperty("Logging")
private Logging logging;
@JsonProperty("Inputs")
private Map inputs;
@JsonProperty("Outputs")
private Map outputs;
@JsonProperty("Config")
private Map config;
@JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT)
public static class Logging {
@JsonProperty("StdoutPath")
private String stdoutPath;
@JsonProperty("StderrPath")
private String stderrPath;
public String getStdoutPath() {
return stdoutPath;
}
public void setStdoutPath(String stdoutPath) {
this.stdoutPath = stdoutPath;
}
public String getStderrPath() {
return stderrPath;
}
public void setStderrPath(String stderrPath) {
this.stderrPath = stderrPath;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy