Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class RaidArray

java.lang.Object
  extended by com.amazonaws.services.opsworks.model.RaidArray
All Implemented Interfaces:
Serializable

public class RaidArray
extends Object
implements Serializable

Describes an instance's RAID array.

See Also:
Serialized Form

Constructor Summary
RaidArray()
           
 
Method Summary
 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.
 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.
 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 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.
 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 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RaidArray

public RaidArray()
Method Detail

getRaidArrayId

public String getRaidArrayId()
The array ID.

Returns:
The array ID.

setRaidArrayId

public void setRaidArrayId(String raidArrayId)
The array ID.

Parameters:
raidArrayId - The array ID.

withRaidArrayId

public RaidArray withRaidArrayId(String raidArrayId)
The array ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
raidArrayId - The array ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceId

public String getInstanceId()
The instance ID.

Returns:
The instance ID.

setInstanceId

public void setInstanceId(String instanceId)
The instance ID.

Parameters:
instanceId - The instance ID.

withInstanceId

public RaidArray withInstanceId(String instanceId)
The instance ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - The instance ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getName

public String getName()
The array name.

Returns:
The array name.

setName

public void setName(String name)
The array name.

Parameters:
name - The array name.

withName

public RaidArray withName(String name)
The array name.

Returns a reference to this object so that method calls can be chained together.

Parameters:
name - The array name.
Returns:
A reference to this updated object so that method calls can be chained together.

getRaidLevel

public Integer getRaidLevel()
The RAID level.

Returns:
The RAID level.

setRaidLevel

public void setRaidLevel(Integer raidLevel)
The RAID level.

Parameters:
raidLevel - The RAID level.

withRaidLevel

public RaidArray withRaidLevel(Integer raidLevel)
The RAID level.

Returns a reference to this object so that method calls can be chained together.

Parameters:
raidLevel - The RAID level.
Returns:
A reference to this updated object so that method calls can be chained together.

getNumberOfDisks

public Integer getNumberOfDisks()
The number of disks in the array.

Returns:
The number of disks in the array.

setNumberOfDisks

public void setNumberOfDisks(Integer numberOfDisks)
The number of disks in the array.

Parameters:
numberOfDisks - The number of disks in the array.

withNumberOfDisks

public RaidArray withNumberOfDisks(Integer numberOfDisks)
The number of disks in the array.

Returns a reference to this object so that method calls can be chained together.

Parameters:
numberOfDisks - The number of disks in the array.
Returns:
A reference to this updated object so that method calls can be chained together.

getSize

public Integer getSize()
The array's size.

Returns:
The array's size.

setSize

public void setSize(Integer size)
The array's size.

Parameters:
size - The array's size.

withSize

public RaidArray withSize(Integer size)
The array's size.

Returns a reference to this object so that method calls can be chained together.

Parameters:
size - The array's size.
Returns:
A reference to this updated object so that method calls can be chained together.

getDevice

public String getDevice()
The array's Linux device. For example /dev/mdadm0.

Returns:
The array's Linux device. For example /dev/mdadm0.

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.

withDevice

public RaidArray withDevice(String device)
The array's Linux device. For example /dev/mdadm0.

Returns a reference to this object so that method calls can be chained together.

Parameters:
device - The array's Linux device. For example /dev/mdadm0.
Returns:
A reference to this updated object so that method calls can be chained together.

getMountPoint

public String getMountPoint()
The array's mount point.

Returns:
The array's mount point.

setMountPoint

public void setMountPoint(String mountPoint)
The array's mount point.

Parameters:
mountPoint - The array's mount point.

withMountPoint

public RaidArray withMountPoint(String mountPoint)
The array's mount point.

Returns a reference to this object so that method calls can be chained together.

Parameters:
mountPoint - The array's mount point.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withAvailabilityZone

public RaidArray withAvailabilityZone(String availabilityZone)
The array's Availability Zone. For more information, see Regions and Endpoints.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZone - The array's Availability Zone. For more information, see Regions and Endpoints.
Returns:
A reference to this updated object so that method calls can be chained together.

getCreatedAt

public String getCreatedAt()
When the RAID array was created.

Returns:
When the RAID array was created.

setCreatedAt

public void setCreatedAt(String createdAt)
When the RAID array was created.

Parameters:
createdAt - When the RAID array was created.

withCreatedAt

public RaidArray withCreatedAt(String createdAt)
When the RAID array was created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
createdAt - When the RAID array was created.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.