Package com.woorea.openstack.nova.model
Class VolumeForCreate
java.lang.Object
com.woorea.openstack.nova.model.VolumeForCreate
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
getSize()
void
setAvailabilityZone
(String availabilityZone) void
setDescription
(String description) void
setMetadata
(Map<String, String> metadata) void
void
void
setSnapshotId
(Integer snapshotId) toString()
-
Field Details
-
size
-
availabilityZone
-
name
-
description
-
snapshotId
-
metadata
-
-
Constructor Details
-
VolumeForCreate
public VolumeForCreate()
-
-
Method Details
-
getSize
- Returns:
- the size
-
setSize
- Parameters:
size
- the size to set
-
getAvailabilityZone
- Returns:
- the availabilityZone
-
setAvailabilityZone
- Parameters:
availabilityZone
- the availabilityZone to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name
- the name to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description
- the description to set
-
getSnapshotId
- Returns:
- the snapshotId
-
setSnapshotId
- Parameters:
snapshotId
- the snapshotId to set
-
getMetadata
- Returns:
- the metadata
-
setMetadata
- Parameters:
metadata
- the metadata to set
-
toString
-