com.softlayer.api.service.product.pkg.Server Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.product.pkg;
import com.softlayer.api.ApiClient;
import com.softlayer.api.ResponseHandler;
import com.softlayer.api.annotation.ApiMethod;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.product.Catalog;
import com.softlayer.api.service.product.Item;
import com.softlayer.api.service.product.Package;
import com.softlayer.api.service.product.item.Price;
import com.softlayer.api.service.product.pkg.Preset;
import java.math.BigDecimal;
import java.util.List;
import java.util.concurrent.Future;
/**
* The SoftLayer_Product_Package_Server data type contains summarized information for bare metal servers regarding pricing, processor stats, and feature sets.
*
* @see SoftLayer_Product_Package_Server
*/
@ApiType("SoftLayer_Product_Package_Server")
public class Server extends Entity {
@ApiProperty
protected Catalog catalog;
public Catalog getCatalog() {
return catalog;
}
public void setCatalog(Catalog catalog) {
this.catalog = catalog;
}
@ApiProperty
protected Item item;
public Item getItem() {
return item;
}
public void setItem(Item item) {
this.item = item;
}
@ApiProperty
protected Price itemPrice;
public Price getItemPrice() {
return itemPrice;
}
public void setItemPrice(Price itemPrice) {
this.itemPrice = itemPrice;
}
@ApiProperty("package")
protected Package serverPackage;
public Package getServerPackage() {
return serverPackage;
}
public void setServerPackage(Package serverPackage) {
this.serverPackage = serverPackage;
}
@ApiProperty
protected Preset preset;
public Preset getPreset() {
return preset;
}
public void setPreset(Preset preset) {
this.preset = preset;
}
/**
* Flag to indicate if the server a Bare Metal Reserved offering.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean bareMetalReservedFlag;
public Boolean getBareMetalReservedFlag() {
return bareMetalReservedFlag;
}
public void setBareMetalReservedFlag(Boolean bareMetalReservedFlag) {
bareMetalReservedFlagSpecified = true;
this.bareMetalReservedFlag = bareMetalReservedFlag;
}
protected boolean bareMetalReservedFlagSpecified;
public boolean isBareMetalReservedFlagSpecified() {
return bareMetalReservedFlagSpecified;
}
public void unsetBareMetalReservedFlag() {
bareMetalReservedFlag = null;
bareMetalReservedFlagSpecified = false;
}
/**
* The unique identifier of a [[SoftLayer_Product_Catalog]].
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long catalogId;
public Long getCatalogId() {
return catalogId;
}
public void setCatalogId(Long catalogId) {
catalogIdSpecified = true;
this.catalogId = catalogId;
}
protected boolean catalogIdSpecified;
public boolean isCatalogIdSpecified() {
return catalogIdSpecified;
}
public void unsetCatalogId() {
catalogId = null;
catalogIdSpecified = false;
}
/**
* Comma-separated list of datacenter names this server is available in
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String datacenters;
public String getDatacenters() {
return datacenters;
}
public void setDatacenters(String datacenters) {
datacentersSpecified = true;
this.datacenters = datacenters;
}
protected boolean datacentersSpecified;
public boolean isDatacentersSpecified() {
return datacentersSpecified;
}
public void unsetDatacenters() {
datacenters = null;
datacentersSpecified = false;
}
/**
* The minimum amount of RAM the server is configured with.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal defaultRamCapacity;
public BigDecimal getDefaultRamCapacity() {
return defaultRamCapacity;
}
public void setDefaultRamCapacity(BigDecimal defaultRamCapacity) {
defaultRamCapacitySpecified = true;
this.defaultRamCapacity = defaultRamCapacity;
}
protected boolean defaultRamCapacitySpecified;
public boolean isDefaultRamCapacitySpecified() {
return defaultRamCapacitySpecified;
}
public void unsetDefaultRamCapacity() {
defaultRamCapacity = null;
defaultRamCapacitySpecified = false;
}
/**
* Flag to indicate if the server configuration supports dual path network routing.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean dualPathNetworkFlag;
public Boolean getDualPathNetworkFlag() {
return dualPathNetworkFlag;
}
public void setDualPathNetworkFlag(Boolean dualPathNetworkFlag) {
dualPathNetworkFlagSpecified = true;
this.dualPathNetworkFlag = dualPathNetworkFlag;
}
protected boolean dualPathNetworkFlagSpecified;
public boolean isDualPathNetworkFlagSpecified() {
return dualPathNetworkFlagSpecified;
}
public void unsetDualPathNetworkFlag() {
dualPathNetworkFlag = null;
dualPathNetworkFlagSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean flexCoreServerFlag;
public Boolean getFlexCoreServerFlag() {
return flexCoreServerFlag;
}
public void setFlexCoreServerFlag(Boolean flexCoreServerFlag) {
flexCoreServerFlagSpecified = true;
this.flexCoreServerFlag = flexCoreServerFlag;
}
protected boolean flexCoreServerFlagSpecified;
public boolean isFlexCoreServerFlagSpecified() {
return flexCoreServerFlagSpecified;
}
public void unsetFlexCoreServerFlag() {
flexCoreServerFlag = null;
flexCoreServerFlagSpecified = false;
}
/**
* Indicates whether or not the server contains a GPU.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean gpuFlag;
public Boolean getGpuFlag() {
return gpuFlag;
}
public void setGpuFlag(Boolean gpuFlag) {
gpuFlagSpecified = true;
this.gpuFlag = gpuFlag;
}
protected boolean gpuFlagSpecified;
public boolean isGpuFlagSpecified() {
return gpuFlagSpecified;
}
public void unsetGpuFlag() {
gpuFlag = null;
gpuFlagSpecified = false;
}
/**
* Flag to determine if a server is available for hourly billing.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean hourlyBillingFlag;
public Boolean getHourlyBillingFlag() {
return hourlyBillingFlag;
}
public void setHourlyBillingFlag(Boolean hourlyBillingFlag) {
hourlyBillingFlagSpecified = true;
this.hourlyBillingFlag = hourlyBillingFlag;
}
protected boolean hourlyBillingFlagSpecified;
public boolean isHourlyBillingFlagSpecified() {
return hourlyBillingFlagSpecified;
}
public void unsetHourlyBillingFlag() {
hourlyBillingFlag = null;
hourlyBillingFlagSpecified = false;
}
/**
* The unique identifier of a [[SoftLayer_Product_Package_Server]].
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
idSpecified = true;
this.id = id;
}
protected boolean idSpecified;
public boolean isIdSpecified() {
return idSpecified;
}
public void unsetId() {
id = null;
idSpecified = false;
}
/**
* The unique identifier of a [[SoftLayer_Product_Item]].
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long itemId;
public Long getItemId() {
return itemId;
}
public void setItemId(Long itemId) {
itemIdSpecified = true;
this.itemId = itemId;
}
protected boolean itemIdSpecified;
public boolean isItemIdSpecified() {
return itemIdSpecified;
}
public void unsetItemId() {
itemId = null;
itemIdSpecified = false;
}
/**
* The unique identifier of a [[SoftLayer_Product_Item_Price]].
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long itemPriceId;
public Long getItemPriceId() {
return itemPriceId;
}
public void setItemPriceId(Long itemPriceId) {
itemPriceIdSpecified = true;
this.itemPriceId = itemPriceId;
}
protected boolean itemPriceIdSpecified;
public boolean isItemPriceIdSpecified() {
return itemPriceIdSpecified;
}
public void unsetItemPriceId() {
itemPriceId = null;
itemPriceIdSpecified = false;
}
/**
* The maximum number of hard drives the server can support.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long maximumDriveCount;
public Long getMaximumDriveCount() {
return maximumDriveCount;
}
public void setMaximumDriveCount(Long maximumDriveCount) {
maximumDriveCountSpecified = true;
this.maximumDriveCount = maximumDriveCount;
}
protected boolean maximumDriveCountSpecified;
public boolean isMaximumDriveCountSpecified() {
return maximumDriveCountSpecified;
}
public void unsetMaximumDriveCount() {
maximumDriveCount = null;
maximumDriveCountSpecified = false;
}
/**
* The maximum available network speed for the server.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal maximumPortSpeed;
public BigDecimal getMaximumPortSpeed() {
return maximumPortSpeed;
}
public void setMaximumPortSpeed(BigDecimal maximumPortSpeed) {
maximumPortSpeedSpecified = true;
this.maximumPortSpeed = maximumPortSpeed;
}
protected boolean maximumPortSpeedSpecified;
public boolean isMaximumPortSpeedSpecified() {
return maximumPortSpeedSpecified;
}
public void unsetMaximumPortSpeed() {
maximumPortSpeed = null;
maximumPortSpeedSpecified = false;
}
/**
* The maximum amount of RAM the server can support.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal maximumRamCapacity;
public BigDecimal getMaximumRamCapacity() {
return maximumRamCapacity;
}
public void setMaximumRamCapacity(BigDecimal maximumRamCapacity) {
maximumRamCapacitySpecified = true;
this.maximumRamCapacity = maximumRamCapacity;
}
protected boolean maximumRamCapacitySpecified;
public boolean isMaximumRamCapacitySpecified() {
return maximumRamCapacitySpecified;
}
public void unsetMaximumRamCapacity() {
maximumRamCapacity = null;
maximumRamCapacitySpecified = false;
}
/**
* The minimum available network speed for the server.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal minimumPortSpeed;
public BigDecimal getMinimumPortSpeed() {
return minimumPortSpeed;
}
public void setMinimumPortSpeed(BigDecimal minimumPortSpeed) {
minimumPortSpeedSpecified = true;
this.minimumPortSpeed = minimumPortSpeed;
}
protected boolean minimumPortSpeedSpecified;
public boolean isMinimumPortSpeedSpecified() {
return minimumPortSpeedSpecified;
}
public void unsetMinimumPortSpeed() {
minimumPortSpeed = null;
minimumPortSpeedSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean networkGatewayApplianceRoleFlag;
public Boolean getNetworkGatewayApplianceRoleFlag() {
return networkGatewayApplianceRoleFlag;
}
public void setNetworkGatewayApplianceRoleFlag(Boolean networkGatewayApplianceRoleFlag) {
networkGatewayApplianceRoleFlagSpecified = true;
this.networkGatewayApplianceRoleFlag = networkGatewayApplianceRoleFlag;
}
protected boolean networkGatewayApplianceRoleFlagSpecified;
public boolean isNetworkGatewayApplianceRoleFlagSpecified() {
return networkGatewayApplianceRoleFlagSpecified;
}
public void unsetNetworkGatewayApplianceRoleFlag() {
networkGatewayApplianceRoleFlag = null;
networkGatewayApplianceRoleFlagSpecified = false;
}
/**
* DEPRECATED. Indicates whether or not the server is being sold as part of an outlet package.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean outletFlag;
public Boolean getOutletFlag() {
return outletFlag;
}
public void setOutletFlag(Boolean outletFlag) {
outletFlagSpecified = true;
this.outletFlag = outletFlag;
}
protected boolean outletFlagSpecified;
public boolean isOutletFlagSpecified() {
return outletFlagSpecified;
}
public void unsetOutletFlag() {
outletFlag = null;
outletFlagSpecified = false;
}
/**
* The unique identifier of a [[SoftLayer_Product_Package]].
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long packageId;
public Long getPackageId() {
return packageId;
}
public void setPackageId(Long packageId) {
packageIdSpecified = true;
this.packageId = packageId;
}
protected boolean packageIdSpecified;
public boolean isPackageIdSpecified() {
return packageIdSpecified;
}
public void unsetPackageId() {
packageId = null;
packageIdSpecified = false;
}
/**
* The type of service offering/package.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String packageType;
public String getPackageType() {
return packageType;
}
public void setPackageType(String packageType) {
packageTypeSpecified = true;
this.packageType = packageType;
}
protected boolean packageTypeSpecified;
public boolean isPackageTypeSpecified() {
return packageTypeSpecified;
}
public void unsetPackageType() {
packageType = null;
packageTypeSpecified = false;
}
/**
* Flag to indicate if the server is an IBM Power server.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean powerServerFlag;
public Boolean getPowerServerFlag() {
return powerServerFlag;
}
public void setPowerServerFlag(Boolean powerServerFlag) {
powerServerFlagSpecified = true;
this.powerServerFlag = powerServerFlag;
}
protected boolean powerServerFlagSpecified;
public boolean isPowerServerFlagSpecified() {
return powerServerFlagSpecified;
}
public void unsetPowerServerFlag() {
powerServerFlag = null;
powerServerFlagSpecified = false;
}
/**
* The unique identifier of a [[SoftLayer_Product_Package_Preset]].
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long presetId;
public Long getPresetId() {
return presetId;
}
public void setPresetId(Long presetId) {
presetIdSpecified = true;
this.presetId = presetId;
}
protected boolean presetIdSpecified;
public boolean isPresetIdSpecified() {
return presetIdSpecified;
}
public void unsetPresetId() {
presetId = null;
presetIdSpecified = false;
}
/**
* Indicates whether or not the server can only be configured with a private network.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean privateNetworkOnlyFlag;
public Boolean getPrivateNetworkOnlyFlag() {
return privateNetworkOnlyFlag;
}
public void setPrivateNetworkOnlyFlag(Boolean privateNetworkOnlyFlag) {
privateNetworkOnlyFlagSpecified = true;
this.privateNetworkOnlyFlag = privateNetworkOnlyFlag;
}
protected boolean privateNetworkOnlyFlagSpecified;
public boolean isPrivateNetworkOnlyFlagSpecified() {
return privateNetworkOnlyFlagSpecified;
}
public void unsetPrivateNetworkOnlyFlag() {
privateNetworkOnlyFlag = null;
privateNetworkOnlyFlagSpecified = false;
}
/**
* The processor's bus speed.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String processorBusSpeed;
public String getProcessorBusSpeed() {
return processorBusSpeed;
}
public void setProcessorBusSpeed(String processorBusSpeed) {
processorBusSpeedSpecified = true;
this.processorBusSpeed = processorBusSpeed;
}
protected boolean processorBusSpeedSpecified;
public boolean isProcessorBusSpeedSpecified() {
return processorBusSpeedSpecified;
}
public void unsetProcessorBusSpeed() {
processorBusSpeed = null;
processorBusSpeedSpecified = false;
}
/**
* The amount of cache the processor has.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String processorCache;
public String getProcessorCache() {
return processorCache;
}
public void setProcessorCache(String processorCache) {
processorCacheSpecified = true;
this.processorCache = processorCache;
}
protected boolean processorCacheSpecified;
public boolean isProcessorCacheSpecified() {
return processorCacheSpecified;
}
public void unsetProcessorCache() {
processorCache = null;
processorCacheSpecified = false;
}
/**
* The number of cores in each processor.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long processorCores;
public Long getProcessorCores() {
return processorCores;
}
public void setProcessorCores(Long processorCores) {
processorCoresSpecified = true;
this.processorCores = processorCores;
}
protected boolean processorCoresSpecified;
public boolean isProcessorCoresSpecified() {
return processorCoresSpecified;
}
public void unsetProcessorCores() {
processorCores = null;
processorCoresSpecified = false;
}
/**
* The number of processors the server has.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long processorCount;
public Long getProcessorCount() {
return processorCount;
}
public void setProcessorCount(Long processorCount) {
processorCountSpecified = true;
this.processorCount = processorCount;
}
protected boolean processorCountSpecified;
public boolean isProcessorCountSpecified() {
return processorCountSpecified;
}
public void unsetProcessorCount() {
processorCount = null;
processorCountSpecified = false;
}
/**
* The manufacturer of the server's processor.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String processorManufacturer;
public String getProcessorManufacturer() {
return processorManufacturer;
}
public void setProcessorManufacturer(String processorManufacturer) {
processorManufacturerSpecified = true;
this.processorManufacturer = processorManufacturer;
}
protected boolean processorManufacturerSpecified;
public boolean isProcessorManufacturerSpecified() {
return processorManufacturerSpecified;
}
public void unsetProcessorManufacturer() {
processorManufacturer = null;
processorManufacturerSpecified = false;
}
/**
* The model of the server's processor.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String processorModel;
public String getProcessorModel() {
return processorModel;
}
public void setProcessorModel(String processorModel) {
processorModelSpecified = true;
this.processorModel = processorModel;
}
protected boolean processorModelSpecified;
public boolean isProcessorModelSpecified() {
return processorModelSpecified;
}
public void unsetProcessorModel() {
processorModel = null;
processorModelSpecified = false;
}
/**
* The name of the server's processor.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String processorName;
public String getProcessorName() {
return processorName;
}
public void setProcessorName(String processorName) {
processorNameSpecified = true;
this.processorName = processorName;
}
protected boolean processorNameSpecified;
public boolean isProcessorNameSpecified() {
return processorNameSpecified;
}
public void unsetProcessorName() {
processorName = null;
processorNameSpecified = false;
}
/**
* The processor speed.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String processorSpeed;
public String getProcessorSpeed() {
return processorSpeed;
}
public void setProcessorSpeed(String processorSpeed) {
processorSpeedSpecified = true;
this.processorSpeed = processorSpeed;
}
protected boolean processorSpeedSpecified;
public boolean isProcessorSpeedSpecified() {
return processorSpeedSpecified;
}
public void unsetProcessorSpeed() {
processorSpeed = null;
processorSpeedSpecified = false;
}
/**
* The name of the server product.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String productName;
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
productNameSpecified = true;
this.productName = productName;
}
protected boolean productNameSpecified;
public boolean isProductNameSpecified() {
return productNameSpecified;
}
public void unsetProductName() {
productName = null;
productNameSpecified = false;
}
/**
* Indicates whether or not the server has the capability to support a redundant power supply.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean redundantPowerFlag;
public Boolean getRedundantPowerFlag() {
return redundantPowerFlag;
}
public void setRedundantPowerFlag(Boolean redundantPowerFlag) {
redundantPowerFlagSpecified = true;
this.redundantPowerFlag = redundantPowerFlag;
}
protected boolean redundantPowerFlagSpecified;
public boolean isRedundantPowerFlagSpecified() {
return redundantPowerFlagSpecified;
}
public void unsetRedundantPowerFlag() {
redundantPowerFlag = null;
redundantPowerFlagSpecified = false;
}
/**
* Flag to indicate if the server is SAP certified.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean sapCertifiedServerFlag;
public Boolean getSapCertifiedServerFlag() {
return sapCertifiedServerFlag;
}
public void setSapCertifiedServerFlag(Boolean sapCertifiedServerFlag) {
sapCertifiedServerFlagSpecified = true;
this.sapCertifiedServerFlag = sapCertifiedServerFlag;
}
protected boolean sapCertifiedServerFlagSpecified;
public boolean isSapCertifiedServerFlagSpecified() {
return sapCertifiedServerFlagSpecified;
}
public void unsetSapCertifiedServerFlag() {
sapCertifiedServerFlag = null;
sapCertifiedServerFlagSpecified = false;
}
/**
* The hourly starting price for the server. This includes a sum of all the minimum required items, including RAM and hard drives. Not all servers are available hourly.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal startingHourlyPrice;
public BigDecimal getStartingHourlyPrice() {
return startingHourlyPrice;
}
public void setStartingHourlyPrice(BigDecimal startingHourlyPrice) {
startingHourlyPriceSpecified = true;
this.startingHourlyPrice = startingHourlyPrice;
}
protected boolean startingHourlyPriceSpecified;
public boolean isStartingHourlyPriceSpecified() {
return startingHourlyPriceSpecified;
}
public void unsetStartingHourlyPrice() {
startingHourlyPrice = null;
startingHourlyPriceSpecified = false;
}
/**
* The monthly starting price for the server. This includes a sum of all the minimum required items, including RAM and hard drives.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal startingMonthlyPrice;
public BigDecimal getStartingMonthlyPrice() {
return startingMonthlyPrice;
}
public void setStartingMonthlyPrice(BigDecimal startingMonthlyPrice) {
startingMonthlyPriceSpecified = true;
this.startingMonthlyPrice = startingMonthlyPrice;
}
protected boolean startingMonthlyPriceSpecified;
public boolean isStartingMonthlyPriceSpecified() {
return startingMonthlyPriceSpecified;
}
public void unsetStartingMonthlyPrice() {
startingMonthlyPrice = null;
startingMonthlyPriceSpecified = false;
}
/**
* The total number of processor cores available for the server.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long totalCoreCount;
public Long getTotalCoreCount() {
return totalCoreCount;
}
public void setTotalCoreCount(Long totalCoreCount) {
totalCoreCountSpecified = true;
this.totalCoreCount = totalCoreCount;
}
protected boolean totalCoreCountSpecified;
public boolean isTotalCoreCountSpecified() {
return totalCoreCountSpecified;
}
public void unsetTotalCoreCount() {
totalCoreCount = null;
totalCoreCountSpecified = false;
}
/**
* Flag to indicate if the server configuration supports TXT/TPM.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean txtTpmFlag;
public Boolean getTxtTpmFlag() {
return txtTpmFlag;
}
public void setTxtTpmFlag(Boolean txtTpmFlag) {
txtTpmFlagSpecified = true;
this.txtTpmFlag = txtTpmFlag;
}
protected boolean txtTpmFlagSpecified;
public boolean isTxtTpmFlagSpecified() {
return txtTpmFlagSpecified;
}
public void unsetTxtTpmFlag() {
txtTpmFlag = null;
txtTpmFlagSpecified = false;
}
/**
* The size of the server.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long unitSize;
public Long getUnitSize() {
return unitSize;
}
public void setUnitSize(Long unitSize) {
unitSizeSpecified = true;
this.unitSize = unitSize;
}
protected boolean unitSizeSpecified;
public boolean isUnitSizeSpecified() {
return unitSizeSpecified;
}
public void unsetUnitSize() {
unitSize = null;
unitSizeSpecified = false;
}
/**
* Flag to indicate if the server is a VMware vSAN Node configuration.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean vmwareVsanNodeFlag;
public Boolean getVmwareVsanNodeFlag() {
return vmwareVsanNodeFlag;
}
public void setVmwareVsanNodeFlag(Boolean vmwareVsanNodeFlag) {
vmwareVsanNodeFlagSpecified = true;
this.vmwareVsanNodeFlag = vmwareVsanNodeFlag;
}
protected boolean vmwareVsanNodeFlagSpecified;
public boolean isVmwareVsanNodeFlagSpecified() {
return vmwareVsanNodeFlagSpecified;
}
public void unsetVmwareVsanNodeFlag() {
vmwareVsanNodeFlag = null;
vmwareVsanNodeFlagSpecified = false;
}
public Service asService(ApiClient client) {
return service(client, id);
}
public static Service service(ApiClient client) {
return client.createService(Service.class, null);
}
public static Service service(ApiClient client, Long id) {
return client.createService(Service.class, id == null ? null : id.toString());
}
/**
* @see SoftLayer_Product_Package_Server
*/
@com.softlayer.api.annotation.ApiService("SoftLayer_Product_Package_Server")
public static interface Service extends com.softlayer.api.Service {
public ServiceAsync asAsync();
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* This method will grab all the package servers.
*
* @see SoftLayer_Product_Package_Server::getAllObjects
*/
@ApiMethod
public List getAllObjects();
/**
* @see SoftLayer_Product_Package_Server::getObject
*/
@ApiMethod(instanceRequired = true)
public Server getObject();
/**
* @see SoftLayer_Product_Package_Server::getCatalog
*/
@ApiMethod(instanceRequired = true)
public Catalog getCatalog();
/**
* @see SoftLayer_Product_Package_Server::getItem
*/
@ApiMethod(instanceRequired = true)
public Item getItem();
/**
* @see SoftLayer_Product_Package_Server::getItemPrice
*/
@ApiMethod(instanceRequired = true)
public Price getItemPrice();
/**
* @see SoftLayer_Product_Package_Server::getServerPackage
*/
@ApiMethod(instanceRequired = true)
public Package getServerPackage();
/**
* @see SoftLayer_Product_Package_Server::getPreset
*/
@ApiMethod(instanceRequired = true)
public Preset getPreset();
}
public static interface ServiceAsync extends com.softlayer.api.ServiceAsync {
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* Async version of {@link Service#getAllObjects}
*/
public Future> getAllObjects();
public Future> getAllObjects(ResponseHandler> callback);
/**
* Async version of {@link Service#getObject}
*/
public Future getObject();
public Future> getObject(ResponseHandler callback);
/**
* Async version of {@link Service#getCatalog}
*/
public Future getCatalog();
/**
* Async callback version of {@link Service#getCatalog}
*/
public Future> getCatalog(ResponseHandler callback);
/**
* Async version of {@link Service#getItem}
*/
public Future- getItem();
/**
* Async callback version of {@link Service#getItem}
*/
public Future> getItem(ResponseHandler
- callback);
/**
* Async version of {@link Service#getItemPrice}
*/
public Future
getItemPrice();
/**
* Async callback version of {@link Service#getItemPrice}
*/
public Future> getItemPrice(ResponseHandler callback);
/**
* Async version of {@link Service#getServerPackage}
*/
public Future getServerPackage();
/**
* Async callback version of {@link Service#getServerPackage}
*/
public Future> getServerPackage(ResponseHandler callback);
/**
* Async version of {@link Service#getPreset}
*/
public Future getPreset();
/**
* Async callback version of {@link Service#getPreset}
*/
public Future> getPreset(ResponseHandler callback);
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.product.Catalog.Mask catalog() {
return withSubMask("catalog", com.softlayer.api.service.product.Catalog.Mask.class);
}
public com.softlayer.api.service.product.Item.Mask item() {
return withSubMask("item", com.softlayer.api.service.product.Item.Mask.class);
}
public com.softlayer.api.service.product.item.Price.Mask itemPrice() {
return withSubMask("itemPrice", com.softlayer.api.service.product.item.Price.Mask.class);
}
public com.softlayer.api.service.product.Package.Mask serverPackage() {
return withSubMask("package", com.softlayer.api.service.product.Package.Mask.class);
}
public Preset.Mask preset() {
return withSubMask("preset", Preset.Mask.class);
}
public Mask bareMetalReservedFlag() {
withLocalProperty("bareMetalReservedFlag");
return this;
}
public Mask catalogId() {
withLocalProperty("catalogId");
return this;
}
public Mask datacenters() {
withLocalProperty("datacenters");
return this;
}
public Mask defaultRamCapacity() {
withLocalProperty("defaultRamCapacity");
return this;
}
public Mask dualPathNetworkFlag() {
withLocalProperty("dualPathNetworkFlag");
return this;
}
public Mask flexCoreServerFlag() {
withLocalProperty("flexCoreServerFlag");
return this;
}
public Mask gpuFlag() {
withLocalProperty("gpuFlag");
return this;
}
public Mask hourlyBillingFlag() {
withLocalProperty("hourlyBillingFlag");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask itemId() {
withLocalProperty("itemId");
return this;
}
public Mask itemPriceId() {
withLocalProperty("itemPriceId");
return this;
}
public Mask maximumDriveCount() {
withLocalProperty("maximumDriveCount");
return this;
}
public Mask maximumPortSpeed() {
withLocalProperty("maximumPortSpeed");
return this;
}
public Mask maximumRamCapacity() {
withLocalProperty("maximumRamCapacity");
return this;
}
public Mask minimumPortSpeed() {
withLocalProperty("minimumPortSpeed");
return this;
}
public Mask networkGatewayApplianceRoleFlag() {
withLocalProperty("networkGatewayApplianceRoleFlag");
return this;
}
public Mask outletFlag() {
withLocalProperty("outletFlag");
return this;
}
public Mask packageId() {
withLocalProperty("packageId");
return this;
}
public Mask packageType() {
withLocalProperty("packageType");
return this;
}
public Mask powerServerFlag() {
withLocalProperty("powerServerFlag");
return this;
}
public Mask presetId() {
withLocalProperty("presetId");
return this;
}
public Mask privateNetworkOnlyFlag() {
withLocalProperty("privateNetworkOnlyFlag");
return this;
}
public Mask processorBusSpeed() {
withLocalProperty("processorBusSpeed");
return this;
}
public Mask processorCache() {
withLocalProperty("processorCache");
return this;
}
public Mask processorCores() {
withLocalProperty("processorCores");
return this;
}
public Mask processorCount() {
withLocalProperty("processorCount");
return this;
}
public Mask processorManufacturer() {
withLocalProperty("processorManufacturer");
return this;
}
public Mask processorModel() {
withLocalProperty("processorModel");
return this;
}
public Mask processorName() {
withLocalProperty("processorName");
return this;
}
public Mask processorSpeed() {
withLocalProperty("processorSpeed");
return this;
}
public Mask productName() {
withLocalProperty("productName");
return this;
}
public Mask redundantPowerFlag() {
withLocalProperty("redundantPowerFlag");
return this;
}
public Mask sapCertifiedServerFlag() {
withLocalProperty("sapCertifiedServerFlag");
return this;
}
public Mask startingHourlyPrice() {
withLocalProperty("startingHourlyPrice");
return this;
}
public Mask startingMonthlyPrice() {
withLocalProperty("startingMonthlyPrice");
return this;
}
public Mask totalCoreCount() {
withLocalProperty("totalCoreCount");
return this;
}
public Mask txtTpmFlag() {
withLocalProperty("txtTpmFlag");
return this;
}
public Mask unitSize() {
withLocalProperty("unitSize");
return this;
}
public Mask vmwareVsanNodeFlag() {
withLocalProperty("vmwareVsanNodeFlag");
return this;
}
}
}