Interface Preset.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Preset
@ApiService("SoftLayer_Product_Package_Preset") public static interface Preset.Service extends Service
- See Also:
- SoftLayer_Product_Package_Preset
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Preset.ServiceAsync
asAsync()
Get an async version of this serviceList<Preset>
getAllObjects()
This method returns all the active package presets.Long
getAvailableStorageUnits()
Boolean
getBareMetalReservedFlag()
When true this preset is for ordering a Bare Metal Reserved server.List<Category>
getCategories()
The item categories that are included in this package preset configuration.Group
getComputeGroup()
The compute family this configuration belongs to.List<Configuration>
getConfiguration()
The preset configuration (category and price).Boolean
getDisallowedComputeGroupUpgradeFlag()
When true this preset is only allowed to upgrade/downgrade to other presets in the same compute family.Boolean
getFixedConfigurationFlag()
A package preset with this flag set will not allow the price's defined in the preset configuration to be overriden during order placement.List<Location>
getLocations()
The locations this preset configuration is available in.Price
getLowestPresetServerPrice()
The lowest server prices related to this package preset.Preset
getObject()
List<Configuration>
getPackageConfiguration()
The item categories associated with a package preset, including information detailing which item categories are required as part of a SoftLayer product order.Package
getPresetPackage()
The package this preset belongs to.List<Price>
getPrices()
The item prices that are included in this package preset configuration.List<Group>
getStorageGroupTemplateArrays()
Describes how all disks in this preset will be configured.BigDecimal
getTotalMinimumHourlyFee()
The starting hourly price for this configuration.BigDecimal
getTotalMinimumRecurringFee()
The starting monthly price for this configuration.void
setMask(Preset.Mask mask)
Preset.Mask
withMask()
Use the existing mask on this service or create it if not presentPreset.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Preset.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Preset.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Preset.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Preset.Mask mask)
-
getAllObjects
@ApiMethod List<Preset> getAllObjects()
This method returns all the active package presets.
-
getObject
@ApiMethod(instanceRequired=true) Preset getObject()
-
getAvailableStorageUnits
@ApiMethod(instanceRequired=true) Long getAvailableStorageUnits()
-
getBareMetalReservedFlag
@ApiMethod(instanceRequired=true) Boolean getBareMetalReservedFlag()
When true this preset is for ordering a Bare Metal Reserved server.
-
getCategories
@ApiMethod(instanceRequired=true) List<Category> getCategories()
The item categories that are included in this package preset configuration.
-
getComputeGroup
@ApiMethod(instanceRequired=true) Group getComputeGroup()
The compute family this configuration belongs to.
-
getConfiguration
@ApiMethod(instanceRequired=true) List<Configuration> getConfiguration()
The preset configuration (category and price).
-
getDisallowedComputeGroupUpgradeFlag
@ApiMethod(instanceRequired=true) Boolean getDisallowedComputeGroupUpgradeFlag()
When true this preset is only allowed to upgrade/downgrade to other presets in the same compute family.
-
getFixedConfigurationFlag
@ApiMethod(instanceRequired=true) Boolean getFixedConfigurationFlag()
A package preset with this flag set will not allow the price's defined in the preset configuration to be overriden during order placement.
-
getLocations
@ApiMethod(instanceRequired=true) List<Location> getLocations()
The locations this preset configuration is available in. If empty the preset is available in all locations the package is available in.
-
getLowestPresetServerPrice
@ApiMethod(instanceRequired=true) Price getLowestPresetServerPrice()
The lowest server prices related to this package preset.
-
getPresetPackage
@ApiMethod(instanceRequired=true) Package getPresetPackage()
The package this preset belongs to.
-
getPackageConfiguration
@ApiMethod(instanceRequired=true) List<Configuration> getPackageConfiguration()
The item categories associated with a package preset, including information detailing which item categories are required as part of a SoftLayer product order.
-
getPrices
@ApiMethod(instanceRequired=true) List<Price> getPrices()
The item prices that are included in this package preset configuration.
-
getStorageGroupTemplateArrays
@ApiMethod(instanceRequired=true) List<Group> getStorageGroupTemplateArrays()
Describes how all disks in this preset will be configured.
-
getTotalMinimumHourlyFee
@ApiMethod(instanceRequired=true) BigDecimal getTotalMinimumHourlyFee()
The starting hourly price for this configuration. Additional options not defined in the preset may increase the cost.
-
getTotalMinimumRecurringFee
@ApiMethod(instanceRequired=true) BigDecimal getTotalMinimumRecurringFee()
The starting monthly price for this configuration. Additional options not defined in the preset may increase the cost.
-
-