Class Group
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.product.order.storage.Group
@ApiType("SoftLayer_Container_Product_Order_Storage_Group") public class Group extends Entity
A single storage group container used for a hardware server order.
This object describes a single storage group that can be added to an order container.
This object describes a single storage group that can be added to an order container.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Group.Mask
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimal
arraySize
Size of the array in gigabytes.protected boolean
arraySizeSpecified
protected Long
arrayTypeId
The array type id from a [[SoftLayer_Configuration_Storage_Group_Array_Type]] object.protected boolean
arrayTypeIdSpecified
protected Long
diskControllerIndex
Defines the disk controller to put the storage group and the hard drives on.protected boolean
diskControllerIndexSpecified
protected List<Long>
hardDrives
Integer array of drive indexes to use in the storage group.protected boolean
hardDrivesSpecified
protected List<Long>
hotSpareDrives
If an array should be protected by an hotspare, the drive index of the hotspares should be here.protected boolean
hotSpareDrivesSpecified
protected Boolean
lvmFlag
<< EOTprotected boolean
lvmFlagSpecified
protected List<Partition>
partitions
Defines the partitions for the storage group.protected boolean
partitionsSpecified
protected Long
partitionTemplateId
The id for a [[SoftLayer_Hardware_Component_Partition_Template]] object, which will determine the partitions to add to the storage group.protected boolean
partitionTemplateIdSpecified
-
Constructor Summary
Constructors Constructor Description Group()
-
Method Summary
Modifier and Type Method Description BigDecimal
getArraySize()
Long
getArrayTypeId()
Long
getDiskControllerIndex()
List<Long>
getHardDrives()
List<Long>
getHotSpareDrives()
Boolean
getLvmFlag()
List<Partition>
getPartitions()
Long
getPartitionTemplateId()
boolean
isArraySizeSpecified()
boolean
isArrayTypeIdSpecified()
boolean
isDiskControllerIndexSpecified()
boolean
isHardDrivesSpecified()
boolean
isHotSpareDrivesSpecified()
boolean
isLvmFlagSpecified()
boolean
isPartitionsSpecified()
boolean
isPartitionTemplateIdSpecified()
void
setArraySize(BigDecimal arraySize)
void
setArrayTypeId(Long arrayTypeId)
void
setDiskControllerIndex(Long diskControllerIndex)
void
setLvmFlag(Boolean lvmFlag)
void
setPartitionTemplateId(Long partitionTemplateId)
void
unsetArraySize()
void
unsetArrayTypeId()
void
unsetDiskControllerIndex()
void
unsetHardDrives()
void
unsetHotSpareDrives()
void
unsetLvmFlag()
void
unsetPartitions()
void
unsetPartitionTemplateId()
-
Field Details
-
arraySize
Size of the array in gigabytes. Must be within limitations of the smallest drive assigned to the storage group and the storage group type. -
arraySizeSpecified
protected boolean arraySizeSpecified -
arrayTypeId
The array type id from a [[SoftLayer_Configuration_Storage_Group_Array_Type]] object. -
arrayTypeIdSpecified
protected boolean arrayTypeIdSpecified -
diskControllerIndex
Defines the disk controller to put the storage group and the hard drives on.
This must match a disk controller price on the order. The disk controller index is 0-indexed. 'disk_controller' = 0 'disk_controller1' = 1 'disk_controller2' = 2 -
diskControllerIndexSpecified
protected boolean diskControllerIndexSpecified -
hardDrives
Integer array of drive indexes to use in the storage group. -
hardDrivesSpecified
protected boolean hardDrivesSpecified -
hotSpareDrives
If an array should be protected by an hotspare, the drive index of the hotspares should be here.
If a drive is a hotspare for all arrays then a separate storage group with array type GLOBAL_HOT_SPARE should be used -
hotSpareDrivesSpecified
protected boolean hotSpareDrivesSpecified -
lvmFlag
<< EOT -
lvmFlagSpecified
protected boolean lvmFlagSpecified -
partitionTemplateId
The id for a [[SoftLayer_Hardware_Component_Partition_Template]] object, which will determine the partitions to add to the storage group.
If this storage group is not a primary storage group, then this will not be used. -
partitionTemplateIdSpecified
protected boolean partitionTemplateIdSpecified -
partitions
Defines the partitions for the storage group.
If this storage group is not a secondary storage group, then this will not be used. -
partitionsSpecified
protected boolean partitionsSpecified
-
-
Constructor Details
-
Group
public Group()
-
-
Method Details
-
getArraySize
-
setArraySize
-
isArraySizeSpecified
public boolean isArraySizeSpecified() -
unsetArraySize
public void unsetArraySize() -
getArrayTypeId
-
setArrayTypeId
-
isArrayTypeIdSpecified
public boolean isArrayTypeIdSpecified() -
unsetArrayTypeId
public void unsetArrayTypeId() -
getDiskControllerIndex
-
setDiskControllerIndex
-
isDiskControllerIndexSpecified
public boolean isDiskControllerIndexSpecified() -
unsetDiskControllerIndex
public void unsetDiskControllerIndex() -
getHardDrives
-
isHardDrivesSpecified
public boolean isHardDrivesSpecified() -
unsetHardDrives
public void unsetHardDrives() -
getHotSpareDrives
-
isHotSpareDrivesSpecified
public boolean isHotSpareDrivesSpecified() -
unsetHotSpareDrives
public void unsetHotSpareDrives() -
getLvmFlag
-
setLvmFlag
-
isLvmFlagSpecified
public boolean isLvmFlagSpecified() -
unsetLvmFlag
public void unsetLvmFlag() -
getPartitionTemplateId
-
setPartitionTemplateId
-
isPartitionTemplateIdSpecified
public boolean isPartitionTemplateIdSpecified() -
unsetPartitionTemplateId
public void unsetPartitionTemplateId() -
getPartitions
-
isPartitionsSpecified
public boolean isPartitionsSpecified() -
unsetPartitions
public void unsetPartitions()
-