public interface VolumeSnapshotBuilder extends Buildable.Builder<VolumeSnapshotBuilder,VolumeSnapshot>
volume(String)
. All other fields are optionalModifier and Type | Method and Description |
---|---|
VolumeSnapshotBuilder |
description(String description)
Description of the snapshot
|
VolumeSnapshotBuilder |
force(boolean force)
[True/False] Indicate whether to snapshot, even if the volume is attached.
|
VolumeSnapshotBuilder |
metadata(Map<String,String> metadata)
One or more metadata key and value pairs to associate with the volume snapshot.
|
VolumeSnapshotBuilder |
name(String name)
Name of the snapshot
|
VolumeSnapshotBuilder |
volume(String volumeId)
The ID of of the existing Volume (REQUIRED)
|
build, from
VolumeSnapshotBuilder name(String name)
name
- the nameVolumeSnapshotBuilder description(String description)
description
- the descriptionVolumeSnapshotBuilder volume(String volumeId)
volumeId
- the volume idVolumeSnapshotBuilder metadata(Map<String,String> metadata)
metadata
- metadata to setVolumeSnapshotBuilder force(boolean force)
force
- true to force an attached volume to be a snapshotCopyright © 2017. All rights reserved.