Class Partition
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.hardware.component.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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Partition.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Long
diskNumber
A hardware component partition's order in the [[SoftLayer_Hardware_Server]].protected boolean
diskNumberSpecified
protected Long
grow
A flag indicating if a partition is the grow partition.protected boolean
growSpecified
protected Component
hardwareComponent
A hardware component partitions's associated [[SoftLayer_Hardware_Component|Hardware Component]].protected Long
hardwareComponentId
A hardware component partition's associated [[SoftLayer_Hardware_Component|hardware component]] Id.protected boolean
hardwareComponentIdSpecified
protected BigDecimal
minimumSize
A hardware component partition's minimum size(GB).protected boolean
minimumSizeSpecified
protected String
name
A hardware component partition's name.protected boolean
nameSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Partition()
-
Method Summary
Modifier and Type Method Description Long
getDiskNumber()
Long
getGrow()
Component
getHardwareComponent()
Long
getHardwareComponentId()
BigDecimal
getMinimumSize()
String
getName()
boolean
isDiskNumberSpecified()
boolean
isGrowSpecified()
boolean
isHardwareComponentIdSpecified()
boolean
isMinimumSizeSpecified()
boolean
isNameSpecified()
void
setDiskNumber(Long diskNumber)
void
setGrow(Long grow)
void
setHardwareComponent(Component hardwareComponent)
void
setHardwareComponentId(Long hardwareComponentId)
void
setMinimumSize(BigDecimal minimumSize)
void
setName(String name)
void
unsetDiskNumber()
void
unsetGrow()
void
unsetHardwareComponentId()
void
unsetMinimumSize()
void
unsetName()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
hardwareComponent
A hardware component partitions's associated [[SoftLayer_Hardware_Component|Hardware Component]]. Likely to be a [[SoftLayer_Hardware_Component_HardDrive|Hard Drive]] -
diskNumber
A hardware component partition's order in the [[SoftLayer_Hardware_Server]]. -
diskNumberSpecified
protected boolean diskNumberSpecified -
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
A hardware component partition's associated [[SoftLayer_Hardware_Component|hardware component]] Id. -
hardwareComponentIdSpecified
protected boolean hardwareComponentIdSpecified -
minimumSize
A hardware component partition's minimum size(GB). -
minimumSizeSpecified
protected boolean minimumSizeSpecified -
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 Details
-
Partition
public Partition()
-
-
Method Details
-
getHardwareComponent
-
setHardwareComponent
-
getDiskNumber
-
setDiskNumber
-
isDiskNumberSpecified
public boolean isDiskNumberSpecified() -
unsetDiskNumber
public void unsetDiskNumber() -
getGrow
-
setGrow
-
isGrowSpecified
public boolean isGrowSpecified() -
unsetGrow
public void unsetGrow() -
getHardwareComponentId
-
setHardwareComponentId
-
isHardwareComponentIdSpecified
public boolean isHardwareComponentIdSpecified() -
unsetHardwareComponentId
public void unsetHardwareComponentId() -
getMinimumSize
-
setMinimumSize
-
isMinimumSizeSpecified
public boolean isMinimumSizeSpecified() -
unsetMinimumSize
public void unsetMinimumSize() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName()
-