@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TapeArchive extends Object implements Serializable, Cloneable, StructuredPojo
Represents a virtual tape that is archived in the virtual tape shelf (VTS).
Constructor and Description |
---|
TapeArchive() |
Modifier and Type | Method and Description |
---|---|
TapeArchive |
clone() |
boolean |
equals(Object obj) |
Date |
getCompletionTime()
The time that the archiving of the virtual tape was completed.
|
String |
getKMSKey() |
Date |
getPoolEntryDate()
The time that the tape entered the custom tape pool.
|
String |
getPoolId()
The ID of the pool that was used to archive the tape.
|
Date |
getRetentionStartDate()
If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.
|
String |
getRetrievedTo()
The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to.
|
String |
getTapeARN()
The Amazon Resource Name (ARN) of an archived virtual tape.
|
String |
getTapeBarcode()
The barcode that identifies the archived virtual tape.
|
Date |
getTapeCreatedDate()
The date the virtual tape was created.
|
Long |
getTapeSizeInBytes()
The size, in bytes, of the archived virtual tape.
|
String |
getTapeStatus()
The current state of the archived virtual tape.
|
Long |
getTapeUsedInBytes()
The size, in bytes, of data stored on the virtual tape.
|
Boolean |
getWorm()
Set to
true if the archived tape is stored as write-once-read-many (WORM). |
int |
hashCode() |
Boolean |
isWorm()
Set to
true if the archived tape is stored as write-once-read-many (WORM). |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompletionTime(Date completionTime)
The time that the archiving of the virtual tape was completed.
|
void |
setKMSKey(String kMSKey) |
void |
setPoolEntryDate(Date poolEntryDate)
The time that the tape entered the custom tape pool.
|
void |
setPoolId(String poolId)
The ID of the pool that was used to archive the tape.
|
void |
setRetentionStartDate(Date retentionStartDate)
If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.
|
void |
setRetrievedTo(String retrievedTo)
The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to.
|
void |
setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of an archived virtual tape.
|
void |
setTapeBarcode(String tapeBarcode)
The barcode that identifies the archived virtual tape.
|
void |
setTapeCreatedDate(Date tapeCreatedDate)
The date the virtual tape was created.
|
void |
setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.
|
void |
setTapeStatus(String tapeStatus)
The current state of the archived virtual tape.
|
void |
setTapeUsedInBytes(Long tapeUsedInBytes)
The size, in bytes, of data stored on the virtual tape.
|
void |
setWorm(Boolean worm)
Set to
true if the archived tape is stored as write-once-read-many (WORM). |
String |
toString()
Returns a string representation of this object.
|
TapeArchive |
withCompletionTime(Date completionTime)
The time that the archiving of the virtual tape was completed.
|
TapeArchive |
withKMSKey(String kMSKey) |
TapeArchive |
withPoolEntryDate(Date poolEntryDate)
The time that the tape entered the custom tape pool.
|
TapeArchive |
withPoolId(String poolId)
The ID of the pool that was used to archive the tape.
|
TapeArchive |
withRetentionStartDate(Date retentionStartDate)
If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.
|
TapeArchive |
withRetrievedTo(String retrievedTo)
The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to.
|
TapeArchive |
withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of an archived virtual tape.
|
TapeArchive |
withTapeBarcode(String tapeBarcode)
The barcode that identifies the archived virtual tape.
|
TapeArchive |
withTapeCreatedDate(Date tapeCreatedDate)
The date the virtual tape was created.
|
TapeArchive |
withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.
|
TapeArchive |
withTapeStatus(String tapeStatus)
The current state of the archived virtual tape.
|
TapeArchive |
withTapeUsedInBytes(Long tapeUsedInBytes)
The size, in bytes, of data stored on the virtual tape.
|
TapeArchive |
withWorm(Boolean worm)
Set to
true if the archived tape is stored as write-once-read-many (WORM). |
public void setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of an archived virtual tape.
tapeARN
- The Amazon Resource Name (ARN) of an archived virtual tape.public String getTapeARN()
The Amazon Resource Name (ARN) of an archived virtual tape.
public TapeArchive withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of an archived virtual tape.
tapeARN
- The Amazon Resource Name (ARN) of an archived virtual tape.public void setTapeBarcode(String tapeBarcode)
The barcode that identifies the archived virtual tape.
tapeBarcode
- The barcode that identifies the archived virtual tape.public String getTapeBarcode()
The barcode that identifies the archived virtual tape.
public TapeArchive withTapeBarcode(String tapeBarcode)
The barcode that identifies the archived virtual tape.
tapeBarcode
- The barcode that identifies the archived virtual tape.public void setTapeCreatedDate(Date tapeCreatedDate)
The date the virtual tape was created.
tapeCreatedDate
- The date the virtual tape was created.public Date getTapeCreatedDate()
The date the virtual tape was created.
public TapeArchive withTapeCreatedDate(Date tapeCreatedDate)
The date the virtual tape was created.
tapeCreatedDate
- The date the virtual tape was created.public void setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.
tapeSizeInBytes
- The size, in bytes, of the archived virtual tape.public Long getTapeSizeInBytes()
The size, in bytes, of the archived virtual tape.
public TapeArchive withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.
tapeSizeInBytes
- The size, in bytes, of the archived virtual tape.public void setCompletionTime(Date 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.
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.
public Date getCompletionTime()
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.
The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
public TapeArchive withCompletionTime(Date 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.
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.
public void setRetrievedTo(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).
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).
public String getRetrievedTo()
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).
The virtual tape is retrieved from the virtual tape shelf (VTS).
public TapeArchive withRetrievedTo(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).
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).
public void setTapeStatus(String tapeStatus)
The current state of the archived virtual tape.
tapeStatus
- The current state of the archived virtual tape.public String getTapeStatus()
The current state of the archived virtual tape.
public TapeArchive withTapeStatus(String tapeStatus)
The current state of the archived virtual tape.
tapeStatus
- The current state of the archived virtual tape.public void setTapeUsedInBytes(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.
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.
public Long getTapeUsedInBytes()
The size, in bytes, of data stored on the virtual tape.
This value is not available for tapes created prior to May 13, 2015.
This value is not available for tapes created prior to May 13, 2015.
public TapeArchive withTapeUsedInBytes(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.
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.
public void setKMSKey(String kMSKey)
kMSKey
- public String getKMSKey()
public TapeArchive withKMSKey(String kMSKey)
kMSKey
- public void setPoolId(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.
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.public String getPoolId()
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.
public TapeArchive withPoolId(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.
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.public void setWorm(Boolean worm)
Set to true
if the archived tape is stored as write-once-read-many (WORM).
worm
- Set to true
if the archived tape is stored as write-once-read-many (WORM).public Boolean getWorm()
Set to true
if the archived tape is stored as write-once-read-many (WORM).
true
if the archived tape is stored as write-once-read-many (WORM).public TapeArchive withWorm(Boolean worm)
Set to true
if the archived tape is stored as write-once-read-many (WORM).
worm
- Set to true
if the archived tape is stored as write-once-read-many (WORM).public Boolean isWorm()
Set to true
if the archived tape is stored as write-once-read-many (WORM).
true
if the archived tape is stored as write-once-read-many (WORM).public void setRetentionStartDate(Date retentionStartDate)
If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.
retentionStartDate
- If the archived tape is subject to tape retention lock, the date that the archived tape started being
retained.public Date getRetentionStartDate()
If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.
public TapeArchive withRetentionStartDate(Date retentionStartDate)
If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.
retentionStartDate
- If the archived tape is subject to tape retention lock, the date that the archived tape started being
retained.public void setPoolEntryDate(Date 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.
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.
public Date getPoolEntryDate()
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.
The default timestamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
public TapeArchive withPoolEntryDate(Date 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.
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.
public String toString()
toString
in class Object
Object.toString()
public TapeArchive clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.