|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.storagegateway.model.Tape
public class Tape
Describes a virtual tape object.
Constructor Summary | |
---|---|
Tape()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Tape()
Method Detail |
---|
public String getTapeARN()
Constraints:
Length: 50 - 500
public void setTapeARN(String tapeARN)
Constraints:
Length: 50 - 500
tapeARN
- The Amazon Resource Name (ARN) of the virtual tape.public Tape withTapeARN(String tapeARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
tapeARN
- The Amazon Resource Name (ARN) of the virtual tape.
public String getTapeBarcode()
Constraints:
Length: 8 - 16
Pattern: ^[A-Z0-9]*$
public void setTapeBarcode(String tapeBarcode)
Constraints:
Length: 8 - 16
Pattern: ^[A-Z0-9]*$
tapeBarcode
- The barcode that identifies a specific virtual tape.public Tape withTapeBarcode(String tapeBarcode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 8 - 16
Pattern: ^[A-Z0-9]*$
tapeBarcode
- The barcode that identifies a specific virtual tape.
public Long getTapeSizeInBytes()
Constraints:
Range: 107374182400 - 2748779069440
public void setTapeSizeInBytes(Long tapeSizeInBytes)
Constraints:
Range: 107374182400 - 2748779069440
tapeSizeInBytes
- The size, in bytes, of the virtual tape.public Tape withTapeSizeInBytes(Long tapeSizeInBytes)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 107374182400 - 2748779069440
tapeSizeInBytes
- The size, in bytes, of the virtual tape.
public String getTapeStatus()
public void setTapeStatus(String tapeStatus)
tapeStatus
- The current state of the virtual tape.public Tape withTapeStatus(String tapeStatus)
Returns a reference to this object so that method calls can be chained together.
tapeStatus
- The current state of the virtual tape.
public String getVTLDevice()
Constraints:
Length: 50 - 500
public void setVTLDevice(String vTLDevice)
Constraints:
Length: 50 - 500
vTLDevice
- The Virtual Tape Library (VTL) device that the virtual tape is
associated with.public Tape withVTLDevice(String vTLDevice)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
vTLDevice
- The Virtual Tape Library (VTL) device that the virtual tape is
associated with.
public Double getProgress()
Range: 0 (not started) to 100 (complete).
Range: 0 (not started) to 100 (complete).
public void setProgress(Double progress)
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 Tape withProgress(Double progress)
Range: 0 (not started) to 100 (complete).
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |