public class Tape
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a virtual tape object.
Modifier and Type | Field and Description |
---|---|
private java.lang.Double |
progress
For archiving virtual tapes, indicates how much data remains to be
uploaded before archiving is complete.
|
private java.lang.String |
tapeARN
The Amazon Resource Name (ARN) of the virtual tape.
|
private java.lang.String |
tapeBarcode
The barcode that identifies a specific virtual tape.
|
private java.lang.Long |
tapeSizeInBytes
The size, in bytes, of the virtual tape.
|
private java.lang.String |
tapeStatus
The current state of the virtual tape.
|
private java.lang.String |
vTLDevice
The virtual tape library (VTL) device that the virtual tape is associated
with.
|
Constructor and Description |
---|
Tape() |
Modifier and Type | Method and Description |
---|---|
Tape |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getProgress()
For archiving virtual tapes, indicates how much data remains to be
uploaded before archiving is complete.
|
java.lang.String |
getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape.
|
java.lang.String |
getTapeBarcode()
The barcode that identifies a specific virtual tape.
|
java.lang.Long |
getTapeSizeInBytes()
The size, in bytes, of the virtual tape.
|
java.lang.String |
getTapeStatus()
The current state of the virtual tape.
|
java.lang.String |
getVTLDevice()
The virtual tape library (VTL) device that the virtual tape is associated
with.
|
int |
hashCode() |
void |
setProgress(java.lang.Double progress)
For archiving virtual tapes, indicates how much data remains to be
uploaded before archiving is complete.
|
void |
setTapeARN(java.lang.String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.
|
void |
setTapeBarcode(java.lang.String tapeBarcode)
The barcode that identifies a specific virtual tape.
|
void |
setTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of the virtual tape.
|
void |
setTapeStatus(java.lang.String tapeStatus)
The current state of the virtual tape.
|
void |
setVTLDevice(java.lang.String vTLDevice)
The virtual tape library (VTL) device that the virtual tape is associated
with.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Tape |
withProgress(java.lang.Double progress)
For archiving virtual tapes, indicates how much data remains to be
uploaded before archiving is complete.
|
Tape |
withTapeARN(java.lang.String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.
|
Tape |
withTapeBarcode(java.lang.String tapeBarcode)
The barcode that identifies a specific virtual tape.
|
Tape |
withTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of the virtual tape.
|
Tape |
withTapeStatus(java.lang.String tapeStatus)
The current state of the virtual tape.
|
Tape |
withVTLDevice(java.lang.String vTLDevice)
The virtual tape library (VTL) device that the virtual tape is associated
with.
|
private java.lang.String tapeARN
The Amazon Resource Name (ARN) of the virtual tape.
private java.lang.String tapeBarcode
The barcode that identifies a specific virtual tape.
private java.lang.Long tapeSizeInBytes
The size, in bytes, of the virtual tape.
private java.lang.String tapeStatus
The current state of the virtual tape.
private java.lang.String vTLDevice
The virtual tape library (VTL) device that the virtual tape is associated with.
private java.lang.Double progress
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
public void setTapeARN(java.lang.String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.
tapeARN
- The Amazon Resource Name (ARN) of the virtual tape.public java.lang.String getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape.
public Tape withTapeARN(java.lang.String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.
tapeARN
- The Amazon Resource Name (ARN) of the virtual tape.public void setTapeBarcode(java.lang.String tapeBarcode)
The barcode that identifies a specific virtual tape.
tapeBarcode
- The barcode that identifies a specific virtual tape.public java.lang.String getTapeBarcode()
The barcode that identifies a specific virtual tape.
public Tape withTapeBarcode(java.lang.String tapeBarcode)
The barcode that identifies a specific virtual tape.
tapeBarcode
- The barcode that identifies a specific virtual tape.public void setTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of the virtual tape.
tapeSizeInBytes
- The size, in bytes, of the virtual tape.public java.lang.Long getTapeSizeInBytes()
The size, in bytes, of the virtual tape.
public Tape withTapeSizeInBytes(java.lang.Long tapeSizeInBytes)
The size, in bytes, of the virtual tape.
tapeSizeInBytes
- The size, in bytes, of the virtual tape.public void setTapeStatus(java.lang.String tapeStatus)
The current state of the virtual tape.
tapeStatus
- The current state of the virtual tape.public java.lang.String getTapeStatus()
The current state of the virtual tape.
public Tape withTapeStatus(java.lang.String tapeStatus)
The current state of the virtual tape.
tapeStatus
- The current state of the virtual tape.public void setVTLDevice(java.lang.String vTLDevice)
The virtual tape library (VTL) device that the virtual tape is associated with.
vTLDevice
- The virtual tape library (VTL) device that the virtual tape is
associated with.public java.lang.String getVTLDevice()
The virtual tape library (VTL) device that the virtual tape is associated with.
public Tape withVTLDevice(java.lang.String vTLDevice)
The virtual tape library (VTL) device that the virtual tape is associated with.
vTLDevice
- The virtual tape library (VTL) device that the virtual tape is
associated with.public void setProgress(java.lang.Double progress)
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
progress
- For archiving virtual tapes, indicates how much data remains to be
uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
public java.lang.Double getProgress()
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
Range: 0 (not started) to 100 (complete).
public Tape withProgress(java.lang.Double progress)
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
progress
- For archiving virtual tapes, indicates how much data remains to be
uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
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 Tape clone()
clone
in class java.lang.Object