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:
  • Constructor Details

    • RaidArray

      public RaidArray()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public RaidArray clone()
      Overrides:
      clone in class Object