Class AutomaticTapeCreationRule

    • Method Detail

      • tapeBarcodePrefix

        public final String tapeBarcodePrefix()

        A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

        The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

        Returns:
        A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

        The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

      • poolId

        public final String poolId()

        The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

        Returns:
        The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
      • tapeSizeInBytes

        public final Long tapeSizeInBytes()

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

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

        public final Integer minimumNumTapes()

        The minimum number of available virtual tapes that the gateway maintains at all times. If the number of tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have MinimumNumTapes on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.

        Returns:
        The minimum number of available virtual tapes that the gateway maintains at all times. If the number of tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have MinimumNumTapes on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.
      • worm

        public final Boolean worm()

        Set to true to indicate that tapes are to be archived as write-once-read-many (WORM). Set to false when WORM is not enabled for tapes.

        Returns:
        Set to true to indicate that tapes are to be archived as write-once-read-many (WORM). Set to false when WORM is not enabled for tapes.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)