Class Partition


  • @ApiType("SoftLayer_Hardware_Component_Partition")
    public class Partition
    extends Entity
    The SoftLayer_Hardware_Component_Partition data type contains general information relating to a single hard drive partition.
    See Also:
    SoftLayer_Hardware_Component_Partition
    • Field Detail

      • hardwareComponent

        @ApiProperty
        protected Component hardwareComponent
        A hardware component partitions's associated [[SoftLayer_Hardware_Component|Hardware Component]]. Likely to be a [[SoftLayer_Hardware_Component_HardDrive|Hard Drive]]
      • diskNumberSpecified

        protected boolean diskNumberSpecified
      • grow

        @ApiProperty(canBeNullOrNotSet=true)
        protected Long grow
        A flag indicating if a partition is the grow partition. The grow partition will grow to fill all remaining space on a disk. There can only be one.
      • growSpecified

        protected boolean growSpecified
      • hardwareComponentId

        @ApiProperty(canBeNullOrNotSet=true)
        protected Long hardwareComponentId
        A hardware component partition's associated [[SoftLayer_Hardware_Component|hardware component]] Id.
      • hardwareComponentIdSpecified

        protected boolean hardwareComponentIdSpecified
      • minimumSizeSpecified

        protected boolean minimumSizeSpecified
      • name

        @ApiProperty(canBeNullOrNotSet=true)
        protected String name
        A hardware component partition's name. On a server with windows this may be 'C' and on Linux this may be '/var'
      • nameSpecified

        protected boolean nameSpecified
    • Constructor Detail

      • Partition

        public Partition()
    • Method Detail

      • getHardwareComponent

        public Component getHardwareComponent()
      • setHardwareComponent

        public void setHardwareComponent​(Component hardwareComponent)
      • getDiskNumber

        public Long getDiskNumber()
      • setDiskNumber

        public void setDiskNumber​(Long diskNumber)
      • isDiskNumberSpecified

        public boolean isDiskNumberSpecified()
      • unsetDiskNumber

        public void unsetDiskNumber()
      • getGrow

        public Long getGrow()
      • setGrow

        public void setGrow​(Long grow)
      • isGrowSpecified

        public boolean isGrowSpecified()
      • unsetGrow

        public void unsetGrow()
      • getHardwareComponentId

        public Long getHardwareComponentId()
      • setHardwareComponentId

        public void setHardwareComponentId​(Long hardwareComponentId)
      • isHardwareComponentIdSpecified

        public boolean isHardwareComponentIdSpecified()
      • unsetHardwareComponentId

        public void unsetHardwareComponentId()
      • getMinimumSize

        public BigDecimal getMinimumSize()
      • setMinimumSize

        public void setMinimumSize​(BigDecimal minimumSize)
      • isMinimumSizeSpecified

        public boolean isMinimumSizeSpecified()
      • unsetMinimumSize

        public void unsetMinimumSize()
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • isNameSpecified

        public boolean isNameSpecified()
      • unsetName

        public void unsetName()