com.spotinst.sdkjava.model.api.ocean.kubernetes.ApiGetClusterNodesResponse Maven / Gradle / Ivy
package com.spotinst.sdkjava.model.api.ocean.kubernetes;
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 ApiGetClusterNodesResponse implements IPartialUpdateEntity {
@JsonIgnore
private Set isSet;
private String lifeCycle;
private String publicIp;
private Integer workloadRequestedMilliCpu;
private Integer workloadRequestedMemoryInMiB;
private Integer workloadRequestedGpu;
private Integer headroomRequestedMilliCpu;
private Integer headroomRequestedMemoryInMiB;
private Integer headroomRequestedGpu;
private Integer allocatableMilliCpu;
private Integer allocatableMemoryInMiB;
private String nodeName;
private String registrationStatus;
private String createdAt;
private String instanceId;
private String instanceType;
private String availabilityZone;
private String launchSpecId;
private String launchSpecName;
public ApiGetClusterNodesResponse() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public String getLifeCycle() {
return lifeCycle;
}
public void setLifeCycle(String lifeCycle) {
isSet.add("lifeCycle");
this.lifeCycle = lifeCycle;
}
public String getPublicIp() {
return publicIp;
}
public void setPublicIp(String publicIp) {
isSet.add("publicIp");
this.publicIp = publicIp;
}
public Integer getWorkloadRequestedMilliCpu() {
return workloadRequestedMilliCpu;
}
public void setWorkloadRequestedMilliCpu(Integer workloadRequestedMilliCpu) {
isSet.add("workloadRequestedMilliCpu");
this.workloadRequestedMilliCpu = workloadRequestedMilliCpu;
}
public Integer getWorkloadRequestedMemoryInMiB() {
return workloadRequestedMemoryInMiB;
}
public void setWorkloadRequestedMemoryInMiB(Integer workloadRequestedMemoryInMiB) {
isSet.add("workloadRequestedMemoryInMiB");
this.workloadRequestedMemoryInMiB = workloadRequestedMemoryInMiB;
}
public Integer getWorkloadRequestedGpu() {
return workloadRequestedGpu;
}
public void setWorkloadRequestedGpu(Integer workloadRequestedGpu) {
isSet.add("workloadRequestedGpu");
this.workloadRequestedGpu = workloadRequestedGpu;
}
public Integer getHeadroomRequestedMilliCpu() {
return headroomRequestedMilliCpu;
}
public void setHeadroomRequestedMilliCpu(Integer headroomRequestedMilliCpu) {
isSet.add("headroomRequestedMilliCpu");
this.headroomRequestedMilliCpu = headroomRequestedMilliCpu;
}
public Integer getHeadroomRequestedMemoryInMiB() {
return headroomRequestedMemoryInMiB;
}
public void setHeadroomRequestedMemoryInMiB(Integer headroomRequestedMemoryInMiB) {
isSet.add("headroomRequestedMemoryInMiB");
this.headroomRequestedMemoryInMiB = headroomRequestedMemoryInMiB;
}
public Integer getHeadroomRequestedGpu() {
return headroomRequestedGpu;
}
public void setHeadroomRequestedGpu(Integer headroomRequestedGpu) {
isSet.add("headroomRequestedGpu");
this.headroomRequestedGpu = headroomRequestedGpu;
}
public Integer getAllocatableMilliCpu() {
return allocatableMilliCpu;
}
public void setAllocatableMilliCpu(Integer allocatableMilliCpu) {
isSet.add("allocatableMilliCpu");
this.allocatableMilliCpu = allocatableMilliCpu;
}
public Integer getAllocatableMemoryInMiB() {
return allocatableMemoryInMiB;
}
public void setAllocatableMemoryInMiB(Integer allocatableMemoryInMiB) {
isSet.add("allocatableMemoryInMiB");
this.allocatableMemoryInMiB = allocatableMemoryInMiB;
}
public String getNodeName() {
return nodeName;
}
public void setNodeName(String nodeName) {
isSet.add("nodeName");
this.nodeName = nodeName;
}
public String getRegistrationStatus() {
return registrationStatus;
}
public void setRegistrationStatus(String registrationStatus) {
isSet.add("registrationStatus");
this.registrationStatus = registrationStatus;
}
public String getCreatedAt() {
return createdAt;
}
public void setCreatedAt(String createdAt) {
isSet.add("createdAt");
this.createdAt = createdAt;
}
public String getInstanceId() {
return instanceId;
}
public void setInstanceId(String instanceId) {
isSet.add("instanceId");
this.instanceId = instanceId;
}
public String getInstanceType() {
return instanceType;
}
public void setInstanceType(String instanceType) {
isSet.add("instanceType");
this.instanceType = instanceType;
}
public String getAvailabilityZone() {
return availabilityZone;
}
public void setAvailabilityZone(String availabilityZone) {
isSet.add("availabilityZone");
this.availabilityZone = availabilityZone;
}
public String getLaunchSpecId() {
return launchSpecId;
}
public void setLaunchSpecId(String launchSpecId) {
isSet.add("launchSpecId");
this.launchSpecId = launchSpecId;
}
public String getLaunchSpecName() {
return launchSpecName;
}
public void setLaunchSpecName(String launchSpecName) {
isSet.add("launchSpecName");
this.launchSpecName = launchSpecName;
}
@JsonIgnore
public boolean isLifeCycleSet() {
return isSet.contains("lifeCycle");
}
@JsonIgnore
public boolean isPublicIpSet() {
return isSet.contains("publicIp");
}
@JsonIgnore
public boolean isWorkloadRequestedMilliCpuSet() {
return isSet.contains("workloadRequestedMilliCpu");
}
@JsonIgnore
public boolean isWorkloadRequestedMemoryInMiBSet() {
return isSet.contains("workloadRequestedMemoryInMiB");
}
@JsonIgnore
public boolean isWorkloadRequestedGpuSet() {
return isSet.contains("workloadRequestedGpu");
}
@JsonIgnore
public boolean isHeadroomRequestedMilliCpuSet() {
return isSet.contains("headroomRequestedMilliCpu");
}
@JsonIgnore
public boolean isHeadroomRequestedMemoryInMiBSet() {
return isSet.contains("headroomRequestedMemoryInMiB");
}
@JsonIgnore
public boolean isHeadroomRequestedGpuSet() {
return isSet.contains("headroomRequestedGpu");
}
@JsonIgnore
public boolean isAllocatableMilliCpuSet() {
return isSet.contains("allocatableMilliCpu");
}
@JsonIgnore
public boolean isAllocatableMemoryInMiBSet() {
return isSet.contains("allocatableMemoryInMiB");
}
@JsonIgnore
public boolean isNodeNameSet() {
return isSet.contains("nodeName");
}
@JsonIgnore
public boolean isRegistrationStatusSet() {
return isSet.contains("registrationStatus");
}
@JsonIgnore
public boolean isCreatedAtSet() {
return isSet.contains("createdAt");
}
@JsonIgnore
public boolean isInstanceIdSet() {
return isSet.contains("instanceId");
}
@JsonIgnore
public boolean isInstanceTypeSet() {
return isSet.contains("instanceType");
}
@JsonIgnore
public boolean isAvailabilityZoneSet() {
return isSet.contains("availabilityZone");
}
@JsonIgnore
public boolean isLaunchSpecIdSet() {
return isSet.contains("launchSpecId");
}
@JsonIgnore
public boolean isLaunchSpecNameSet() {
return isSet.contains("launchSpecName");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy