@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 |
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() |
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 written to 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 |
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) |
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 written to the virtual tape.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TapeArchive |
withCompletionTime(Date completionTime)
The time that the archiving of the virtual tape was completed.
|
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) |
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 written to 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)
tapeCreatedDate
- public Date getTapeCreatedDate()
public TapeArchive withTapeCreatedDate(Date tapeCreatedDate)
tapeCreatedDate
- 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 string format of the completion time 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 string format of the completion time 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 string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
The string format of the completion time 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 string format of the completion time 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 string format of the completion time 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 written to the virtual tape.
This value is not available for tapes created prior to May 13, 2015.
tapeUsedInBytes
- The size, in bytes, of data written to 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 written to 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 written to the virtual tape.
This value is not available for tapes created prior to May 13, 2015.
tapeUsedInBytes
- The size, in bytes, of data written to the virtual tape. This value is not available for tapes created prior to May 13, 2015.
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.