public interface ShareSnapshotCreateBuilder extends Buildable.Builder<ShareSnapshotCreateBuilder,ShareSnapshotCreate>
ShareSnapshotCreate
.Modifier and Type | Method and Description |
---|---|
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 |
name(String name)
Set the snapshot name.
|
ShareSnapshotCreateBuilder |
shareId(String shareId)
Set the UUID of the share from which to create a snapshot.
|
build, from
ShareSnapshotCreateBuilder shareId(String shareId)
shareId
- the share IDShareSnapshotCreateBuilder force(boolean force)
force
- whether snapshot creation is forcedShareSnapshotCreateBuilder name(String name)
name
- the snapshot nameShareSnapshotCreateBuilder displayName(String displayName)
name
and display_name
attributes,
which are inherited attributes from the Block Storage API.displayName
- the snapshot nameShareSnapshotCreateBuilder description(String description)
description
- the snapshot descriptionShareSnapshotCreateBuilder displayDescription(String displayDescription)
description
and
display_description
parameters, which are inherited attributes from the Block Storage API.displayDescription
- the snapshot descriptionCopyright © 2017. All rights reserved.