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)
ShareSnapshotCreateBuilder
shareId
in interface ShareSnapshotCreateBuilder
shareId
- the share IDpublic ShareSnapshotCreateBuilder force(boolean force)
ShareSnapshotCreateBuilder
force
in interface ShareSnapshotCreateBuilder
force
- whether snapshot creation is forcedpublic ShareSnapshotCreateBuilder name(String name)
ShareSnapshotCreateBuilder
name
in interface ShareSnapshotCreateBuilder
name
- the snapshot namepublic ShareSnapshotCreateBuilder displayName(String displayName)
ShareSnapshotCreateBuilder
name
and display_name
attributes,
which are inherited attributes from the Block Storage API.displayName
in interface ShareSnapshotCreateBuilder
displayName
- the snapshot namepublic ShareSnapshotCreateBuilder description(String description)
ShareSnapshotCreateBuilder
description
in interface ShareSnapshotCreateBuilder
description
- the snapshot descriptionpublic ShareSnapshotCreateBuilder displayDescription(String displayDescription)
ShareSnapshotCreateBuilder
description
and
display_description
parameters, which are inherited attributes from the Block Storage API.displayDescription
in interface ShareSnapshotCreateBuilder
displayDescription
- the snapshot descriptionpublic ShareSnapshotCreate build()
Buildable.Builder
build
in interface Buildable.Builder<ShareSnapshotCreateBuilder,ShareSnapshotCreate>
public ShareSnapshotCreateBuilder from(ShareSnapshotCreate in)
Buildable.Builder
from
in interface Buildable.Builder<ShareSnapshotCreateBuilder,ShareSnapshotCreate>
Copyright © 2017. All rights reserved.