Class ManilaShare
- java.lang.Object
-
- org.openstack4j.openstack.manila.domain.ManilaShare
-
- All Implemented Interfaces:
Serializable,Share,ModelEntity
public class ManilaShare extends Object implements Share
A share is a remote, mountable file system. You can mount a share to and access a share from several hosts by several users at a time.- Author:
- Daniel Gonzalez Nothnagel
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManilaShare.Shares-
Nested classes/interfaces inherited from interface org.openstack4j.model.manila.Share
Share.Protocol, Share.Status, Share.TaskState
-
-
Constructor Summary
Constructors Constructor Description ManilaShare()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAvailabilityZone()StringgetConsistencyGroupId()StringgetCreatedAt()StringgetDescription()StringgetDisplayDescription()StringgetDisplayName()StringgetExportLocation()List<String>getExportLocations()StringgetHost()StringgetId()List<? extends Link>getLinks()Map<String,String>getMetadata()StringgetName()StringgetProjectId()StringgetShareNetworkId()Share.ProtocolgetShareProto()StringgetShareServerId()StringgetShareType()StringgetShareTypeName()IntegergetSize()StringgetSnapshotId()BooleangetSnapshotSupport()StringgetSourceCgsnapshotMemberId()Share.StatusgetStatus()Share.TaskStategetTaskState()StringgetVolumeType()BooleanisPublic()
-
-
-
Method Detail
-
getStatus
public Share.Status getStatus()
-
getProjectId
public String getProjectId()
- Specified by:
getProjectIdin interfaceShare- Returns:
- The UUID of the project in which the share was created
-
getShareProto
public Share.Protocol getShareProto()
- Specified by:
getShareProtoin interfaceShare- Returns:
- The Shared File Systems protocol
-
getSize
public Integer getSize()
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceShare- Returns:
- The share description
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceShare- Returns:
- The share name
-
getDisplayDescription
public String getDisplayDescription()
- Specified by:
getDisplayDescriptionin interfaceShare- Returns:
- The share description.
-
getShareType
public String getShareType()
- Specified by:
getShareTypein interfaceShare- Returns:
- The UUID of the share type
-
getShareTypeName
public String getShareTypeName()
- Specified by:
getShareTypeNamein interfaceShare- Returns:
- The share type name
-
getVolumeType
public String getVolumeType()
- Specified by:
getVolumeTypein interfaceShare- Returns:
- The volume type
-
getSnapshotId
public String getSnapshotId()
- Specified by:
getSnapshotIdin interfaceShare- Returns:
- The UUID of the snapshot from which to create the share
-
isPublic
public Boolean isPublic()
-
getMetadata
public Map<String,String> getMetadata()
- Specified by:
getMetadatain interfaceShare- Returns:
- One or more metadata key and value pairs as a dictionary of strings
-
getShareNetworkId
public String getShareNetworkId()
- Specified by:
getShareNetworkIdin interfaceShare- Returns:
- The UUID of the share network
-
getAvailabilityZone
public String getAvailabilityZone()
- Specified by:
getAvailabilityZonein interfaceShare- Returns:
- The availability zone
-
getExportLocation
public String getExportLocation()
- Specified by:
getExportLocationin interfaceShare- Returns:
- The export location
-
getExportLocations
public List<String> getExportLocations()
- Specified by:
getExportLocationsin interfaceShare- Returns:
- A list of export locations
-
getHost
public String getHost()
-
getTaskState
public Share.TaskState getTaskState()
- Specified by:
getTaskStatein interfaceShare- Returns:
- For the share migration, the migration task state
-
getShareServerId
public String getShareServerId()
- Specified by:
getShareServerIdin interfaceShare- Returns:
- The UUID of the share server
-
getConsistencyGroupId
public String getConsistencyGroupId()
- Specified by:
getConsistencyGroupIdin interfaceShare- Returns:
- The UUID of the consistency group where the share was created
-
getSnapshotSupport
public Boolean getSnapshotSupport()
- Specified by:
getSnapshotSupportin interfaceShare- Returns:
- An extra specification that filters back ends by whether they do or do not support share snapshots
-
getSourceCgsnapshotMemberId
public String getSourceCgsnapshotMemberId()
- Specified by:
getSourceCgsnapshotMemberIdin interfaceShare- Returns:
- If the share was created with
consistency_group_idattribute, the snapshot member ID
-
getCreatedAt
public String getCreatedAt()
- Specified by:
getCreatedAtin interfaceShare- Returns:
- The date and time stamp when the share was created
-
-