Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class VolumeConfiguration

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

public class VolumeConfiguration
extends Object
implements Serializable

Describes an Amazon EBS volume configuration.

See Also:
Serialized Form

Constructor Summary
VolumeConfiguration()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getMountPoint()
          The volume mount point.
 Integer getNumberOfDisks()
          The number of disks in the volume.
 Integer getRaidLevel()
          The volume RAID level.
 Integer getSize()
          The volume size.
 int hashCode()
           
 void setMountPoint(String mountPoint)
          The volume mount point.
 void setNumberOfDisks(Integer numberOfDisks)
          The number of disks in the volume.
 void setRaidLevel(Integer raidLevel)
          The volume RAID level.
 void setSize(Integer size)
          The volume size.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 VolumeConfiguration withMountPoint(String mountPoint)
          The volume mount point.
 VolumeConfiguration withNumberOfDisks(Integer numberOfDisks)
          The number of disks in the volume.
 VolumeConfiguration withRaidLevel(Integer raidLevel)
          The volume RAID level.
 VolumeConfiguration withSize(Integer size)
          The volume size.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolumeConfiguration

public VolumeConfiguration()
Method Detail

getMountPoint

public String getMountPoint()
The volume mount point. For example "/dev/sdh".

Returns:
The volume mount point. For example "/dev/sdh".

setMountPoint

public void setMountPoint(String mountPoint)
The volume mount point. For example "/dev/sdh".

Parameters:
mountPoint - The volume mount point. For example "/dev/sdh".

withMountPoint

public VolumeConfiguration withMountPoint(String mountPoint)
The volume mount point. For example "/dev/sdh".

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

Parameters:
mountPoint - The volume mount point. For example "/dev/sdh".
Returns:
A reference to this updated object so that method calls can be chained together.

getRaidLevel

public Integer getRaidLevel()
The volume RAID level.

Returns:
The volume RAID level.

setRaidLevel

public void setRaidLevel(Integer raidLevel)
The volume RAID level.

Parameters:
raidLevel - The volume RAID level.

withRaidLevel

public VolumeConfiguration withRaidLevel(Integer raidLevel)
The volume RAID level.

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

Parameters:
raidLevel - The volume 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 volume.

Returns:
The number of disks in the volume.

setNumberOfDisks

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

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

withNumberOfDisks

public VolumeConfiguration withNumberOfDisks(Integer numberOfDisks)
The number of disks in the volume.

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

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

getSize

public Integer getSize()
The volume size.

Returns:
The volume size.

setSize

public void setSize(Integer size)
The volume size.

Parameters:
size - The volume size.

withSize

public VolumeConfiguration withSize(Integer size)
The volume size.

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

Parameters:
size - The volume size.
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.