public class Storage extends BaseResource
Java class for Storage complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Storage">
<complexContent>
<extension base="{}BaseResource">
<sequence>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<choice>
<group ref="{}NfsStorage"/>
<group ref="{}IscsiStorage"/>
</choice>
<element ref="{}host" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected Host |
host |
protected List<LogicalUnit> |
logicalUnits |
protected String |
path |
protected String |
type |
protected VolumeGroup |
volumeGroup |
actions, creationStatus, description, href, id, links, name| Constructor and Description |
|---|
Storage() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Gets the value of the address property.
|
Host |
getHost()
Gets the value of the host property.
|
List<LogicalUnit> |
getLogicalUnits()
Gets the value of the logicalUnits property.
|
String |
getPath()
Gets the value of the path property.
|
String |
getType()
Gets the value of the type property.
|
VolumeGroup |
getVolumeGroup()
Gets the value of the volumeGroup property.
|
boolean |
isSetAddress() |
boolean |
isSetHost() |
boolean |
isSetLogicalUnits() |
boolean |
isSetPath() |
boolean |
isSetType() |
boolean |
isSetVolumeGroup() |
void |
setAddress(String value)
Sets the value of the address property.
|
void |
setHost(Host value)
Sets the value of the host property.
|
void |
setPath(String value)
Sets the value of the path property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setVolumeGroup(VolumeGroup value)
Sets the value of the volumeGroup property.
|
void |
unsetLogicalUnits() |
getActions, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetActions, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setActions, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksprotected String type
protected String address
protected String path
protected List<LogicalUnit> logicalUnits
protected VolumeGroup volumeGroup
protected Host host
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic boolean isSetType()
public String getAddress()
Stringpublic void setAddress(String value)
value - allowed object is
Stringpublic boolean isSetAddress()
public String getPath()
Stringpublic void setPath(String value)
value - allowed object is
Stringpublic boolean isSetPath()
public List<LogicalUnit> getLogicalUnits()
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 logicalUnits property.
For example, to add a new item, do as follows:
getLogicalUnits().add(newItem);
Objects of the following type(s) are allowed in the list
LogicalUnit
public boolean isSetLogicalUnits()
public void unsetLogicalUnits()
public VolumeGroup getVolumeGroup()
VolumeGrouppublic void setVolumeGroup(VolumeGroup value)
value - allowed object is
VolumeGrouppublic boolean isSetVolumeGroup()
public void setHost(Host value)
value - allowed object is
Hostpublic boolean isSetHost()
Copyright © 2012. All Rights Reserved.