Package com.woorea.openstack.nova.model
Class VolumeForCreate
- java.lang.Object
-
- com.woorea.openstack.nova.model.VolumeForCreate
-
- All Implemented Interfaces:
Serializable
public class VolumeForCreate extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VolumeForCreate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAvailabilityZone()StringgetDescription()Map<String,String>getMetadata()StringgetName()IntegergetSize()IntegergetSnapshotId()voidsetAvailabilityZone(String availabilityZone)voidsetDescription(String description)voidsetMetadata(Map<String,String> metadata)voidsetName(String name)voidsetSize(Integer size)voidsetSnapshotId(Integer snapshotId)StringtoString()
-
-
-
Method Detail
-
getSize
public Integer getSize()
- Returns:
- the size
-
setSize
public void setSize(Integer size)
- Parameters:
size- the size to set
-
getAvailabilityZone
public String getAvailabilityZone()
- Returns:
- the availabilityZone
-
setAvailabilityZone
public void setAvailabilityZone(String availabilityZone)
- Parameters:
availabilityZone- the availabilityZone to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description- the description to set
-
getSnapshotId
public Integer getSnapshotId()
- Returns:
- the snapshotId
-
setSnapshotId
public void setSnapshotId(Integer snapshotId)
- Parameters:
snapshotId- the snapshotId to set
-
setMetadata
public void setMetadata(Map<String,String> metadata)
- Parameters:
metadata- the metadata to set
-
-