Class RaidArray
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an instance's RAID array.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The array's Availability Zone.When the RAID array was created.The array's Linux device.The instance ID.getIops()
For PIOPS volumes, the IOPS per disk.The array's mount point.getName()
The array name.The number of disks in the array.The array ID.The RAID level.getSize()
The array's size.The stack ID.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
The array's Linux device.void
setInstanceId
(String instanceId) The instance ID.void
For PIOPS volumes, the IOPS per disk.void
setMountPoint
(String mountPoint) The array's mount point.void
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
The array's size.void
setStackId
(String stackId) The stack ID.void
setVolumeType
(String volumeType) The volume type, standard or PIOPS.toString()
Returns a string representation of this object; useful for testing and debugging.withAvailabilityZone
(String availabilityZone) The array's Availability Zone.withCreatedAt
(String createdAt) When the RAID array was created.withDevice
(String device) The array's Linux device.withInstanceId
(String instanceId) The instance ID.For PIOPS volumes, the IOPS per disk.withMountPoint
(String mountPoint) The array's mount point.The array name.withNumberOfDisks
(Integer numberOfDisks) The number of disks in the array.withRaidArrayId
(String raidArrayId) The array ID.withRaidLevel
(Integer raidLevel) The RAID level.The array's size.withStackId
(String stackId) The stack ID.withVolumeType
(String volumeType) The volume type, standard or PIOPS.
-
Constructor Details
-
RaidArray
public RaidArray()
-
-
Method Details
-
setRaidArrayId
The array ID.
- Parameters:
raidArrayId
- The array ID.
-
getRaidArrayId
The array ID.
- Returns:
- The array ID.
-
withRaidArrayId
The array ID.
- Parameters:
raidArrayId
- The array ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
The instance ID.
- Parameters:
instanceId
- The instance ID.
-
getInstanceId
The instance ID.
- Returns:
- The instance ID.
-
withInstanceId
The instance ID.
- Parameters:
instanceId
- The instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The array name.
- Parameters:
name
- The array name.
-
getName
The array name.
- Returns:
- The array name.
-
withName
The array name.
- Parameters:
name
- The array name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRaidLevel
The RAID level.
- Parameters:
raidLevel
- The RAID level.
-
getRaidLevel
The RAID level.
- Returns:
- The RAID level.
-
withRaidLevel
The RAID level.
- Parameters:
raidLevel
- The RAID level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNumberOfDisks
The number of disks in the array.
- Parameters:
numberOfDisks
- The number of disks in the array.
-
getNumberOfDisks
The number of disks in the array.
- Returns:
- The number of disks in the array.
-
withNumberOfDisks
The number of disks in the array.
- Parameters:
numberOfDisks
- The number of disks in the array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSize
The array's size.
- Parameters:
size
- The array's size.
-
getSize
The array's size.
- Returns:
- The array's size.
-
withSize
The array's size.
- Parameters:
size
- The array's size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDevice
The array's Linux device. For example /dev/mdadm0.
- Parameters:
device
- The array's Linux device. For example /dev/mdadm0.
-
getDevice
The array's Linux device. For example /dev/mdadm0.
- Returns:
- The array's Linux device. For example /dev/mdadm0.
-
withDevice
The array's Linux device. For example /dev/mdadm0.
- Parameters:
device
- The array's Linux device. For example /dev/mdadm0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMountPoint
The array's mount point.
- Parameters:
mountPoint
- The array's mount point.
-
getMountPoint
The array's mount point.
- Returns:
- The array's mount point.
-
withMountPoint
The array's mount point.
- Parameters:
mountPoint
- The array's mount point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAvailabilityZone
The array's Availability Zone. For more information, see Regions and Endpoints.
- Parameters:
availabilityZone
- The array's Availability Zone. For more information, see Regions and Endpoints.
-
getAvailabilityZone
The array's Availability Zone. For more information, see Regions and Endpoints.
- Returns:
- The array's Availability Zone. For more information, see Regions and Endpoints.
-
withAvailabilityZone
The array's Availability Zone. For more information, see Regions and Endpoints.
- Parameters:
availabilityZone
- The array's Availability Zone. For more information, see Regions and Endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedAt
When the RAID array was created.
- Parameters:
createdAt
- When the RAID array was created.
-
getCreatedAt
When the RAID array was created.
- Returns:
- When the RAID array was created.
-
withCreatedAt
When the RAID array was created.
- Parameters:
createdAt
- When the RAID array was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackId
The stack ID.
- Parameters:
stackId
- The stack ID.
-
getStackId
The stack ID.
- Returns:
- The stack ID.
-
withStackId
The stack ID.
- Parameters:
stackId
- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolumeType
The volume type, standard or PIOPS.
- Parameters:
volumeType
- The volume type, standard or PIOPS.
-
getVolumeType
The volume type, standard or PIOPS.
- Returns:
- The volume type, standard or PIOPS.
-
withVolumeType
The volume type, standard or PIOPS.
- Parameters:
volumeType
- The volume type, standard or PIOPS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIops
For PIOPS volumes, the IOPS per disk.
- Parameters:
iops
- For PIOPS volumes, the IOPS per disk.
-
getIops
For PIOPS volumes, the IOPS per disk.
- Returns:
- For PIOPS volumes, the IOPS per disk.
-
withIops
For PIOPS volumes, the IOPS per disk.
- Parameters:
iops
- For PIOPS volumes, the IOPS per disk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-