/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the storagegateway-2013-06-30.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.StorageGateway.Model { /// /// Describes a virtual tape. /// public partial class TapeInfo { private string _gatewayARN; private DateTime? _poolEntryDate; private string _poolId; private DateTime? _retentionStartDate; private string _tapeARN; private string _tapeBarcode; private long? _tapeSizeInBytes; private string _tapeStatus; /// /// Gets and sets the property GatewayARN. /// /// The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation /// to return a list of gateways for your account and Amazon Web Services Region. /// /// [AWSProperty(Min=50, Max=500)] public string GatewayARN { get { return this._gatewayARN; } set { this._gatewayARN = value; } } // Check to see if GatewayARN property is set internal bool IsSetGatewayARN() { return this._gatewayARN != null; } /// /// Gets and sets the property PoolEntryDate. /// /// The date that the tape entered the custom tape pool with tape retention lock enabled. /// /// public DateTime PoolEntryDate { get { return this._poolEntryDate.GetValueOrDefault(); } set { this._poolEntryDate = value; } } // Check to see if PoolEntryDate property is set internal bool IsSetPoolEntryDate() { return this._poolEntryDate.HasValue; } /// /// Gets and sets the property 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 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. /// /// [AWSProperty(Min=1, Max=100)] public string PoolId { get { return this._poolId; } set { this._poolId = value; } } // Check to see if PoolId property is set internal bool IsSetPoolId() { return this._poolId != null; } /// /// Gets and sets the property RetentionStartDate. /// /// The date that the tape became subject to tape retention lock. /// /// public DateTime RetentionStartDate { get { return this._retentionStartDate.GetValueOrDefault(); } set { this._retentionStartDate = value; } } // Check to see if RetentionStartDate property is set internal bool IsSetRetentionStartDate() { return this._retentionStartDate.HasValue; } /// /// Gets and sets the property TapeARN. /// /// The Amazon Resource Name (ARN) of a virtual tape. /// /// [AWSProperty(Min=50, Max=500)] public string TapeARN { get { return this._tapeARN; } set { this._tapeARN = value; } } // Check to see if TapeARN property is set internal bool IsSetTapeARN() { return this._tapeARN != null; } /// /// Gets and sets the property TapeBarcode. /// /// The barcode that identifies a specific virtual tape. /// /// [AWSProperty(Min=5, Max=16)] public string TapeBarcode { get { return this._tapeBarcode; } set { this._tapeBarcode = value; } } // Check to see if TapeBarcode property is set internal bool IsSetTapeBarcode() { return this._tapeBarcode != null; } /// /// Gets and sets the property TapeSizeInBytes. /// /// The size, in bytes, of a virtual tape. /// /// public long TapeSizeInBytes { get { return this._tapeSizeInBytes.GetValueOrDefault(); } set { this._tapeSizeInBytes = value; } } // Check to see if TapeSizeInBytes property is set internal bool IsSetTapeSizeInBytes() { return this._tapeSizeInBytes.HasValue; } /// /// Gets and sets the property TapeStatus. /// /// The status of the tape. /// /// public string TapeStatus { get { return this._tapeStatus; } set { this._tapeStatus = value; } } // Check to see if TapeStatus property is set internal bool IsSetTapeStatus() { return this._tapeStatus != null; } } }