[][src]Struct rusoto_storagegateway::AutomaticTapeCreationRule

pub struct AutomaticTapeCreationRule {
    pub minimum_num_tapes: i64,
    pub pool_id: String,
    pub tape_barcode_prefix: String,
    pub tape_size_in_bytes: i64,
    pub worm: Option<bool>,
}

An automatic tape creation policy consists of automatic tape creation rules where each rule defines when and how to create new tapes. For more information about automatic tape creation, see Creating Tapes Automatically.

Fields

minimum_num_tapes: i64

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.

pool_id: String

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.

Valid Values: GLACIER | DEEP_ARCHIVE

tape_barcode_prefix: String

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.

tape_size_in_bytes: i64

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

worm: Option<bool>

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.

Trait Implementations

impl Clone for AutomaticTapeCreationRule[src]

impl Debug for AutomaticTapeCreationRule[src]

impl Default for AutomaticTapeCreationRule[src]

impl<'de> Deserialize<'de> for AutomaticTapeCreationRule[src]

impl PartialEq<AutomaticTapeCreationRule> for AutomaticTapeCreationRule[src]

impl Serialize for AutomaticTapeCreationRule[src]

impl StructuralPartialEq for AutomaticTapeCreationRule[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.