com.spotinst.sdkjava.model.api.aws.managedInstance.ApiEbs Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.api.aws.managedInstance;
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.Set;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonFilter("PartialUpdateEntityFilter")
public class ApiEbs implements IPartialUpdateEntity {
@JsonIgnore
private Set isSet;
private Boolean deleteOnTermination;
private Integer iops;
private Integer throughput;
private Integer volumeSize;
private String volumeType;
public ApiEbs() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public Boolean getDeleteOnTermination() {
return deleteOnTermination;
}
public void setDeleteOnTermination(Boolean deleteOnTermination) {
isSet.add("deleteOnTermination");
this.deleteOnTermination = deleteOnTermination;
}
public Integer getIops() {
return iops;
}
public void setIops(Integer iops) {
isSet.add("iops");
this.iops = iops;
}
public Integer getThroughput() {
return throughput;
}
public void setThroughput(Integer throughput) {
isSet.add("throughput");
this.throughput = throughput;
}
public Integer getVolumeSize() {
return volumeSize;
}
public void setVolumeSize(Integer volumeSize) {
isSet.add("volumeSize");
this.volumeSize = volumeSize;
}
public String getVolumeType() {
return volumeType;
}
public void setVolumeType(String volumeType) {
isSet.add("volumeType");
this.volumeType = volumeType;
}
@JsonIgnore
public boolean isDeleteOnTerminationSet() {
return isSet.contains("deleteOnTermination");
}
@JsonIgnore
public boolean isIopsSet() {
return isSet.contains("iops");
}
@JsonIgnore
public boolean isVolumeSizeSet() {
return isSet.contains("volumeSize");
}
@JsonIgnore
public boolean isVolumeTypeSet() {
return isSet.contains("volumeType");
}
@JsonIgnore
public boolean isThroughputSet() {
return isSet.contains("throughput");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy