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

public class TapeInfo extends Object implements Serializable, Cloneable

Describes a virtual tape.

See Also:
  • Constructor Details

    • TapeInfo

      public TapeInfo()
  • Method Details

    • setTapeARN

      public void setTapeARN(String tapeARN)

      The Amazon Resource Name (ARN) of a virtual tape.

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

      public String getTapeARN()

      The Amazon Resource Name (ARN) of a virtual tape.

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

      public TapeInfo withTapeARN(String tapeARN)

      The Amazon Resource Name (ARN) of a virtual tape.

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

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

      public Long getTapeSizeInBytes()

      The size, in bytes, of a virtual tape.

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

      public TapeInfo withTapeSizeInBytes(Long tapeSizeInBytes)

      The size, in bytes, of a virtual tape.

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

      public void setTapeStatus(String tapeStatus)

      The status of the tape.

      Parameters:
      tapeStatus - The status of the tape.
    • getTapeStatus

      public String getTapeStatus()

      The status of the tape.

      Returns:
      The status of the tape.
    • withTapeStatus

      public TapeInfo withTapeStatus(String tapeStatus)

      The status of the tape.

      Parameters:
      tapeStatus - The status of the tape.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setGatewayARN

      public void setGatewayARN(String gatewayARN)

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

      Parameters:
      gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.
    • getGatewayARN

      public String getGatewayARN()

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

      Returns:
      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.
    • withGatewayARN

      public TapeInfo withGatewayARN(String gatewayARN)

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

      Parameters:
      gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.
      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 TapeInfo clone()
      Overrides:
      clone in class Object