Package org.openstack4j.model.manila
Interface ShareCreate
-
- All Superinterfaces:
Buildable<ShareCreateBuilder>,ModelEntity,Serializable
- All Known Implementing Classes:
ManilaShareCreate
public interface ShareCreate extends ModelEntity, Buildable<ShareCreateBuilder>
Object used to create new shares.- Author:
- Daniel Gonzalez Nothnagel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAvailabilityZone()StringgetConsistencyGroupId()StringgetDescription()StringgetDisplayDescription()StringgetDisplayName()Map<String,String>getMetadata()StringgetName()StringgetShareNetworkId()Share.ProtocolgetShareProto()StringgetShareType()IntegergetSize()StringgetSnapshotId()StringgetVolumeType()BooleanisPublic()
-
-
-
Method Detail
-
getShareProto
Share.Protocol getShareProto()
- Returns:
- The Shared File Systems protocol
-
getSize
Integer getSize()
- Returns:
- The share size, in GBs
-
getName
String getName()
- Returns:
- The share name
-
getDescription
String getDescription()
- Returns:
- The share description
-
getDisplayName
String getDisplayName()
- Returns:
- The share name
-
getDisplayDescription
String getDisplayDescription()
- Returns:
- The share description.
-
getShareType
String getShareType()
- Returns:
- The UUID of the share type
-
getVolumeType
String getVolumeType()
- Returns:
- The volume type
-
getSnapshotId
String getSnapshotId()
- Returns:
- The UUID of the snapshot from which to create the share
-
isPublic
Boolean isPublic()
- Returns:
- The level of visibility for the share
-
getMetadata
Map<String,String> getMetadata()
- Returns:
- One or more metadata key and value pairs as a dictionary of strings
-
getShareNetworkId
String getShareNetworkId()
- Returns:
- The UUID of the share network
-
getConsistencyGroupId
String getConsistencyGroupId()
- Returns:
- The UUID of the consistency group where the share was created
-
getAvailabilityZone
String getAvailabilityZone()
- Returns:
- The availability zone
-
-