public class TapeArchive
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents a virtual tape that is archived in the virtual tape shelf (VTS).
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
completionTime
The time that the archiving of the virtual tape was completed.
|
private java.lang.String |
retrievedTo
The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape
is being retrieved to.
|
private java.lang.String |
tapeARN
The Amazon Resource Name (ARN) of an archived virtual tape.
|
private java.lang.String |
tapeBarcode
The barcode that identifies the archived virtual tape.
|
private java.lang.Long |
tapeSizeInBytes
The size, in bytes, of the archived virtual tape.
|
private java.lang.String |
tapeStatus
The current state of the archived virtual tape.
|
Constructor and Description |
---|
TapeArchive() |
Modifier and Type | Method and Description |
---|---|
TapeArchive |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCompletionTime()
The time that the archiving of the virtual tape was completed.
|
java.lang.String |
getRetrievedTo()
The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape
is being retrieved to.
|
java.lang.String |
getTapeARN()
The Amazon Resource Name (ARN) of an archived virtual tape.
|
java.lang.String |
getTapeBarcode()
The barcode that identifies the archived virtual tape.
|
java.lang.Long |
getTapeSizeInBytes()
The size, in bytes, of the archived virtual tape.
|
java.lang.String |
getTapeStatus()
The current state of the archived virtual tape.
|
int |
hashCode() |
void |
setCompletionTime(java.util.Date completionTime)
The time that the archiving of the virtual tape was completed.
|
void |
setRetrievedTo(java.lang.String retrievedTo)
The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape
is being retrieved to.
|
void |
setTapeARN(java.lang.String tapeARN)
The Amazon Resource Name (ARN) of an archived virtual tape.
|
void |
setTapeBarcode(java.lang.String tapeBarcode)
The barcode that identifies the archived virtual tape.
|
void |
setTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.
|
void |
setTapeStatus(java.lang.String tapeStatus)
The current state of the archived virtual tape.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TapeArchive |
withCompletionTime(java.util.Date completionTime)
The time that the archiving of the virtual tape was completed.
|
TapeArchive |
withRetrievedTo(java.lang.String retrievedTo)
The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape
is being retrieved to.
|
TapeArchive |
withTapeARN(java.lang.String tapeARN)
The Amazon Resource Name (ARN) of an archived virtual tape.
|
TapeArchive |
withTapeBarcode(java.lang.String tapeBarcode)
The barcode that identifies the archived virtual tape.
|
TapeArchive |
withTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.
|
TapeArchive |
withTapeStatus(java.lang.String tapeStatus)
The current state of the archived virtual tape.
|
private java.lang.String tapeARN
The Amazon Resource Name (ARN) of an archived virtual tape.
private java.lang.String tapeBarcode
The barcode that identifies the archived virtual tape.
private java.lang.Long tapeSizeInBytes
The size, in bytes, of the archived virtual tape.
private java.util.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.
private java.lang.String retrievedTo
The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.
The virtual tape is retrieved from the virtual tape shelf (VTS).
private java.lang.String tapeStatus
The current state of the archived virtual tape.
public void setTapeARN(java.lang.String tapeARN)
The Amazon Resource Name (ARN) of an archived virtual tape.
tapeARN
- The Amazon Resource Name (ARN) of an archived virtual tape.public java.lang.String getTapeARN()
The Amazon Resource Name (ARN) of an archived virtual tape.
public TapeArchive withTapeARN(java.lang.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(java.lang.String tapeBarcode)
The barcode that identifies the archived virtual tape.
tapeBarcode
- The barcode that identifies the archived virtual tape.public java.lang.String getTapeBarcode()
The barcode that identifies the archived virtual tape.
public TapeArchive withTapeBarcode(java.lang.String tapeBarcode)
The barcode that identifies the archived virtual tape.
tapeBarcode
- The barcode that identifies the archived virtual tape.public void setTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.
tapeSizeInBytes
- The size, in bytes, of the archived virtual tape.public java.lang.Long getTapeSizeInBytes()
The size, in bytes, of the archived virtual tape.
public TapeArchive withTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of the archived virtual tape.
tapeSizeInBytes
- The size, in bytes, of the archived virtual tape.public void setCompletionTime(java.util.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 java.util.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(java.util.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(java.lang.String retrievedTo)
The Amazon Resource Name (ARN) of the gateway-VTL 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 gateway-VTL that the virtual
tape is being retrieved to.
The virtual tape is retrieved from the virtual tape shelf (VTS).
public java.lang.String getRetrievedTo()
The Amazon Resource Name (ARN) of the gateway-VTL 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(java.lang.String retrievedTo)
The Amazon Resource Name (ARN) of the gateway-VTL 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 gateway-VTL that the virtual
tape is being retrieved to.
The virtual tape is retrieved from the virtual tape shelf (VTS).
public void setTapeStatus(java.lang.String tapeStatus)
The current state of the archived virtual tape.
tapeStatus
- The current state of the archived virtual tape.public java.lang.String getTapeStatus()
The current state of the archived virtual tape.
public TapeArchive withTapeStatus(java.lang.String tapeStatus)
The current state of the archived virtual tape.
tapeStatus
- The current state of the archived virtual tape.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TapeArchive clone()
clone
in class java.lang.Object