public class GlusterBricks extends BaseResources
Java class for GlusterBricks complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GlusterBricks"> <complexContent> <extension base="{}BaseResources"> <sequence> <element name="replica_count" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" minOccurs="0"/> <element name="stripe_count" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" minOccurs="0"/> <element ref="{}brick" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Constructor and Description |
---|
GlusterBricks() |
Modifier and Type | Method and Description |
---|---|
List<GlusterBrick> |
getGlusterBricks()
Gets the value of the glusterBricks property.
|
Integer |
getReplicaCount()
Gets the value of the replicaCount property.
|
Integer |
getStripeCount()
Gets the value of the stripeCount property.
|
boolean |
isSetGlusterBricks() |
boolean |
isSetReplicaCount() |
boolean |
isSetStripeCount() |
void |
setReplicaCount(Integer value)
Sets the value of the replicaCount property.
|
void |
setStripeCount(Integer value)
Sets the value of the stripeCount property.
|
void |
unsetGlusterBricks() |
getActive, getTotal, isSetActive, isSetTotal, setActive, setTotal
getActions, isSetActions, setActions
public Integer getReplicaCount()
Integer
public void setReplicaCount(Integer value)
value
- allowed object is
Integer
public boolean isSetReplicaCount()
public Integer getStripeCount()
Integer
public void setStripeCount(Integer value)
value
- allowed object is
Integer
public boolean isSetStripeCount()
public List<GlusterBrick> getGlusterBricks()
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 glusterBricks property.
For example, to add a new item, do as follows:
getGlusterBricks().add(newItem);
Objects of the following type(s) are allowed in the list
GlusterBrick
public boolean isSetGlusterBricks()
public void unsetGlusterBricks()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0