Interface ShareSnapshotCreateBuilder
-
- All Superinterfaces:
Buildable.Builder<ShareSnapshotCreateBuilder,ShareSnapshotCreate>
- All Known Implementing Classes:
ManilaShareSnapshotCreate.ShareSnapshotCreateConcreteBuilder
public interface ShareSnapshotCreateBuilder extends Buildable.Builder<ShareSnapshotCreateBuilder,ShareSnapshotCreate>
Builds aShareSnapshotCreate.- Author:
- Daniel Gonzalez Nothnagel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShareSnapshotCreateBuilderdescription(String description)Set the snapshot description.ShareSnapshotCreateBuilderdisplayDescription(String displayDescription)Set the snapshot description.ShareSnapshotCreateBuilderdisplayName(String displayName)Set the snapshot name.ShareSnapshotCreateBuilderforce(boolean force)Set whether snapshot creation is enabled when a share is busy.ShareSnapshotCreateBuildername(String name)Set the snapshot name.ShareSnapshotCreateBuildershareId(String shareId)Set the UUID of the share from which to create a snapshot.-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
shareId
ShareSnapshotCreateBuilder shareId(String shareId)
Set the UUID of the share from which to create a snapshot.- Parameters:
shareId- the share ID- Returns:
- ShareSnapshotCreateBuilder
-
force
ShareSnapshotCreateBuilder force(boolean force)
Set whether snapshot creation is enabled when a share is busy.- Parameters:
force- whether snapshot creation is forced- Returns:
- ShareSnapshotCreateBuilder
-
name
ShareSnapshotCreateBuilder name(String name)
Set the snapshot name.- Parameters:
name- the snapshot name- Returns:
- ShareSnapshotCreateBuilder
-
displayName
ShareSnapshotCreateBuilder displayName(String displayName)
Set the snapshot name.The Shared File Systems API supports the use of both
nameanddisplay_nameattributes, which are inherited attributes from the Block Storage API.- Parameters:
displayName- the snapshot name- Returns:
- ShareSnapshotCreateBuilder
-
description
ShareSnapshotCreateBuilder description(String description)
Set the snapshot description.- Parameters:
description- the snapshot description- Returns:
- ShareSnapshotCreateBuilder
-
displayDescription
ShareSnapshotCreateBuilder displayDescription(String displayDescription)
Set the snapshot description.The Shared File Systems API supports the use of both
descriptionanddisplay_descriptionparameters, which are inherited attributes from the Block Storage API.- Parameters:
displayDescription- the snapshot description- Returns:
- ShareSnapshotCreateBuilder
-
-