Interface SnapshotTierStatus.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SnapshotTierStatus.Builder,SnapshotTierStatus>
,SdkBuilder<SnapshotTierStatus.Builder,SnapshotTierStatus>
,SdkPojo
- Enclosing class:
- SnapshotTierStatus
public static interface SnapshotTierStatus.Builder extends SdkPojo, CopyableBuilder<SnapshotTierStatus.Builder,SnapshotTierStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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(String status)
The state of the snapshot.SnapshotTierStatus.Builder
status(SnapshotState status)
The state of the snapshot.SnapshotTierStatus.Builder
storageTier(String storageTier)
The storage tier in which the snapshot is stored.SnapshotTierStatus.Builder
storageTier(StorageTier 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.-
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 Detail
-
snapshotId
SnapshotTierStatus.Builder snapshotId(String 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
SnapshotTierStatus.Builder volumeId(String 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
SnapshotTierStatus.Builder status(String 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:
SnapshotState
,SnapshotState
-
status
SnapshotTierStatus.Builder status(SnapshotState 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:
SnapshotState
,SnapshotState
-
ownerId
SnapshotTierStatus.Builder ownerId(String 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
SnapshotTierStatus.Builder tags(Collection<Tag> 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
SnapshotTierStatus.Builder tags(Tag... 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
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
storageTier
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.- 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
,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.- 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
,StorageTier
-
lastTieringStartTime
SnapshotTierStatus.Builder lastTieringStartTime(Instant 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
SnapshotTierStatus.Builder lastTieringProgress(Integer 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
SnapshotTierStatus.Builder lastTieringOperationStatus(String 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:
TieringOperationStatus
,TieringOperationStatus
-
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:
TieringOperationStatus
,TieringOperationStatus
-
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
SnapshotTierStatus.Builder archivalCompleteTime(Instant 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
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.
- 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.
-
-