Class ManilaShareSnapshotCreate.ShareSnapshotCreateConcreteBuilder
- java.lang.Object
-
- org.openstack4j.openstack.manila.domain.ManilaShareSnapshotCreate.ShareSnapshotCreateConcreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<ShareSnapshotCreateBuilder,ShareSnapshotCreate>,ShareSnapshotCreateBuilder
- Enclosing class:
- ManilaShareSnapshotCreate
public static class ManilaShareSnapshotCreate.ShareSnapshotCreateConcreteBuilder extends Object implements ShareSnapshotCreateBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShareSnapshotCreatebuild()Creates and return the Model Entity MShareSnapshotCreateBuilderdescription(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.ShareSnapshotCreateBuilderfrom(ShareSnapshotCreate in)Creates a Builder using the param M as the default valuesShareSnapshotCreateBuildername(String name)Set the snapshot name.ShareSnapshotCreateBuildershareId(String shareId)Set the UUID of the share from which to create a snapshot.
-
-
-
Method Detail
-
shareId
public ShareSnapshotCreateBuilder shareId(String shareId)
Description copied from interface:ShareSnapshotCreateBuilderSet the UUID of the share from which to create a snapshot.- Specified by:
shareIdin interfaceShareSnapshotCreateBuilder- Parameters:
shareId- the share ID- Returns:
- ShareSnapshotCreateBuilder
-
force
public ShareSnapshotCreateBuilder force(boolean force)
Description copied from interface:ShareSnapshotCreateBuilderSet whether snapshot creation is enabled when a share is busy.- Specified by:
forcein interfaceShareSnapshotCreateBuilder- Parameters:
force- whether snapshot creation is forced- Returns:
- ShareSnapshotCreateBuilder
-
name
public ShareSnapshotCreateBuilder name(String name)
Description copied from interface:ShareSnapshotCreateBuilderSet the snapshot name.- Specified by:
namein interfaceShareSnapshotCreateBuilder- Parameters:
name- the snapshot name- Returns:
- ShareSnapshotCreateBuilder
-
displayName
public ShareSnapshotCreateBuilder displayName(String displayName)
Description copied from interface:ShareSnapshotCreateBuilderSet the snapshot name.The Shared File Systems API supports the use of both
nameanddisplay_nameattributes, which are inherited attributes from the Block Storage API.- Specified by:
displayNamein interfaceShareSnapshotCreateBuilder- Parameters:
displayName- the snapshot name- Returns:
- ShareSnapshotCreateBuilder
-
description
public ShareSnapshotCreateBuilder description(String description)
Description copied from interface:ShareSnapshotCreateBuilderSet the snapshot description.- Specified by:
descriptionin interfaceShareSnapshotCreateBuilder- Parameters:
description- the snapshot description- Returns:
- ShareSnapshotCreateBuilder
-
displayDescription
public ShareSnapshotCreateBuilder displayDescription(String displayDescription)
Description copied from interface:ShareSnapshotCreateBuilderSet the snapshot description.The Shared File Systems API supports the use of both
descriptionanddisplay_descriptionparameters, which are inherited attributes from the Block Storage API.- Specified by:
displayDescriptionin interfaceShareSnapshotCreateBuilder- Parameters:
displayDescription- the snapshot description- Returns:
- ShareSnapshotCreateBuilder
-
build
public ShareSnapshotCreate build()
Description copied from interface:Buildable.BuilderCreates and return the Model Entity M- Specified by:
buildin interfaceBuildable.Builder<ShareSnapshotCreateBuilder,ShareSnapshotCreate>- Returns:
- M instance
-
from
public ShareSnapshotCreateBuilder from(ShareSnapshotCreate in)
Description copied from interface:Buildable.BuilderCreates a Builder using the param M as the default values- Specified by:
fromin interfaceBuildable.Builder<ShareSnapshotCreateBuilder,ShareSnapshotCreate>- Returns:
- Builder
-
-