com.spotinst.sdkjava.model.api.azure.statefulNode.ApiStatefulNodeLaunchSpecification Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.api.azure.statefulNode;
import com.fasterxml.jackson.annotation.JsonFilter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.spotinst.sdkjava.client.rest.IPartialUpdateEntity;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonFilter("PartialUpdateEntityFilter")
public class ApiStatefulNodeLaunchSpecification implements IPartialUpdateEntity {
@JsonIgnore
private Set isSet;
private ApiLaunchSpecImageConfiguration image;
private ApiLaunchSpecNetworkConfiguration network;
private List dataDisks;
private ApiLaunchSpecOsDiskSpecification osDisk;
private List extensions;
private ApiLaunchSpecLoginSpecification login;
private List tags;
public ApiStatefulNodeLaunchSpecification() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public ApiLaunchSpecImageConfiguration getImage() {
return image;
}
public void setImage(ApiLaunchSpecImageConfiguration image) {
isSet.add("image");
this.image = image;
}
public ApiLaunchSpecNetworkConfiguration getNetwork() {
return network;
}
public void setNetwork(ApiLaunchSpecNetworkConfiguration network) {
isSet.add("network");
this.network = network;
}
public List getDataDisks() {
return dataDisks;
}
public void setDataDisks(List dataDisks) {
isSet.add("dataDisks");
this.dataDisks = dataDisks;
}
public ApiLaunchSpecOsDiskSpecification getOsDisk() {
return osDisk;
}
public void setOsDisk(ApiLaunchSpecOsDiskSpecification osDisk) {
isSet.add("osDisk");
this.osDisk = osDisk;
}
public List getExtensions() {
return extensions;
}
public void setExtensions(List extensions) {
isSet.add("extensions");
this.extensions = extensions;
}
public ApiLaunchSpecLoginSpecification getLogin() {
return login;
}
public void setLogin(ApiLaunchSpecLoginSpecification login) {
isSet.add("login");
this.login = login;
}
public List getTags() {
return tags;
}
public void setTags(List tags) {
isSet.add("tags");
this.tags = tags;
}
@JsonIgnore
public boolean isImageSet() {
return isSet.contains("image");
}
@JsonIgnore
public boolean isNetworkSet() {
return isSet.contains("network");
}
@JsonIgnore
public boolean isDataDisksSet() {
return isSet.contains("dataDisks");
}
@JsonIgnore
public boolean isOsDiskSet() {
return isSet.contains("osDisk");
}
@JsonIgnore
public boolean isExtensionsSet() {
return isSet.contains("extensions");
}
@JsonIgnore
public boolean isLoginSet() {
return isSet.contains("login");
}
@JsonIgnore
public boolean isTagsSet() {
return isSet.contains("tags");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy