Class 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.
    See Also:
    SoftLayer_Container_Product_Order_Storage_Group
    • Field Detail

      • arraySize

        @ApiProperty(canBeNullOrNotSet=true)
        protected BigDecimal 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
      • arrayTypeIdSpecified

        protected boolean arrayTypeIdSpecified
      • diskControllerIndex

        @ApiProperty(canBeNullOrNotSet=true)
        protected Long 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
      • hardDrivesSpecified

        protected boolean hardDrivesSpecified
      • hotSpareDrives

        @ApiProperty(canBeNullOrNotSet=true)
        protected List<Long> 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
      • lvmFlagSpecified

        protected boolean lvmFlagSpecified
      • partitionTemplateId

        @ApiProperty(canBeNullOrNotSet=true)
        protected Long 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

        @ApiProperty(canBeNullOrNotSet=true)
        protected List<Partition> 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 Detail

      • Group

        public Group()
    • Method Detail

      • setArraySize

        public void setArraySize​(BigDecimal arraySize)
      • isArraySizeSpecified

        public boolean isArraySizeSpecified()
      • unsetArraySize

        public void unsetArraySize()
      • getArrayTypeId

        public Long getArrayTypeId()
      • setArrayTypeId

        public void setArrayTypeId​(Long arrayTypeId)
      • isArrayTypeIdSpecified

        public boolean isArrayTypeIdSpecified()
      • unsetArrayTypeId

        public void unsetArrayTypeId()
      • getDiskControllerIndex

        public Long getDiskControllerIndex()
      • setDiskControllerIndex

        public void setDiskControllerIndex​(Long diskControllerIndex)
      • isDiskControllerIndexSpecified

        public boolean isDiskControllerIndexSpecified()
      • unsetDiskControllerIndex

        public void unsetDiskControllerIndex()
      • getHardDrives

        public List<Long> getHardDrives()
      • isHardDrivesSpecified

        public boolean isHardDrivesSpecified()
      • unsetHardDrives

        public void unsetHardDrives()
      • getHotSpareDrives

        public List<Long> getHotSpareDrives()
      • isHotSpareDrivesSpecified

        public boolean isHotSpareDrivesSpecified()
      • unsetHotSpareDrives

        public void unsetHotSpareDrives()
      • getLvmFlag

        public Boolean getLvmFlag()
      • setLvmFlag

        public void setLvmFlag​(Boolean lvmFlag)
      • isLvmFlagSpecified

        public boolean isLvmFlagSpecified()
      • unsetLvmFlag

        public void unsetLvmFlag()
      • getPartitionTemplateId

        public Long getPartitionTemplateId()
      • setPartitionTemplateId

        public void setPartitionTemplateId​(Long partitionTemplateId)
      • isPartitionTemplateIdSpecified

        public boolean isPartitionTemplateIdSpecified()
      • unsetPartitionTemplateId

        public void unsetPartitionTemplateId()
      • isPartitionsSpecified

        public boolean isPartitionsSpecified()
      • unsetPartitions

        public void unsetPartitions()