com.aliyuncs.batchcompute.pojo.v20151111.NASConfig 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.ArrayList;
import java.util.List;
/**
* Created by guangchun.luo on 16/3/2.
*/
@JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT)
public class NASConfig {
@JsonProperty("AccessGroup")
private List accessGroup;
@JsonProperty("FileSystem")
private List fileSystem;
@JsonIgnore
public List getAccessGroup() {
return accessGroup;
}
@JsonIgnore
public void setAccessGroup(List accessGroup) {
this.accessGroup = accessGroup;
}
@JsonIgnore
public List getFileSystem() {
return fileSystem;
}
@JsonIgnore
public void setFileSystem(List fileSystem) {
this.fileSystem = fileSystem;
}
public void addFileSystem(String item) {
if(fileSystem==null){
fileSystem = new ArrayList();
}
fileSystem.add(item);
}
public void addAccessGroup(String item) {
if(accessGroup==null){
accessGroup = new ArrayList();
}
accessGroup.add(item);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy