com.amazonaws.services.storagegateway.model
Class Tape

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.Tape
All Implemented Interfaces:
Serializable

public class Tape
extends Object
implements Serializable

Describes a virtual tape object.

See Also:
Serialized Form

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

Tape

public Tape()
Method Detail

getTapeARN

public String getTapeARN()
The Amazon Resource Name (ARN) of the virtual tape.

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of the virtual tape.

setTapeARN

public void setTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.

Constraints:
Length: 50 - 500

Parameters:
tapeARN - The Amazon Resource Name (ARN) of the virtual tape.

withTapeARN

public Tape withTapeARN(String tapeARN)
The Amazon Resource Name (ARN) of the virtual tape.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 500

Parameters:
tapeARN - The Amazon Resource Name (ARN) of the virtual tape.
Returns:
A reference to this updated object so that method calls can be chained together.

getTapeBarcode

public String getTapeBarcode()
The barcode that identifies a specific virtual tape.

Constraints:
Length: 8 - 16
Pattern: ^[A-Z0-9]*$

Returns:
The barcode that identifies a specific virtual tape.

setTapeBarcode

public void setTapeBarcode(String tapeBarcode)
The barcode that identifies a specific virtual tape.

Constraints:
Length: 8 - 16
Pattern: ^[A-Z0-9]*$

Parameters:
tapeBarcode - The barcode that identifies a specific virtual tape.

withTapeBarcode

public Tape withTapeBarcode(String tapeBarcode)
The barcode that identifies a specific virtual tape.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 8 - 16
Pattern: ^[A-Z0-9]*$

Parameters:
tapeBarcode - The barcode that identifies a specific virtual tape.
Returns:
A reference to this updated object so that method calls can be chained together.

getTapeSizeInBytes

public Long getTapeSizeInBytes()
The size, in bytes, of the virtual tape.

Constraints:
Range: 107374182400 - 2748779069440

Returns:
The size, in bytes, of the virtual tape.

setTapeSizeInBytes

public void setTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape.

Constraints:
Range: 107374182400 - 2748779069440

Parameters:
tapeSizeInBytes - The size, in bytes, of the virtual tape.

withTapeSizeInBytes

public Tape withTapeSizeInBytes(Long tapeSizeInBytes)
The size, in bytes, of the virtual tape.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 107374182400 - 2748779069440

Parameters:
tapeSizeInBytes - The size, in bytes, of the virtual tape.
Returns:
A reference to this updated object so that method calls can be chained together.

getTapeStatus

public String getTapeStatus()
The current state of the virtual tape.

Returns:
The current state of the virtual tape.

setTapeStatus

public void setTapeStatus(String tapeStatus)
The current state of the virtual tape.

Parameters:
tapeStatus - The current state of the virtual tape.

withTapeStatus

public Tape withTapeStatus(String tapeStatus)
The current state of the virtual tape.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tapeStatus - The current state of the virtual tape.
Returns:
A reference to this updated object so that method calls can be chained together.

getVTLDevice

public String getVTLDevice()
The Virtual Tape Library (VTL) device that the virtual tape is associated with.

Constraints:
Length: 50 - 500

Returns:
The Virtual Tape Library (VTL) device that the virtual tape is associated with.

setVTLDevice

public void setVTLDevice(String vTLDevice)
The Virtual Tape Library (VTL) device that the virtual tape is associated with.

Constraints:
Length: 50 - 500

Parameters:
vTLDevice - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 500

Parameters:
vTLDevice - The Virtual Tape Library (VTL) device that the virtual tape is associated with.
Returns:
A reference to this updated object so that method calls can be chained together.

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).


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).


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).

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.