public static interface SnapshotTierStatus.Builder extends SdkPojo, CopyableBuilder<SnapshotTierStatus.Builder,SnapshotTierStatus>
Modifier and Type | Method and Description |
---|---|
SnapshotTierStatus.Builder |
archivalCompleteTime(Instant archivalCompleteTime)
The date and time when the last archive process was completed.
|
SnapshotTierStatus.Builder |
lastTieringOperationStatus(String lastTieringOperationStatus)
The status of the last archive or restore process.
|
SnapshotTierStatus.Builder |
lastTieringOperationStatus(TieringOperationStatus lastTieringOperationStatus)
The status of the last archive or restore process.
|
SnapshotTierStatus.Builder |
lastTieringOperationStatusDetail(String lastTieringOperationStatusDetail)
A message describing the status of the last archive or restore process.
|
SnapshotTierStatus.Builder |
lastTieringProgress(Integer lastTieringProgress)
The progress of the last archive or restore process, as a percentage.
|
SnapshotTierStatus.Builder |
lastTieringStartTime(Instant lastTieringStartTime)
The date and time when the last archive or restore process was started.
|
SnapshotTierStatus.Builder |
ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the snapshot.
|
SnapshotTierStatus.Builder |
restoreExpiryTime(Instant restoreExpiryTime)
Only for archived snapshots that are temporarily restored.
|
SnapshotTierStatus.Builder |
snapshotId(String snapshotId)
The ID of the snapshot.
|
SnapshotTierStatus.Builder |
status(SnapshotState status)
The state of the snapshot.
|
SnapshotTierStatus.Builder |
status(String status)
The state of the snapshot.
|
SnapshotTierStatus.Builder |
storageTier(StorageTier storageTier)
The storage tier in which the snapshot is stored.
|
SnapshotTierStatus.Builder |
storageTier(String storageTier)
The storage tier in which the snapshot is stored.
|
SnapshotTierStatus.Builder |
tags(Collection<Tag> tags)
The tags that are assigned to the snapshot.
|
SnapshotTierStatus.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags that are assigned to the snapshot.
|
SnapshotTierStatus.Builder |
tags(Tag... tags)
The tags that are assigned to the snapshot.
|
SnapshotTierStatus.Builder |
volumeId(String volumeId)
The ID of the volume from which the snapshot was created.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
SnapshotTierStatus.Builder snapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.SnapshotTierStatus.Builder volumeId(String volumeId)
The ID of the volume from which the snapshot was created.
volumeId
- The ID of the volume from which the snapshot was created.SnapshotTierStatus.Builder status(String status)
The state of the snapshot.
status
- The state of the snapshot.SnapshotState
,
SnapshotState
SnapshotTierStatus.Builder status(SnapshotState status)
The state of the snapshot.
status
- The state of the snapshot.SnapshotState
,
SnapshotState
SnapshotTierStatus.Builder ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the snapshot.
ownerId
- The ID of the Amazon Web Services account that owns the snapshot.SnapshotTierStatus.Builder tags(Collection<Tag> tags)
The tags that are assigned to the snapshot.
tags
- The tags that are assigned to the snapshot.SnapshotTierStatus.Builder tags(Tag... tags)
The tags that are assigned to the snapshot.
tags
- The tags that are assigned to the snapshot.SnapshotTierStatus.Builder tags(Consumer<Tag.Builder>... tags)
The tags that are assigned to the snapshot.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
SnapshotTierStatus.Builder storageTier(String storageTier)
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored
in the standard snapshot storage tier and that it is ready for use. archive
indicates that the
snapshot is currently archived and that it must be restored before it can be used.
storageTier
- The storage tier in which the snapshot is stored. standard
indicates that the snapshot is
stored in the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot is currently archived and that it must be restored before it can be used.StorageTier
,
StorageTier
SnapshotTierStatus.Builder storageTier(StorageTier storageTier)
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored
in the standard snapshot storage tier and that it is ready for use. archive
indicates that the
snapshot is currently archived and that it must be restored before it can be used.
storageTier
- The storage tier in which the snapshot is stored. standard
indicates that the snapshot is
stored in the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot is currently archived and that it must be restored before it can be used.StorageTier
,
StorageTier
SnapshotTierStatus.Builder lastTieringStartTime(Instant lastTieringStartTime)
The date and time when the last archive or restore process was started.
lastTieringStartTime
- The date and time when the last archive or restore process was started.SnapshotTierStatus.Builder lastTieringProgress(Integer lastTieringProgress)
The progress of the last archive or restore process, as a percentage.
lastTieringProgress
- The progress of the last archive or restore process, as a percentage.SnapshotTierStatus.Builder lastTieringOperationStatus(String lastTieringOperationStatus)
The status of the last archive or restore process.
lastTieringOperationStatus
- The status of the last archive or restore process.TieringOperationStatus
,
TieringOperationStatus
SnapshotTierStatus.Builder lastTieringOperationStatus(TieringOperationStatus lastTieringOperationStatus)
The status of the last archive or restore process.
lastTieringOperationStatus
- The status of the last archive or restore process.TieringOperationStatus
,
TieringOperationStatus
SnapshotTierStatus.Builder lastTieringOperationStatusDetail(String lastTieringOperationStatusDetail)
A message describing the status of the last archive or restore process.
lastTieringOperationStatusDetail
- A message describing the status of the last archive or restore process.SnapshotTierStatus.Builder archivalCompleteTime(Instant archivalCompleteTime)
The date and time when the last archive process was completed.
archivalCompleteTime
- The date and time when the last archive process was completed.SnapshotTierStatus.Builder restoreExpiryTime(Instant restoreExpiryTime)
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
restoreExpiryTime
- Only for archived snapshots that are temporarily restored. Indicates the date and time when a
temporarily restored snapshot will be automatically re-archived.Copyright © 2023. All rights reserved.