@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() |
String |
getPoolId()
The ID of the pool that was used to archive the tape.
|
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.
|
int |
hashCode() |
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 |
setPoolId(String poolId)
The ID of the pool that was used to archive the tape.
|
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.
|
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 |
withPoolId(String poolId)
The ID of the pool that was used to archive the tape.
|
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.
|
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 time stamp 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 time stamp 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 time stamp format is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
The default time stamp 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 time stamp 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 time stamp 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.
Valid values: "GLACIER", "DEEP_ARCHIVE"
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.
Valid values: "GLACIER", "DEEP_ARCHIVE"
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.
Valid values: "GLACIER", "DEEP_ARCHIVE"
Valid values: "GLACIER", "DEEP_ARCHIVE"
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.
Valid values: "GLACIER", "DEEP_ARCHIVE"
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.
Valid values: "GLACIER", "DEEP_ARCHIVE"
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.