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:
  • Constructor Details

    • Tape

      public Tape()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Tape clone()
      Overrides:
      clone in class Object