Class Tape
- java.lang.Object
-
- com.amazonaws.services.storagegateway.model.Tape
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Tape extends Object implements Serializable, Cloneable
Describes a virtual tape object.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Tape()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tapeclone()booleanequals(Object obj)DoublegetProgress()For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.StringgetTapeARN()The Amazon Resource Name (ARN) of the virtual tape.StringgetTapeBarcode()The barcode that identifies a specific virtual tape.LonggetTapeSizeInBytes()The size, in bytes, of the virtual tape.StringgetTapeStatus()The current state of the virtual tape.StringgetVTLDevice()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.StringtoString()Returns a string representation of this object; useful for testing and debugging.TapewithProgress(Double progress)For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.TapewithTapeARN(String tapeARN)The Amazon Resource Name (ARN) of the virtual tape.TapewithTapeBarcode(String tapeBarcode)The barcode that identifies a specific virtual tape.TapewithTapeSizeInBytes(Long tapeSizeInBytes)The size, in bytes, of the virtual tape.TapewithTapeStatus(String tapeStatus)The current state of the virtual tape.TapewithVTLDevice(String vTLDevice)The virtual tape library (VTL) device that the virtual tape is associated with.
-
-
-
Method Detail
-
setTapeARN
public void setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.
- Parameters:
tapeARN- The Amazon Resource Name (ARN) of the virtual tape.
-
getTapeARN
public String getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape.
- Returns:
- The Amazon Resource Name (ARN) of the virtual tape.
-
withTapeARN
public Tape withTapeARN(String tapeARN)
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
public void setTapeBarcode(String tapeBarcode)
The barcode that identifies a specific virtual tape.
- Parameters:
tapeBarcode- The barcode that identifies a specific virtual tape.
-
getTapeBarcode
public String getTapeBarcode()
The barcode that identifies a specific virtual tape.
- Returns:
- The barcode that identifies a specific virtual tape.
-
withTapeBarcode
public Tape withTapeBarcode(String tapeBarcode)
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
public void setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape.
- Parameters:
tapeSizeInBytes- The size, in bytes, of the virtual tape.
-
getTapeSizeInBytes
public Long getTapeSizeInBytes()
The size, in bytes, of the virtual tape.
- Returns:
- The size, in bytes, of the virtual tape.
-
withTapeSizeInBytes
public Tape withTapeSizeInBytes(Long tapeSizeInBytes)
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
public void setTapeStatus(String tapeStatus)
The current state of the virtual tape.
- Parameters:
tapeStatus- The current state of the virtual tape.
-
getTapeStatus
public String getTapeStatus()
The current state of the virtual tape.
- Returns:
- The current state of the virtual tape.
-
withTapeStatus
public Tape withTapeStatus(String tapeStatus)
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
public void setVTLDevice(String vTLDevice)
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
public String 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
public Tape withVTLDevice(String vTLDevice)
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
public void setProgress(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).
- 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
public 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).
- 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
public Tape withProgress(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).
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-