Class ManilaShareCreate
- java.lang.Object
-
- org.openstack4j.openstack.manila.domain.ManilaShareCreate
-
- All Implemented Interfaces:
Serializable,Buildable<ShareCreateBuilder>,ShareCreate,ModelEntity
public class ManilaShareCreate extends Object implements ShareCreate
Object used to create new shares.- Author:
- Daniel Gonzalez Nothnagel
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManilaShareCreate.ShareCreateConcreteBuilder-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description ManilaShareCreate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShareCreateBuilderbuilder()StringgetAvailabilityZone()StringgetConsistencyGroupId()StringgetDescription()StringgetDisplayDescription()StringgetDisplayName()Map<String,String>getMetadata()StringgetName()StringgetShareNetworkId()Share.ProtocolgetShareProto()StringgetShareType()IntegergetSize()StringgetSnapshotId()StringgetVolumeType()BooleanisPublic()ShareCreateBuildertoBuilder()
-
-
-
Method Detail
-
builder
public static ShareCreateBuilder builder()
-
getShareProto
public Share.Protocol getShareProto()
- Specified by:
getShareProtoin interfaceShareCreate- Returns:
- The Shared File Systems protocol
-
getSize
public Integer getSize()
- Specified by:
getSizein interfaceShareCreate- Returns:
- The share size, in GBs
-
getName
public String getName()
- Specified by:
getNamein interfaceShareCreate- Returns:
- The share name
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceShareCreate- Returns:
- The share description
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceShareCreate- Returns:
- The share name
-
getDisplayDescription
public String getDisplayDescription()
- Specified by:
getDisplayDescriptionin interfaceShareCreate- Returns:
- The share description.
-
getShareType
public String getShareType()
- Specified by:
getShareTypein interfaceShareCreate- Returns:
- The UUID of the share type
-
getVolumeType
public String getVolumeType()
- Specified by:
getVolumeTypein interfaceShareCreate- Returns:
- The volume type
-
getSnapshotId
public String getSnapshotId()
- Specified by:
getSnapshotIdin interfaceShareCreate- Returns:
- The UUID of the snapshot from which to create the share
-
isPublic
public Boolean isPublic()
- Specified by:
isPublicin interfaceShareCreate- Returns:
- The level of visibility for the share
-
getMetadata
public Map<String,String> getMetadata()
- Specified by:
getMetadatain interfaceShareCreate- Returns:
- One or more metadata key and value pairs as a dictionary of strings
-
getShareNetworkId
public String getShareNetworkId()
- Specified by:
getShareNetworkIdin interfaceShareCreate- Returns:
- The UUID of the share network
-
getConsistencyGroupId
public String getConsistencyGroupId()
- Specified by:
getConsistencyGroupIdin interfaceShareCreate- Returns:
- The UUID of the consistency group where the share was created
-
getAvailabilityZone
public String getAvailabilityZone()
- Specified by:
getAvailabilityZonein interfaceShareCreate- Returns:
- The availability zone
-
toBuilder
public ShareCreateBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<ShareCreateBuilder>
-
-