Interface TapeArchive.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TapeArchive.Builder,
,TapeArchive> SdkBuilder<TapeArchive.Builder,
,TapeArchive> SdkPojo
- Enclosing class:
TapeArchive
-
Method Summary
Modifier and TypeMethodDescriptioncompletionTime
(Instant completionTime) The time that the archiving of the virtual tape was completed.Sets the value of the KMSKey property for this object.poolEntryDate
(Instant poolEntryDate) The time that the tape entered the custom tape pool.The ID of the pool that was used to archive the tape.retentionStartDate
(Instant retentionStartDate) If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.retrievedTo
(String retrievedTo) The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to.The Amazon Resource Name (ARN) of an archived virtual tape.tapeBarcode
(String tapeBarcode) The barcode that identifies the archived virtual tape.tapeCreatedDate
(Instant tapeCreatedDate) The date the virtual tape was created.tapeSizeInBytes
(Long tapeSizeInBytes) The size, in bytes, of the archived virtual tape.tapeStatus
(String tapeStatus) The current state of the archived virtual tape.tapeUsedInBytes
(Long tapeUsedInBytes) The size, in bytes, of data stored on the virtual tape.Set totrue
if the archived tape is stored as write-once-read-many (WORM).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
-
tapeARN
The Amazon Resource Name (ARN) of an archived virtual tape.
- Parameters:
tapeARN
- The Amazon Resource Name (ARN) of an archived virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tapeBarcode
The barcode that identifies the archived virtual tape.
- Parameters:
tapeBarcode
- The barcode that identifies the archived virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tapeCreatedDate
The date the virtual tape was created.
- Parameters:
tapeCreatedDate
- The date the virtual tape was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tapeSizeInBytes
The size, in bytes, of the archived virtual tape.
- Parameters:
tapeSizeInBytes
- The size, in bytes, of the archived virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completionTime
The time that the archiving of the virtual tape was completed.
The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
- Parameters:
completionTime
- The time that the archiving of the virtual tape was completed.The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrievedTo
The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to.
The virtual tape is retrieved from the virtual tape shelf (VTS).
- Parameters:
retrievedTo
- The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to.The virtual tape is retrieved from the virtual tape shelf (VTS).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tapeStatus
The current state of the archived virtual tape.
- Parameters:
tapeStatus
- The current state of the archived virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tapeUsedInBytes
The size, in bytes, of data stored on the virtual tape.
This value is not available for tapes created prior to May 13, 2015.
- Parameters:
tapeUsedInBytes
- The size, in bytes, of data stored on the virtual tape.This value is not available for tapes created prior to May 13, 2015.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKey
Sets the value of the KMSKey property for this object.- Parameters:
kmsKey
- The new value for the KMSKey property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolId
The ID of the pool that was used to archive the tape. The tapes in this pool are archived in the S3 storage class that is associated with the pool.
- Parameters:
poolId
- The ID of the pool that was used to archive the tape. The tapes in this pool are archived in the S3 storage class that is associated with the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
worm
Set to
true
if the archived tape is stored as write-once-read-many (WORM).- Parameters:
worm
- Set totrue
if the archived tape is stored as write-once-read-many (WORM).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionStartDate
If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.
- Parameters:
retentionStartDate
- If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolEntryDate
The time that the tape entered the custom tape pool.
The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
- Parameters:
poolEntryDate
- The time that the tape entered the custom tape pool.The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-