Interface SnapshotTierStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SnapshotTierStatus.Builder,
,SnapshotTierStatus> SdkBuilder<SnapshotTierStatus.Builder,
,SnapshotTierStatus> SdkPojo
- Enclosing class:
SnapshotTierStatus
-
Method Summary
Modifier and TypeMethodDescriptionarchivalCompleteTime
(Instant archivalCompleteTime) The date and time when the last archive process was completed.lastTieringOperationStatus
(String lastTieringOperationStatus) The status of the last archive or restore process.lastTieringOperationStatus
(TieringOperationStatus lastTieringOperationStatus) The status of the last archive or restore process.lastTieringOperationStatusDetail
(String lastTieringOperationStatusDetail) A message describing the status of the last archive or restore process.lastTieringProgress
(Integer lastTieringProgress) The progress of the last archive or restore process, as a percentage.lastTieringStartTime
(Instant lastTieringStartTime) The date and time when the last archive or restore process was started.The ID of the Amazon Web Services account that owns the snapshot.restoreExpiryTime
(Instant restoreExpiryTime) Only for archived snapshots that are temporarily restored.snapshotId
(String snapshotId) The ID of the snapshot.The state of the snapshot.status
(SnapshotState status) The state of the snapshot.storageTier
(String storageTier) The storage tier in which the snapshot is stored.storageTier
(StorageTier storageTier) The storage tier in which the snapshot is stored.tags
(Collection<Tag> tags) The tags that are assigned to the snapshot.tags
(Consumer<Tag.Builder>... tags) The tags that are assigned to the snapshot.The tags that are assigned to the snapshot.The ID of the volume from which the snapshot was created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
snapshotId
The ID of the snapshot.
- Parameters:
snapshotId
- The ID of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeId
The ID of the volume from which the snapshot was created.
- Parameters:
volumeId
- The ID of the volume from which the snapshot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The state of the snapshot.
- Parameters:
status
- The state of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The state of the snapshot.
- Parameters:
status
- The state of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerId
The ID of the Amazon Web Services account that owns the snapshot.
- Parameters:
ownerId
- The ID of the Amazon Web Services account that owns the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags that are assigned to the snapshot.
- Parameters:
tags
- The tags that are assigned to the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags that are assigned to the snapshot.
- Parameters:
tags
- The tags that are assigned to the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastTieringStartTime
The date and time when the last archive or restore process was started.
- Parameters:
lastTieringStartTime
- The date and time when the last archive or restore process was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastTieringProgress
The progress of the last archive or restore process, as a percentage.
- Parameters:
lastTieringProgress
- The progress of the last archive or restore process, as a percentage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastTieringOperationStatus
The status of the last archive or restore process.
- Parameters:
lastTieringOperationStatus
- The status of the last archive or restore process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastTieringOperationStatus
SnapshotTierStatus.Builder lastTieringOperationStatus(TieringOperationStatus lastTieringOperationStatus) The status of the last archive or restore process.
- Parameters:
lastTieringOperationStatus
- The status of the last archive or restore process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastTieringOperationStatusDetail
SnapshotTierStatus.Builder lastTieringOperationStatusDetail(String lastTieringOperationStatusDetail) A message describing the status of the last archive or restore process.
- Parameters:
lastTieringOperationStatusDetail
- A message describing the status of the last archive or restore process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archivalCompleteTime
The date and time when the last archive process was completed.
- Parameters:
archivalCompleteTime
- The date and time when the last archive process was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreExpiryTime
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
- Parameters:
restoreExpiryTime
- Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-