Class RaidArray
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.RaidArray
-
- All Implemented Interfaces:
Serializable,Cloneable
public class RaidArray extends Object implements Serializable, Cloneable
Describes an instance's RAID array.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RaidArray()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RaidArrayclone()booleanequals(Object obj)StringgetAvailabilityZone()The array's Availability Zone.StringgetCreatedAt()When the RAID array was created.StringgetDevice()The array's Linux device.StringgetInstanceId()The instance ID.IntegergetIops()For PIOPS volumes, the IOPS per disk.StringgetMountPoint()The array's mount point.StringgetName()The array name.IntegergetNumberOfDisks()The number of disks in the array.StringgetRaidArrayId()The array ID.IntegergetRaidLevel()The RAID level.IntegergetSize()The array's size.StringgetStackId()The stack ID.StringgetVolumeType()The volume type, standard or PIOPS.inthashCode()voidsetAvailabilityZone(String availabilityZone)The array's Availability Zone.voidsetCreatedAt(String createdAt)When the RAID array was created.voidsetDevice(String device)The array's Linux device.voidsetInstanceId(String instanceId)The instance ID.voidsetIops(Integer iops)For PIOPS volumes, the IOPS per disk.voidsetMountPoint(String mountPoint)The array's mount point.voidsetName(String name)The array name.voidsetNumberOfDisks(Integer numberOfDisks)The number of disks in the array.voidsetRaidArrayId(String raidArrayId)The array ID.voidsetRaidLevel(Integer raidLevel)The RAID level.voidsetSize(Integer size)The array's size.voidsetStackId(String stackId)The stack ID.voidsetVolumeType(String volumeType)The volume type, standard or PIOPS.StringtoString()Returns a string representation of this object; useful for testing and debugging.RaidArraywithAvailabilityZone(String availabilityZone)The array's Availability Zone.RaidArraywithCreatedAt(String createdAt)When the RAID array was created.RaidArraywithDevice(String device)The array's Linux device.RaidArraywithInstanceId(String instanceId)The instance ID.RaidArraywithIops(Integer iops)For PIOPS volumes, the IOPS per disk.RaidArraywithMountPoint(String mountPoint)The array's mount point.RaidArraywithName(String name)The array name.RaidArraywithNumberOfDisks(Integer numberOfDisks)The number of disks in the array.RaidArraywithRaidArrayId(String raidArrayId)The array ID.RaidArraywithRaidLevel(Integer raidLevel)The RAID level.RaidArraywithSize(Integer size)The array's size.RaidArraywithStackId(String stackId)The stack ID.RaidArraywithVolumeType(String volumeType)The volume type, standard or PIOPS.
-
-
-
Method Detail
-
setRaidArrayId
public void setRaidArrayId(String raidArrayId)
The array ID.
- Parameters:
raidArrayId- The array ID.
-
getRaidArrayId
public String getRaidArrayId()
The array ID.
- Returns:
- The array ID.
-
withRaidArrayId
public RaidArray withRaidArrayId(String raidArrayId)
The array ID.
- Parameters:
raidArrayId- The array ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
public void setInstanceId(String instanceId)
The instance ID.
- Parameters:
instanceId- The instance ID.
-
getInstanceId
public String getInstanceId()
The instance ID.
- Returns:
- The instance ID.
-
withInstanceId
public RaidArray withInstanceId(String instanceId)
The instance ID.
- Parameters:
instanceId- The instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The array name.
- Parameters:
name- The array name.
-
getName
public String getName()
The array name.
- Returns:
- The array name.
-
withName
public RaidArray withName(String name)
The array name.
- Parameters:
name- The array name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRaidLevel
public void setRaidLevel(Integer raidLevel)
The RAID level.
- Parameters:
raidLevel- The RAID level.
-
getRaidLevel
public Integer getRaidLevel()
The RAID level.
- Returns:
- The RAID level.
-
withRaidLevel
public RaidArray withRaidLevel(Integer raidLevel)
The RAID level.
- Parameters:
raidLevel- The RAID level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNumberOfDisks
public void setNumberOfDisks(Integer numberOfDisks)
The number of disks in the array.
- Parameters:
numberOfDisks- The number of disks in the array.
-
getNumberOfDisks
public Integer getNumberOfDisks()
The number of disks in the array.
- Returns:
- The number of disks in the array.
-
withNumberOfDisks
public RaidArray withNumberOfDisks(Integer numberOfDisks)
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
public void setSize(Integer size)
The array's size.
- Parameters:
size- The array's size.
-
getSize
public Integer getSize()
The array's size.
- Returns:
- The array's size.
-
withSize
public RaidArray withSize(Integer size)
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
public void setDevice(String device)
The array's Linux device. For example /dev/mdadm0.
- Parameters:
device- The array's Linux device. For example /dev/mdadm0.
-
getDevice
public String getDevice()
The array's Linux device. For example /dev/mdadm0.
- Returns:
- The array's Linux device. For example /dev/mdadm0.
-
withDevice
public RaidArray withDevice(String device)
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
public void setMountPoint(String mountPoint)
The array's mount point.
- Parameters:
mountPoint- The array's mount point.
-
getMountPoint
public String getMountPoint()
The array's mount point.
- Returns:
- The array's mount point.
-
withMountPoint
public RaidArray withMountPoint(String mountPoint)
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
public void setAvailabilityZone(String availabilityZone)
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
public String 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
public RaidArray withAvailabilityZone(String availabilityZone)
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
public void setCreatedAt(String createdAt)
When the RAID array was created.
- Parameters:
createdAt- When the RAID array was created.
-
getCreatedAt
public String getCreatedAt()
When the RAID array was created.
- Returns:
- When the RAID array was created.
-
withCreatedAt
public RaidArray withCreatedAt(String createdAt)
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
public void setStackId(String stackId)
The stack ID.
- Parameters:
stackId- The stack ID.
-
getStackId
public String getStackId()
The stack ID.
- Returns:
- The stack ID.
-
withStackId
public RaidArray withStackId(String stackId)
The stack ID.
- Parameters:
stackId- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolumeType
public void setVolumeType(String volumeType)
The volume type, standard or PIOPS.
- Parameters:
volumeType- The volume type, standard or PIOPS.
-
getVolumeType
public String getVolumeType()
The volume type, standard or PIOPS.
- Returns:
- The volume type, standard or PIOPS.
-
withVolumeType
public RaidArray withVolumeType(String volumeType)
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
public void setIops(Integer iops)
For PIOPS volumes, the IOPS per disk.
- Parameters:
iops- For PIOPS volumes, the IOPS per disk.
-
getIops
public Integer getIops()
For PIOPS volumes, the IOPS per disk.
- Returns:
- For PIOPS volumes, the IOPS per disk.
-
withIops
public RaidArray withIops(Integer iops)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-