com.spotinst.sdkjava.model.api.aws.managedInstance.ApiLaunchSpecification 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.List;
import java.util.Set;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonFilter("PartialUpdateEntityFilter")
public class ApiLaunchSpecification implements IPartialUpdateEntity {
@JsonIgnore
private Set isSet;
private List blockDeviceMappings;
private ApiCreditSpecification creditSpecification;
private Boolean ebsOptimized;
private ApiIamRole iamRole;
private String imageId;
private ApiInstanceTypes instanceTypes;
private String keyPair;
private Boolean monitoring;
private List networkInterfaces;
private ApiResourceTagSpecification resourceTagSpecification;
private List securityGroupIds;
private String shutdownScript;
private List tags;
private String tenancy;
private String userData;
public ApiLaunchSpecification() {
isSet = new HashSet<>();
}
public Set getIsSet() {
return isSet;
}
public void setIsSet(Set isSet) {
this.isSet = isSet;
}
public List getBlockDeviceMappings() {
return blockDeviceMappings;
}
public void setBlockDeviceMappings(List blockDeviceMappings) {
isSet.add("blockDeviceMappings");
this.blockDeviceMappings = blockDeviceMappings;
}
public ApiCreditSpecification getCreditSpecification() {
return creditSpecification;
}
public void setCreditSpecification(ApiCreditSpecification creditSpecification) {
isSet.add("creditSpecification");
this.creditSpecification = creditSpecification;
}
public Boolean getEbsOptimized() {
return ebsOptimized;
}
public void setEbsOptimized(Boolean ebsOptimized) {
isSet.add("ebsOptimized");
this.ebsOptimized = ebsOptimized;
}
public ApiIamRole getIamRole() {
return iamRole;
}
public void setIamRole(ApiIamRole iamRole) {
isSet.add("iamRole");
this.iamRole = iamRole;
}
public String getImageId() {
return imageId;
}
public void setImageId(String imageId) {
isSet.add("imageId");
this.imageId = imageId;
}
public ApiInstanceTypes getInstanceTypes() {
return instanceTypes;
}
public void setInstanceTypes(ApiInstanceTypes instanceTypes) {
isSet.add("instanceTypes");
this.instanceTypes = instanceTypes;
}
public String getKeyPair() {
return keyPair;
}
public void setKeyPair(String keyPair) {
isSet.add("keyPair");
this.keyPair = keyPair;
}
public Boolean getMonitoring() {
return monitoring;
}
public void setMonitoring(Boolean monitoring) {
isSet.add("monitoring");
this.monitoring = monitoring;
}
public List getNetworkInterfaces() {
return networkInterfaces;
}
public void setNetworkInterfaces(List networkInterfaces) {
isSet.add("networkInterfaces");
this.networkInterfaces = networkInterfaces;
}
public ApiResourceTagSpecification getResourceTagSpecification() {
return resourceTagSpecification;
}
public void setResourceTagSpecification(ApiResourceTagSpecification resourceTagSpecification) {
isSet.add("resourceTagSpecification");
this.resourceTagSpecification = resourceTagSpecification;
}
public List getSecurityGroupIds() {
return securityGroupIds;
}
public void setSecurityGroupIds(List securityGroupIds) {
isSet.add("securityGroupIds");
this.securityGroupIds = securityGroupIds;
}
public String getShutdownScript() {
return shutdownScript;
}
public void setShutdownScript(String shutdownScript) {
isSet.add("shutdownScript");
this.shutdownScript = shutdownScript;
}
public List getTags() {
return tags;
}
public void setTags(List tags) {
isSet.add("tags");
this.tags = tags;
}
public String getTenancy() {
return tenancy;
}
public void setTenancy(String tenancy) {
isSet.add("tenancy");
this.tenancy = tenancy;
}
public String getUserData() {
return userData;
}
public void setUserData(String userData) {
isSet.add("userData");
this.userData = userData;
}
@JsonIgnore
public boolean isBlockDeviceMappingsSet() {
return isSet.contains("blockDeviceMappings");
}
@JsonIgnore
public boolean isCreditSpecificationSet() {
return isSet.contains("creditSpecification");
}
@JsonIgnore
public boolean isEbsOptimizedSet() {
return isSet.contains("ebsOptimized");
}
@JsonIgnore
public boolean isIamRoleSet() {
return isSet.contains("iamRole");
}
@JsonIgnore
public boolean isImageIdSet() {
return isSet.contains("imageId");
}
@JsonIgnore
public boolean isInstanceTypesSet() {
return isSet.contains("instanceTypes");
}
@JsonIgnore
public boolean isKeyPairSet() {
return isSet.contains("keyPair");
}
@JsonIgnore
public boolean isMonitoringSet() {
return isSet.contains("monitoring");
}
@JsonIgnore
public boolean isNetworkInterfacesSet() {
return isSet.contains("networkInterfaces");
}
@JsonIgnore
public boolean isResourceTagSpecificationSet() {
return isSet.contains("resourceTagSpecification");
}
@JsonIgnore
public boolean isSecurityGroupIdsSet() {
return isSet.contains("securityGroupIds");
}
@JsonIgnore
public boolean isShutdownScriptSet() {
return isSet.contains("shutdownScript");
}
@JsonIgnore
public boolean isTagsSet() {
return isSet.contains("tags");
}
@JsonIgnore
public boolean isTenancySet() {
return isSet.contains("tenancy");
}
@JsonIgnore
public boolean isUserDataSet() {
return isSet.contains("userData");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy