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 Tape
clone()
boolean
equals(Object obj)
Double
getProgress()
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.String
getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape.String
getTapeBarcode()
The barcode that identifies a specific virtual tape.Long
getTapeSizeInBytes()
The size, in bytes, of the virtual tape.String
getTapeStatus()
The current state of the virtual tape.String
getVTLDevice()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.Tape
withProgress(Double progress)
For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.Tape
withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.Tape
withTapeBarcode(String tapeBarcode)
The barcode that identifies a specific virtual tape.Tape
withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape.Tape
withTapeStatus(String tapeStatus)
The current state of the virtual tape.Tape
withVTLDevice(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-