com.spotinst.sdkjava.model.api.ocean.gke.ApiLaunchSpecSpecification Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.api.ocean.gke;
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 ApiLaunchSpecSpecification implements IPartialUpdateEntity {
@JsonIgnore
private Set isSet;
private String id;
private String oceanId;
private String name;
private String sourceImage;
private String serviceAccount;
private Integer rootVolumeSizeInGb;
private String rootVolumeType;
private Boolean restrictScaleDown;
private List metadata;
private List instanceTypes;
private List taints;
private List labels;
private ApiLaunchSpecAutoScaleSpecification autoScale;
private ApiLaunchSpecResourceLimitSpecification resourceLimits;
private ApiLaunchSpecResourceShieldedInstanceSpecification shieldedInstanceConfig;
private ApiLaunchSpecStrategySpecification strategy;
private ApiLaunchSpecStorageSpecification storage;
private Boolean ipForwarding;
private String minCpuPlatform;
private List tags;
public ApiLaunchSpecSpecification() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public String getId() {
return id;
}
public void setId(String launchSpecId) {
this.id = launchSpecId;
isSet.add("id");
}
public String getOceanId() {
return oceanId;
}
public void setOceanId(String oceanId) {
this.oceanId = oceanId;
isSet.add("oceanId");
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
isSet.add("name");
}
public String getSourceImage() {
return sourceImage;
}
public void setSourceImage(String sourceImage) {
this.sourceImage = sourceImage;
isSet.add("sourceImage");
}
public String getServiceAccount() {
return serviceAccount;
}
public void setServiceAccount(String serviceAccount) {
this.serviceAccount = serviceAccount;
isSet.add("serviceAccount");
}
public Integer getRootVolumeSizeInGb() {
return rootVolumeSizeInGb;
}
public void setRootVolumeSizeInGb(Integer rootVolumeSizeInGb) {
this.rootVolumeSizeInGb = rootVolumeSizeInGb;
isSet.add("rootVolumeSizeInGb");
}
public String getRootVolumeType() {
return rootVolumeType;
}
public void setRootVolumeType(String rootVolumeType) {
this.rootVolumeType = rootVolumeType;
isSet.add("rootVolumeType");
}
public Boolean getRestrictScaleDown(){
return restrictScaleDown;
}
public void setRestrictScaleDown(Boolean restrictScaleDown) {
this.restrictScaleDown = restrictScaleDown;
isSet.add("restrictScaleDown");
}
public List getMetadata() {
return metadata;
}
public void setMetadata(List metadata) {
this.metadata = metadata;
isSet.add("metadata");
}
public List getInstanceTypes() {
return instanceTypes;
}
public void setInstanceTypes(List instanceTypes) {
this.instanceTypes = instanceTypes;
isSet.add("instanceTypes");
}
public List getTaints() {
return taints;
}
public void setTaints(List taints) {
this.taints = taints;
isSet.add("taints");
}
public List getLabels() {
return labels;
}
public void setLabels(List labels) {
this.labels = labels;
isSet.add("labels");
}
public ApiLaunchSpecAutoScaleSpecification getAutoScale() {
return autoScale;
}
public void setAutoScale(ApiLaunchSpecAutoScaleSpecification autoScale) {
this.autoScale = autoScale;
isSet.add("autoScale");
}
public ApiLaunchSpecResourceLimitSpecification getResourceLimits() {
return resourceLimits;
}
public void setResourceLimits(ApiLaunchSpecResourceLimitSpecification resourceLimits) {
isSet.add("resourceLimits");
this.resourceLimits = resourceLimits;
}
public ApiLaunchSpecResourceShieldedInstanceSpecification getShieldedInstanceConfig() {
return shieldedInstanceConfig;
}
public void setShieldedInstanceConfig(ApiLaunchSpecResourceShieldedInstanceSpecification shieldedInstanceConfig) {
this.shieldedInstanceConfig = shieldedInstanceConfig;
isSet.add("shieldedInstanceConfig");
}
public ApiLaunchSpecStrategySpecification getStrategy() {
return strategy;
}
public void setStrategy(ApiLaunchSpecStrategySpecification strategy) {
this.strategy = strategy;
isSet.add("strategy");
}
public ApiLaunchSpecStorageSpecification getStorage() {
return storage;
}
public void setStorage(ApiLaunchSpecStorageSpecification storage) {
this.storage = storage;
isSet.add("storage");
}
public Boolean getIpForwarding() { return ipForwarding; }
public void setIpForwarding(Boolean ipForwarding) {
isSet.add("ipForwarding");
this.ipForwarding = ipForwarding;
}
public String getMinCpuPlatform() { return minCpuPlatform; }
public void setMinCpuPlatform(String minCpuPlatform) {
isSet.add("minCpuPlatform");
this.minCpuPlatform = minCpuPlatform;
}
public List getTags() { return tags; }
public void setTags(List tags) {
isSet.add("tags");
this.tags = tags;
}
@JsonIgnore
public Boolean isIdSet() { return isSet.contains("id"); }
@JsonIgnore
public Boolean isOceanIdSet() { return isSet.contains("oceanId"); }
@JsonIgnore
public Boolean isNameSet() { return isSet.contains("name"); }
@JsonIgnore
public Boolean isSourceImageSet() { return isSet.contains("sourceImage"); }
@JsonIgnore
public Boolean isServiceAccountSet() { return isSet.contains("serviceAccount"); }
@JsonIgnore
public Boolean isRootVolumeSizeInGbSet() { return isSet.contains("rootVolumeSizeInGb"); }
@JsonIgnore
public Boolean isRootVolumeTypeSet() { return isSet.contains("rootVolumeType"); }
@JsonIgnore
public Boolean isRestrictScaleDownSet() { return isSet.contains("restrictScaleDown"); }
@JsonIgnore
public Boolean isMetadataSet() { return isSet.contains("metadata"); }
@JsonIgnore
public Boolean isInstanceTypesSet() { return isSet.contains("instanceTypes"); }
@JsonIgnore
public Boolean isTaintsSet() { return isSet.contains("taints"); }
@JsonIgnore
public Boolean isLabelsSet() { return isSet.contains("labels"); }
@JsonIgnore
public Boolean isAutoScaleSet() { return isSet.contains("autoScale"); }
@JsonIgnore
public Boolean isResourceLimitsSet() { return isSet.contains("resourceLimits"); }
@JsonIgnore
public Boolean isShieldedInstanceConfigSet() { return isSet.contains("shieldedInstanceConfig"); }
@JsonIgnore
public Boolean isStrategySet() { return isSet.contains("strategy"); }
@JsonIgnore
public Boolean isStorageSet() { return isSet.contains("storage"); }
@JsonIgnore
public Boolean isIpForwardingSet() { return isSet.contains("ipForwarding"); }
@JsonIgnore
public Boolean isMinCpuPlatformSet() { return isSet.contains("minCpuPlatform"); }
@JsonIgnore
public Boolean isTagsSet() { return isSet.contains("tags"); }
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy