Class TapeArchive

java.lang.Object
com.amazonaws.services.storagegateway.model.TapeArchive
All Implemented Interfaces:
Serializable, Cloneable

public class TapeArchive extends Object implements Serializable, Cloneable

Represents a virtual tape that is archived in the virtual tape shelf (VTS).

See Also:
  • Constructor Details

    • TapeArchive

      public TapeArchive()
  • Method Details

    • setTapeARN

      public void setTapeARN(String tapeARN)

      The Amazon Resource Name (ARN) of an archived virtual tape.

      Parameters:
      tapeARN - The Amazon Resource Name (ARN) of an archived virtual tape.
    • getTapeARN

      public String getTapeARN()

      The Amazon Resource Name (ARN) of an archived virtual tape.

      Returns:
      The Amazon Resource Name (ARN) of an archived virtual tape.
    • withTapeARN

      public TapeArchive withTapeARN(String tapeARN)

      The Amazon Resource Name (ARN) of an archived virtual tape.

      Parameters:
      tapeARN - The Amazon Resource Name (ARN) of an archived 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 the archived virtual tape.

      Parameters:
      tapeBarcode - The barcode that identifies the archived virtual tape.
    • getTapeBarcode

      public String getTapeBarcode()

      The barcode that identifies the archived virtual tape.

      Returns:
      The barcode that identifies the archived virtual tape.
    • withTapeBarcode

      public TapeArchive withTapeBarcode(String tapeBarcode)

      The barcode that identifies the archived virtual tape.

      Parameters:
      tapeBarcode - The barcode that identifies the archived 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 archived virtual tape.

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

      public Long getTapeSizeInBytes()

      The size, in bytes, of the archived virtual tape.

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

      public TapeArchive withTapeSizeInBytes(Long tapeSizeInBytes)

      The size, in bytes, of the archived virtual tape.

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

      public void setCompletionTime(Date completionTime)

      The time that the archiving of the virtual tape was completed.

      The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

      Parameters:
      completionTime - The time that the archiving of the virtual tape was completed.

      The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

    • getCompletionTime

      public Date getCompletionTime()

      The time that the archiving of the virtual tape was completed.

      The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

      Returns:
      The time that the archiving of the virtual tape was completed.

      The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

    • withCompletionTime

      public TapeArchive withCompletionTime(Date completionTime)

      The time that the archiving of the virtual tape was completed.

      The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

      Parameters:
      completionTime - The time that the archiving of the virtual tape was completed.

      The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.

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

      public void setRetrievedTo(String retrievedTo)

      The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.

      The virtual tape is retrieved from the virtual tape shelf (VTS).

      Parameters:
      retrievedTo - The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.

      The virtual tape is retrieved from the virtual tape shelf (VTS).

    • getRetrievedTo

      public String getRetrievedTo()

      The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.

      The virtual tape is retrieved from the virtual tape shelf (VTS).

      Returns:
      The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.

      The virtual tape is retrieved from the virtual tape shelf (VTS).

    • withRetrievedTo

      public TapeArchive withRetrievedTo(String retrievedTo)

      The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.

      The virtual tape is retrieved from the virtual tape shelf (VTS).

      Parameters:
      retrievedTo - The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.

      The virtual tape is retrieved from the virtual tape shelf (VTS).

      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 archived virtual tape.

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

      public String getTapeStatus()

      The current state of the archived virtual tape.

      Returns:
      The current state of the archived virtual tape.
    • withTapeStatus

      public TapeArchive withTapeStatus(String tapeStatus)

      The current state of the archived virtual tape.

      Parameters:
      tapeStatus - The current state of the archived virtual tape.
      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 TapeArchive clone()
      Overrides:
      clone in class Object