Class VolumeConfiguration
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.VolumeConfiguration
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class VolumeConfiguration extends Object implements Serializable, Cloneable
Describes an Amazon EBS volume configuration.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VolumeConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeConfiguration
clone()
boolean
equals(Object obj)
Integer
getIops()
For PIOPS volumes, the IOPS per disk.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.String
getVolumeType()
The volume type:int
hashCode()
void
setIops(Integer iops)
For PIOPS volumes, the IOPS per disk.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.void
setVolumeType(String volumeType)
The volume type:String
toString()
Returns a string representation of this object; useful for testing and debugging.VolumeConfiguration
withIops(Integer iops)
For PIOPS volumes, the IOPS per disk.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.VolumeConfiguration
withVolumeType(String volumeType)
The volume type:
-
-
-
Method Detail
-
setMountPoint
public void setMountPoint(String mountPoint)
The volume mount point. For example "/dev/sdh".
- Parameters:
mountPoint
- The volume mount point. For example "/dev/sdh".
-
getMountPoint
public String getMountPoint()
The volume mount point. For example "/dev/sdh".
- Returns:
- The volume mount point. For example "/dev/sdh".
-
withMountPoint
public VolumeConfiguration withMountPoint(String mountPoint)
The volume mount point. For example "/dev/sdh".
- Parameters:
mountPoint
- The volume mount point. For example "/dev/sdh".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRaidLevel
public void setRaidLevel(Integer raidLevel)
The volume RAID level.
- Parameters:
raidLevel
- The volume RAID level.
-
getRaidLevel
public Integer getRaidLevel()
The volume RAID level.
- Returns:
- The volume RAID level.
-
withRaidLevel
public VolumeConfiguration withRaidLevel(Integer raidLevel)
The volume RAID level.
- Parameters:
raidLevel
- The volume 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 volume.
- Parameters:
numberOfDisks
- The number of disks in the volume.
-
getNumberOfDisks
public Integer getNumberOfDisks()
The number of disks in the volume.
- Returns:
- The number of disks in the volume.
-
withNumberOfDisks
public VolumeConfiguration withNumberOfDisks(Integer numberOfDisks)
The number of disks in the volume.
- Parameters:
numberOfDisks
- The number of disks in the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSize
public void setSize(Integer size)
The volume size.
- Parameters:
size
- The volume size.
-
getSize
public Integer getSize()
The volume size.
- Returns:
- The volume size.
-
withSize
public VolumeConfiguration withSize(Integer size)
The volume size.
- Parameters:
size
- The volume size.- 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
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)
- Parameters:
volumeType
- The volume type:standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)
-
getVolumeType
public String getVolumeType()
The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)
- Returns:
- The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)
-
withVolumeType
public VolumeConfiguration withVolumeType(String volumeType)
The volume type:
standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)
- Parameters:
volumeType
- The volume type:standard
- Magneticio1
- Provisioned IOPS (SSD)gp2
- General Purpose (SSD)
- 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 VolumeConfiguration 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()
-
clone
public VolumeConfiguration clone()
-
-