com.spotinst.sdkjava.model.api.elastigroup.aws.ApiElastigroupDeploymentStatusInstancesGreen Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.api.elastigroup.aws;
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 ApiElastigroupDeploymentStatusInstancesGreen implements IPartialUpdateEntity {
@JsonIgnore
private Set isSet;
private String instanceId;
private String lifeCycle;
private Integer batchNum;
private String status;
public ApiElastigroupDeploymentStatusInstancesGreen() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public String getInstanceId() {
return instanceId;
}
public void setInstanceId(String instanceId) {
isSet.add("instanceId");
this.instanceId = instanceId;
}
public String getLifeCycle() {
return lifeCycle;
}
public void setLifeCycle(String lifeCycle) {
isSet.add("lifeCycle");
this.lifeCycle = lifeCycle;
}
public Integer getBatchNum() {
return batchNum;
}
public void setBatchNum(Integer batchNum) {
isSet.add("batchNum");
this.batchNum = batchNum;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
isSet.add("status");
this.status = status;
}
@JsonIgnore
public boolean isInstanceIdSet() {
return isSet.contains("instanceId");
}
@JsonIgnore
public boolean isLifeCycleSet() {
return isSet.contains("lifeCycle");
}
@JsonIgnore
public boolean isBatchNumSet() {
return isSet.contains("batchNum");
}
@JsonIgnore
public boolean isStatusSet() {
return isSet.contains("status");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy