Class RaidArray
- All Implemented Interfaces:
Serializable, Cloneable
Describes an instance's RAID array.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe 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.inthashCode()voidsetAvailabilityZone(String availabilityZone) The array's Availability Zone.voidsetCreatedAt(String createdAt) When the RAID array was created.voidThe array's Linux device.voidsetInstanceId(String instanceId) The instance ID.voidFor PIOPS volumes, the IOPS per disk.voidsetMountPoint(String mountPoint) The array's mount point.voidThe array name.voidsetNumberOfDisks(Integer numberOfDisks) The number of disks in the array.voidsetRaidArrayId(String raidArrayId) The array ID.voidsetRaidLevel(Integer raidLevel) The RAID level.voidThe array's size.voidsetStackId(String stackId) The stack ID.voidsetVolumeType(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
-
withRaidArrayId
-
setInstanceId
The instance ID.
- Parameters:
instanceId- The instance ID.
-
getInstanceId
-
withInstanceId
-
setName
-
getName
-
withName
-
setRaidLevel
-
getRaidLevel
-
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
-
setSize
-
getSize
-
withSize
-
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
-
setMountPoint
The array's mount point.
- Parameters:
mountPoint- The array's mount point.
-
getMountPoint
-
withMountPoint
-
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
-
setStackId
-
getStackId
-
withStackId
-
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
-
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
-
toString
-
equals
-
hashCode
-
clone
-