Interface SnapshotTierStatus.Builder

    • 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.
      • 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 the Tag.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).

        Parameters:
        tags - a consumer that will call methods on Tag.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
      • 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.