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, unsetLinks
protected String type
protected String address
protected String path
protected List<LogicalUnit> logicalUnits
protected VolumeGroup volumeGroup
protected Host host
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public boolean isSetType()
public String getAddress()
String
public void setAddress(String value)
value
- allowed object is
String
public boolean isSetAddress()
public String getPath()
String
public void setPath(String value)
value
- allowed object is
String
public 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()
VolumeGroup
public void setVolumeGroup(VolumeGroup value)
value
- allowed object is
VolumeGroup
public boolean isSetVolumeGroup()
public void setHost(Host value)
value
- allowed object is
Host
public boolean isSetHost()
Copyright © 2012. All Rights Reserved.