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 RaidArray
clone()
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
getStackId()
The stack ID.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
setStackId(String stackId)
The stack ID.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
withStackId(String stackId)
The stack ID.RaidArray
withVolumeType(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-