public static class ManilaShareSnapshotCreate.ShareSnapshotCreateConcreteBuilder extends Object implements ShareSnapshotCreateBuilder
| Modifier and Type | Method and Description |
|---|---|
ShareSnapshotCreate |
build()
Creates and return the Model Entity M
|
ShareSnapshotCreateBuilder |
description(String description)
Set the snapshot description.
|
ShareSnapshotCreateBuilder |
displayDescription(String displayDescription)
Set the snapshot description.
|
ShareSnapshotCreateBuilder |
displayName(String displayName)
Set the snapshot name.
|
ShareSnapshotCreateBuilder |
force(boolean force)
Set whether snapshot creation is enabled when a share is busy.
|
ShareSnapshotCreateBuilder |
from(ShareSnapshotCreate in)
Creates a Builder using the param M as the default values
|
ShareSnapshotCreateBuilder |
name(String name)
Set the snapshot name.
|
ShareSnapshotCreateBuilder |
shareId(String shareId)
Set the UUID of the share from which to create a snapshot.
|
public ShareSnapshotCreateBuilder shareId(String shareId)
ShareSnapshotCreateBuildershareId in interface ShareSnapshotCreateBuildershareId - the share IDpublic ShareSnapshotCreateBuilder force(boolean force)
ShareSnapshotCreateBuilderforce in interface ShareSnapshotCreateBuilderforce - whether snapshot creation is forcedpublic ShareSnapshotCreateBuilder name(String name)
ShareSnapshotCreateBuildername in interface ShareSnapshotCreateBuildername - the snapshot namepublic ShareSnapshotCreateBuilder displayName(String displayName)
ShareSnapshotCreateBuildername and display_name attributes,
which are inherited attributes from the Block Storage API.displayName in interface ShareSnapshotCreateBuilderdisplayName - the snapshot namepublic ShareSnapshotCreateBuilder description(String description)
ShareSnapshotCreateBuilderdescription in interface ShareSnapshotCreateBuilderdescription - the snapshot descriptionpublic ShareSnapshotCreateBuilder displayDescription(String displayDescription)
ShareSnapshotCreateBuilderdescription and
display_description parameters, which are inherited attributes from the Block Storage API.displayDescription in interface ShareSnapshotCreateBuilderdisplayDescription - the snapshot descriptionpublic ShareSnapshotCreate build()
Buildable.Builderbuild in interface Buildable.Builder<ShareSnapshotCreateBuilder,ShareSnapshotCreate>public ShareSnapshotCreateBuilder from(ShareSnapshotCreate in)
Buildable.Builderfrom in interface Buildable.Builder<ShareSnapshotCreateBuilder,ShareSnapshotCreate>Copyright © 2017. All rights reserved.