public class HostVmfsVolume extends HostFileSystemVolume
Java class for HostVmfsVolume complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostVmfsVolume">
<complexContent>
<extension base="{urn:vim25}HostFileSystemVolume">
<sequence>
<element name="blockSizeMb" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="blockSize" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="unmapGranularity" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="unmapPriority" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="maxBlocks" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="majorVersion" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="uuid" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="extent" type="{urn:vim25}HostScsiDiskPartition" maxOccurs="unbounded"/>
<element name="vmfsUpgradable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="forceMountedInfo" type="{urn:vim25}HostForceMountedInfo" minOccurs="0"/>
<element name="ssd" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="local" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="scsiDiskType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
blockSize |
protected int |
blockSizeMb |
protected List<HostScsiDiskPartition> |
extent |
protected HostForceMountedInfo |
forceMountedInfo |
protected Boolean |
local |
protected int |
majorVersion |
protected int |
maxBlocks |
protected String |
scsiDiskType |
protected Boolean |
ssd |
protected Integer |
unmapGranularity |
protected String |
unmapPriority |
protected String |
uuid |
protected String |
version |
protected boolean |
vmfsUpgradable |
capacity, name, type| Constructor and Description |
|---|
HostVmfsVolume() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getBlockSize()
Gets the value of the blockSize property.
|
int |
getBlockSizeMb()
Gets the value of the blockSizeMb property.
|
List<HostScsiDiskPartition> |
getExtent()
Gets the value of the extent property.
|
HostForceMountedInfo |
getForceMountedInfo()
Gets the value of the forceMountedInfo property.
|
int |
getMajorVersion()
Gets the value of the majorVersion property.
|
int |
getMaxBlocks()
Gets the value of the maxBlocks property.
|
String |
getScsiDiskType()
Gets the value of the scsiDiskType property.
|
Integer |
getUnmapGranularity()
Gets the value of the unmapGranularity property.
|
String |
getUnmapPriority()
Gets the value of the unmapPriority property.
|
String |
getUuid()
Gets the value of the uuid property.
|
String |
getVersion()
Gets the value of the version property.
|
Boolean |
isLocal()
Gets the value of the local property.
|
Boolean |
isSsd()
Gets the value of the ssd property.
|
boolean |
isVmfsUpgradable()
Gets the value of the vmfsUpgradable property.
|
void |
setBlockSize(Integer value)
Sets the value of the blockSize property.
|
void |
setBlockSizeMb(int value)
Sets the value of the blockSizeMb property.
|
void |
setForceMountedInfo(HostForceMountedInfo value)
Sets the value of the forceMountedInfo property.
|
void |
setLocal(Boolean value)
Sets the value of the local property.
|
void |
setMajorVersion(int value)
Sets the value of the majorVersion property.
|
void |
setMaxBlocks(int value)
Sets the value of the maxBlocks property.
|
void |
setScsiDiskType(String value)
Sets the value of the scsiDiskType property.
|
void |
setSsd(Boolean value)
Sets the value of the ssd property.
|
void |
setUnmapGranularity(Integer value)
Sets the value of the unmapGranularity property.
|
void |
setUnmapPriority(String value)
Sets the value of the unmapPriority property.
|
void |
setUuid(String value)
Sets the value of the uuid property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
void |
setVmfsUpgradable(boolean value)
Sets the value of the vmfsUpgradable property.
|
getCapacity, getName, getType, setCapacity, setName, setTypeprotected int blockSizeMb
protected Integer blockSize
protected Integer unmapGranularity
protected String unmapPriority
protected int maxBlocks
protected int majorVersion
protected String version
protected String uuid
protected List<HostScsiDiskPartition> extent
protected boolean vmfsUpgradable
protected HostForceMountedInfo forceMountedInfo
protected Boolean ssd
protected Boolean local
protected String scsiDiskType
public int getBlockSizeMb()
public void setBlockSizeMb(int value)
public Integer getBlockSize()
Integerpublic void setBlockSize(Integer value)
value - allowed object is
Integerpublic Integer getUnmapGranularity()
Integerpublic void setUnmapGranularity(Integer value)
value - allowed object is
Integerpublic String getUnmapPriority()
Stringpublic void setUnmapPriority(String value)
value - allowed object is
Stringpublic int getMaxBlocks()
public void setMaxBlocks(int value)
public int getMajorVersion()
public void setMajorVersion(int value)
public String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic String getUuid()
Stringpublic void setUuid(String value)
value - allowed object is
Stringpublic List<HostScsiDiskPartition> getExtent()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the extent property.
For example, to add a new item, do as follows:
getExtent().add(newItem);
Objects of the following type(s) are allowed in the list
HostScsiDiskPartition
public boolean isVmfsUpgradable()
public void setVmfsUpgradable(boolean value)
public HostForceMountedInfo getForceMountedInfo()
HostForceMountedInfopublic void setForceMountedInfo(HostForceMountedInfo value)
value - allowed object is
HostForceMountedInfopublic Boolean isSsd()
Booleanpublic void setSsd(Boolean value)
value - allowed object is
Booleanpublic Boolean isLocal()
Booleanpublic void setLocal(Boolean value)
value - allowed object is
Booleanpublic String getScsiDiskType()
StringCopyright © 2018. All rights reserved.