public class RaidArray extends Object implements Serializable
Describes an instance's RAID array.
Constructor and Description |
---|
RaidArray() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The array's Availability Zone.
|
String |
getCreatedAt()
When the RAID array was created.
|
String |
getDevice()
The array's Linux device.
|
String |
getInstanceId()
The instance ID.
|
Integer |
getIops()
For PIOPS volumes, the IOPS per disk.
|
String |
getMountPoint()
The array's mount point.
|
String |
getName()
The array name.
|
Integer |
getNumberOfDisks()
The number of disks in the array.
|
String |
getRaidArrayId()
The array ID.
|
Integer |
getRaidLevel()
The RAID
level.
|
Integer |
getSize()
The array's size.
|
String |
getVolumeType()
The volume type, standard or PIOPS.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The array's Availability Zone.
|
void |
setCreatedAt(String createdAt)
When the RAID array was created.
|
void |
setDevice(String device)
The array's Linux device.
|
void |
setInstanceId(String instanceId)
The instance ID.
|
void |
setIops(Integer iops)
For PIOPS volumes, the IOPS per disk.
|
void |
setMountPoint(String mountPoint)
The array's mount point.
|
void |
setName(String name)
The array name.
|
void |
setNumberOfDisks(Integer numberOfDisks)
The number of disks in the array.
|
void |
setRaidArrayId(String raidArrayId)
The array ID.
|
void |
setRaidLevel(Integer raidLevel)
The RAID
level.
|
void |
setSize(Integer size)
The array's size.
|
void |
setVolumeType(String volumeType)
The volume type, standard or PIOPS.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RaidArray |
withAvailabilityZone(String availabilityZone)
The array's Availability Zone.
|
RaidArray |
withCreatedAt(String createdAt)
When the RAID array was created.
|
RaidArray |
withDevice(String device)
The array's Linux device.
|
RaidArray |
withInstanceId(String instanceId)
The instance ID.
|
RaidArray |
withIops(Integer iops)
For PIOPS volumes, the IOPS per disk.
|
RaidArray |
withMountPoint(String mountPoint)
The array's mount point.
|
RaidArray |
withName(String name)
The array name.
|
RaidArray |
withNumberOfDisks(Integer numberOfDisks)
The number of disks in the array.
|
RaidArray |
withRaidArrayId(String raidArrayId)
The array ID.
|
RaidArray |
withRaidLevel(Integer raidLevel)
The RAID
level.
|
RaidArray |
withSize(Integer size)
The array's size.
|
RaidArray |
withVolumeType(String volumeType)
The volume type, standard or PIOPS.
|
public String getRaidArrayId()
public void setRaidArrayId(String raidArrayId)
raidArrayId
- The array ID.public RaidArray withRaidArrayId(String raidArrayId)
Returns a reference to this object so that method calls can be chained together.
raidArrayId
- The array ID.public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The instance ID.public RaidArray withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The instance ID.public String getName()
public void setName(String name)
name
- The array name.public RaidArray withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The array name.public Integer getRaidLevel()
public void setRaidLevel(Integer raidLevel)
raidLevel
- The RAID
level.public RaidArray withRaidLevel(Integer raidLevel)
Returns a reference to this object so that method calls can be chained together.
raidLevel
- The RAID
level.public Integer getNumberOfDisks()
public void setNumberOfDisks(Integer numberOfDisks)
numberOfDisks
- The number of disks in the array.public RaidArray withNumberOfDisks(Integer numberOfDisks)
Returns a reference to this object so that method calls can be chained together.
numberOfDisks
- The number of disks in the array.public Integer getSize()
public void setSize(Integer size)
size
- The array's size.public RaidArray withSize(Integer size)
Returns a reference to this object so that method calls can be chained together.
size
- The array's size.public String getDevice()
public void setDevice(String device)
device
- The array's Linux device. For example /dev/mdadm0.public RaidArray withDevice(String device)
Returns a reference to this object so that method calls can be chained together.
device
- The array's Linux device. For example /dev/mdadm0.public String getMountPoint()
public void setMountPoint(String mountPoint)
mountPoint
- The array's mount point.public RaidArray withMountPoint(String mountPoint)
Returns a reference to this object so that method calls can be chained together.
mountPoint
- The array's mount point.public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The array's Availability Zone. For more information, see Regions
and Endpoints.public RaidArray withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The array's Availability Zone. For more information, see Regions
and Endpoints.public String getCreatedAt()
public void setCreatedAt(String createdAt)
createdAt
- When the RAID array was created.public RaidArray withCreatedAt(String createdAt)
Returns a reference to this object so that method calls can be chained together.
createdAt
- When the RAID array was created.public String getVolumeType()
public void setVolumeType(String volumeType)
volumeType
- The volume type, standard or PIOPS.public RaidArray withVolumeType(String volumeType)
Returns a reference to this object so that method calls can be chained together.
volumeType
- The volume type, standard or PIOPS.public Integer getIops()
public void setIops(Integer iops)
iops
- For PIOPS volumes, the IOPS per disk.public RaidArray withIops(Integer iops)
Returns a reference to this object so that method calls can be chained together.
iops
- For PIOPS volumes, the IOPS per disk.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.