public static interface SnapshotInfo.Builder extends SdkPojo, CopyableBuilder<SnapshotInfo.Builder,SnapshotInfo>
| Modifier and Type | Method and Description |
|---|---|
SnapshotInfo.Builder |
description(String description)
Description specified by the CreateSnapshotRequest that has been applied to all snapshots.
|
SnapshotInfo.Builder |
encrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
|
SnapshotInfo.Builder |
ownerId(String ownerId)
Account id used when creating this snapshot.
|
SnapshotInfo.Builder |
progress(String progress)
Progress this snapshot has made towards completing.
|
SnapshotInfo.Builder |
snapshotId(String snapshotId)
Snapshot id that can be used to describe this snapshot.
|
SnapshotInfo.Builder |
startTime(Instant startTime)
Time this snapshot was started.
|
SnapshotInfo.Builder |
state(SnapshotState state)
Current state of the snapshot.
|
SnapshotInfo.Builder |
state(String state)
Current state of the snapshot.
|
SnapshotInfo.Builder |
tags(Collection<Tag> tags)
Tags associated with this snapshot.
|
SnapshotInfo.Builder |
tags(Consumer<Tag.Builder>... tags)
Tags associated with this snapshot.
|
SnapshotInfo.Builder |
tags(Tag... tags)
Tags associated with this snapshot.
|
SnapshotInfo.Builder |
volumeId(String volumeId)
Source volume from which this snapshot was created.
|
SnapshotInfo.Builder |
volumeSize(Integer volumeSize)
Size of the volume from which this snapshot was created.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSnapshotInfo.Builder description(String description)
Description specified by the CreateSnapshotRequest that has been applied to all snapshots.
description - Description specified by the CreateSnapshotRequest that has been applied to all snapshots.SnapshotInfo.Builder tags(Collection<Tag> tags)
Tags associated with this snapshot.
tags - Tags associated with this snapshot.SnapshotInfo.Builder tags(Tag... tags)
Tags associated with this snapshot.
tags - Tags associated with this snapshot.SnapshotInfo.Builder tags(Consumer<Tag.Builder>... tags)
Tags associated with this snapshot.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) SnapshotInfo.Builder encrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
encrypted - Indicates whether the snapshot is encrypted.SnapshotInfo.Builder volumeId(String volumeId)
Source volume from which this snapshot was created.
volumeId - Source volume from which this snapshot was created.SnapshotInfo.Builder state(String state)
Current state of the snapshot.
state - Current state of the snapshot.SnapshotState,
SnapshotStateSnapshotInfo.Builder state(SnapshotState state)
Current state of the snapshot.
state - Current state of the snapshot.SnapshotState,
SnapshotStateSnapshotInfo.Builder volumeSize(Integer volumeSize)
Size of the volume from which this snapshot was created.
volumeSize - Size of the volume from which this snapshot was created.SnapshotInfo.Builder startTime(Instant startTime)
Time this snapshot was started. This is the same for all snapshots initiated by the same request.
startTime - Time this snapshot was started. This is the same for all snapshots initiated by the same request.SnapshotInfo.Builder progress(String progress)
Progress this snapshot has made towards completing.
progress - Progress this snapshot has made towards completing.SnapshotInfo.Builder ownerId(String ownerId)
Account id used when creating this snapshot.
ownerId - Account id used when creating this snapshot.SnapshotInfo.Builder snapshotId(String snapshotId)
Snapshot id that can be used to describe this snapshot.
snapshotId - Snapshot id that can be used to describe this snapshot.Copyright © 2019. All rights reserved.