com.spotinst.sdkjava.model.api.ocean.kubernetes.ApiClusterLaunchSpecification 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 com.spotinst.sdkjava.model.ApiTag;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonFilter("PartialUpdateEntityFilter")
public class ApiClusterLaunchSpecification implements IPartialUpdateEntity {
//region Members
@JsonIgnore
private Set isSet;
private String imageId;
private String userData;
private List securityGroupIds;
private ApiClusterIamInstanceProfileSpec iamInstanceProfile;
private String keyPair;
private List tags;
private Boolean associatePublicIpAddress;
private Boolean monitoring;
private Boolean ebsOptimized;
private Integer rootVolumeSize;
public ApiClusterLaunchSpecification() {
isSet = new HashSet<>();
}
//endregion
//region Getters & Setters
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public List getSecurityGroupIds() {
return securityGroupIds;
}
public void setSecurityGroupIds(List securityGroupIds) {
isSet.add("securityGroupIds");
this.securityGroupIds = securityGroupIds;
}
public Boolean getEbsOptimized() {
return ebsOptimized;
}
public void setEbsOptimized(Boolean ebsOptimized) {
isSet.add("ebsOptimized");
this.ebsOptimized = ebsOptimized;
}
public String getImageId() {
return imageId;
}
public void setImageId(String imageId) {
isSet.add("imageId");
this.imageId = imageId;
}
public String getKeyPair() {
return keyPair;
}
public void setKeyPair(String keyPair) {
isSet.add("keyPair");
this.keyPair = keyPair;
}
public String getUserData() {
return userData;
}
public void setUserData(String userData) {
isSet.add("userData");
this.userData = userData;
}
public List getTags() {
return tags;
}
public void setTags(List tags) {
isSet.add("tags");
this.tags = tags;
}
public ApiClusterIamInstanceProfileSpec getIamInstanceProfile() {
return iamInstanceProfile;
}
public void setIamInstanceProfile(ApiClusterIamInstanceProfileSpec iamInstanceProfile) {
isSet.add("iamInstanceProfile");
this.iamInstanceProfile = iamInstanceProfile;
}
public Boolean getAssociatePublicIpAddress() {
return associatePublicIpAddress;
}
public void setAssociatePublicIpAddress(Boolean associatePublicIpAddress) {
isSet.add("associatePublicIpAddress");
this.associatePublicIpAddress = associatePublicIpAddress;
}
public Boolean getMonitoring() {
return monitoring;
}
public void setMonitoring(Boolean monitoring) {
isSet.add("monitoring");
this.monitoring = monitoring;
}
public Integer getRootVolumeSize() {
return rootVolumeSize;
}
public void setRootVolumeSize(Integer rootVolumeSize) {
isSet.add("rootVolumeSize");
this.rootVolumeSize = rootVolumeSize;
}
@JsonIgnore
public boolean isImageIdSet() {
return isSet.contains("imageId");
}
@JsonIgnore
public boolean isUserDataSet() {
return isSet.contains("userData");
}
@JsonIgnore
public boolean isSecurityGroupIdsSet() {
return isSet.contains("securityGroupIds");
}
@JsonIgnore
public boolean isIamInstanceProfileSet() {
return isSet.contains("iamInstanceProfile");
}
@JsonIgnore
public boolean isKeyPairSet() {
return isSet.contains("keyPair");
}
@JsonIgnore
public boolean isTagsSet() {
return isSet.contains("tags");
}
@JsonIgnore
public boolean isAssociatePublicIpAddressSet() {
return isSet.contains("associatePublicIpAddress");
}
@JsonIgnore
public boolean isMonitoringSet() {
return isSet.contains("monitoring");
}
@JsonIgnore
public boolean isEbsOptimizedSet() {
return isSet.contains("ebsOptimized");
}
@JsonIgnore
public boolean isRootVolumeSizeSet() {
return isSet.contains("rootVolumeSize");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy