Class Tape
- All Implemented Interfaces:
Serializable, Cloneable
Describes a virtual tape object.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanFor archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.The Amazon Resource Name (ARN) of the virtual tape.The barcode that identifies a specific virtual tape.The size, in bytes, of the virtual tape.The current state of the virtual tape.The virtual tape library (VTL) device that the virtual tape is associated with.inthashCode()voidsetProgress(Double progress) For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.voidsetTapeARN(String tapeARN) The Amazon Resource Name (ARN) of the virtual tape.voidsetTapeBarcode(String tapeBarcode) The barcode that identifies a specific virtual tape.voidsetTapeSizeInBytes(Long tapeSizeInBytes) The size, in bytes, of the virtual tape.voidsetTapeStatus(String tapeStatus) The current state of the virtual tape.voidsetVTLDevice(String vTLDevice) The virtual tape library (VTL) device that the virtual tape is associated with.toString()Returns a string representation of this object; useful for testing and debugging.withProgress(Double progress) For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.withTapeARN(String tapeARN) The Amazon Resource Name (ARN) of the virtual tape.withTapeBarcode(String tapeBarcode) The barcode that identifies a specific virtual tape.withTapeSizeInBytes(Long tapeSizeInBytes) The size, in bytes, of the virtual tape.withTapeStatus(String tapeStatus) The current state of the virtual tape.withVTLDevice(String vTLDevice) The virtual tape library (VTL) device that the virtual tape is associated with.
-
Constructor Details
-
Tape
public Tape()
-
-
Method Details
-
setTapeARN
The Amazon Resource Name (ARN) of the virtual tape.
- Parameters:
tapeARN- The Amazon Resource Name (ARN) of the virtual tape.
-
getTapeARN
The Amazon Resource Name (ARN) of the virtual tape.
- Returns:
- The Amazon Resource Name (ARN) of the virtual tape.
-
withTapeARN
-
setTapeBarcode
The barcode that identifies a specific virtual tape.
- Parameters:
tapeBarcode- The barcode that identifies a specific virtual tape.
-
getTapeBarcode
The barcode that identifies a specific virtual tape.
- Returns:
- The barcode that identifies a specific virtual tape.
-
withTapeBarcode
-
setTapeSizeInBytes
The size, in bytes, of the virtual tape.
- Parameters:
tapeSizeInBytes- The size, in bytes, of the virtual tape.
-
getTapeSizeInBytes
The size, in bytes, of the virtual tape.
- Returns:
- The size, in bytes, of the virtual tape.
-
withTapeSizeInBytes
-
setTapeStatus
The current state of the virtual tape.
- Parameters:
tapeStatus- The current state of the virtual tape.
-
getTapeStatus
The current state of the virtual tape.
- Returns:
- The current state of the virtual tape.
-
withTapeStatus
-
setVTLDevice
The virtual tape library (VTL) device that the virtual tape is associated with.
- Parameters:
vTLDevice- The virtual tape library (VTL) device that the virtual tape is associated with.
-
getVTLDevice
The virtual tape library (VTL) device that the virtual tape is associated with.
- Returns:
- The virtual tape library (VTL) device that the virtual tape is associated with.
-
withVTLDevice
The virtual tape library (VTL) device that the virtual tape is associated with.
- Parameters:
vTLDevice- The virtual tape library (VTL) device that the virtual tape is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setProgress
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
- Parameters:
progress- For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.Range: 0 (not started) to 100 (complete).
-
getProgress
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
- Returns:
- For archiving virtual tapes, indicates how much data remains to
be uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
-
withProgress
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.
Range: 0 (not started) to 100 (complete).
- Parameters:
progress- For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.Range: 0 (not started) to 100 (complete).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-