Class Tape
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a virtual tape object.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
For 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.int
hashCode()
void
setProgress
(Double progress) For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.void
setTapeARN
(String tapeARN) The Amazon Resource Name (ARN) of the virtual tape.void
setTapeBarcode
(String tapeBarcode) The barcode that identifies a specific virtual tape.void
setTapeSizeInBytes
(Long tapeSizeInBytes) The size, in bytes, of the virtual tape.void
setTapeStatus
(String tapeStatus) The current state of the virtual tape.void
setVTLDevice
(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
The Amazon Resource Name (ARN) of the virtual tape.
- Parameters:
tapeARN
- The Amazon Resource Name (ARN) of the virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The barcode that identifies a specific virtual tape.
- Parameters:
tapeBarcode
- The barcode that identifies a specific virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The size, in bytes, of the virtual tape.
- Parameters:
tapeSizeInBytes
- The size, in bytes, of the virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The current state of the virtual tape.
- Parameters:
tapeStatus
- The current state of the virtual tape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-