Class TapeArchive
- java.lang.Object
-
- software.amazon.awssdk.services.storagegateway.model.TapeArchive
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TapeArchive.Builder,TapeArchive>
@Generated("software.amazon.awssdk:codegen") public final class TapeArchive extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TapeArchive.Builder,TapeArchive>
Represents a virtual tape that is archived in the virtual tape shelf (VTS).
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTapeArchive.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TapeArchive.Builderbuilder()InstantcompletionTime()The time that the archiving of the virtual tape was completed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKey()Returns the value of the KMSKey property for this object.InstantpoolEntryDate()The time that the tape entered the custom tape pool.StringpoolId()The ID of the pool that was used to archive the tape.InstantretentionStartDate()If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.StringretrievedTo()The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to.List<SdkField<?>>sdkFields()static Class<? extends TapeArchive.Builder>serializableBuilderClass()StringtapeARN()The Amazon Resource Name (ARN) of an archived virtual tape.StringtapeBarcode()The barcode that identifies the archived virtual tape.InstanttapeCreatedDate()The date the virtual tape was created.LongtapeSizeInBytes()The size, in bytes, of the archived virtual tape.StringtapeStatus()The current state of the archived virtual tape.LongtapeUsedInBytes()The size, in bytes, of data stored on the virtual tape.TapeArchive.BuildertoBuilder()StringtoString()Returns a string representation of this object.Booleanworm()Set totrueif the archived tape is stored as write-once-read-many (WORM).-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
tapeARN
public final String tapeARN()
The Amazon Resource Name (ARN) of an archived virtual tape.
- Returns:
- The Amazon Resource Name (ARN) of an archived virtual tape.
-
tapeBarcode
public final String tapeBarcode()
The barcode that identifies the archived virtual tape.
- Returns:
- The barcode that identifies the archived virtual tape.
-
tapeCreatedDate
public final Instant tapeCreatedDate()
The date the virtual tape was created.
- Returns:
- The date the virtual tape was created.
-
tapeSizeInBytes
public final Long tapeSizeInBytes()
The size, in bytes, of the archived virtual tape.
- Returns:
- The size, in bytes, of the archived virtual tape.
-
completionTime
public final Instant 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:
- 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.
-
retrievedTo
public final String 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:
- 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).
-
tapeStatus
public final String tapeStatus()
The current state of the archived virtual tape.
- Returns:
- The current state of the archived virtual tape.
-
tapeUsedInBytes
public final Long 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:
- The size, in bytes, of data stored on the virtual tape.
This value is not available for tapes created prior to May 13, 2015.
-
kmsKey
public final String kmsKey()
Returns the value of the KMSKey property for this object.- Returns:
- The value of the KMSKey property for this object.
-
poolId
public final String 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:
- 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.
-
worm
public final Boolean worm()
Set to
trueif the archived tape is stored as write-once-read-many (WORM).- Returns:
- Set to
trueif the archived tape is stored as write-once-read-many (WORM).
-
retentionStartDate
public final Instant retentionStartDate()
If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.
- Returns:
- If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.
-
poolEntryDate
public final Instant 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:
- 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.
-
toBuilder
public TapeArchive.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TapeArchive.Builder,TapeArchive>
-
builder
public static TapeArchive.Builder builder()
-
serializableBuilderClass
public static Class<? extends TapeArchive.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-