/* * Copyright 2010-2014 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 dynamodb-2012-08-10.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.DynamoDBv2.Model { /// /// Contains the details of the backup created for the table. /// public partial class BackupDetails { private string _backupArn; private DateTime? _backupCreationDateTime; private DateTime? _backupExpiryDateTime; private string _backupName; private long? _backupSizeBytes; private BackupStatus _backupStatus; private BackupType _backupType; /// /// Gets and sets the property BackupArn. /// /// ARN associated with the backup. /// /// [AWSProperty(Required=true, Min=37, Max=1024)] public string BackupArn { get { return this._backupArn; } set { this._backupArn = value; } } // Check to see if BackupArn property is set internal bool IsSetBackupArn() { return this._backupArn != null; } /// /// Gets and sets the property BackupCreationDateTime. /// /// Time at which the backup was created. This is the request time of the backup. /// /// [AWSProperty(Required=true)] public DateTime BackupCreationDateTime { get { return this._backupCreationDateTime.GetValueOrDefault(); } set { this._backupCreationDateTime = value; } } // Check to see if BackupCreationDateTime property is set internal bool IsSetBackupCreationDateTime() { return this._backupCreationDateTime.HasValue; } /// /// Gets and sets the property BackupExpiryDateTime. /// /// Time at which the automatic on-demand backup created by DynamoDB will expire. This /// SYSTEM on-demand backup expires automatically 35 days after its creation. /// /// public DateTime BackupExpiryDateTime { get { return this._backupExpiryDateTime.GetValueOrDefault(); } set { this._backupExpiryDateTime = value; } } // Check to see if BackupExpiryDateTime property is set internal bool IsSetBackupExpiryDateTime() { return this._backupExpiryDateTime.HasValue; } /// /// Gets and sets the property BackupName. /// /// Name of the requested backup. /// /// [AWSProperty(Required=true, Min=3, Max=255)] public string BackupName { get { return this._backupName; } set { this._backupName = value; } } // Check to see if BackupName property is set internal bool IsSetBackupName() { return this._backupName != null; } /// /// Gets and sets the property BackupSizeBytes. /// /// Size of the backup in bytes. /// /// [AWSProperty(Min=0)] public long BackupSizeBytes { get { return this._backupSizeBytes.GetValueOrDefault(); } set { this._backupSizeBytes = value; } } // Check to see if BackupSizeBytes property is set internal bool IsSetBackupSizeBytes() { return this._backupSizeBytes.HasValue; } /// /// Gets and sets the property BackupStatus. /// /// Backup can be in one of the following states: CREATING, ACTIVE, DELETED. /// /// [AWSProperty(Required=true)] public BackupStatus BackupStatus { get { return this._backupStatus; } set { this._backupStatus = value; } } // Check to see if BackupStatus property is set internal bool IsSetBackupStatus() { return this._backupStatus != null; } /// /// Gets and sets the property BackupType. /// /// BackupType: /// /// /// [AWSProperty(Required=true)] public BackupType BackupType { get { return this._backupType; } set { this._backupType = value; } } // Check to see if BackupType property is set internal bool IsSetBackupType() { return this._backupType != null; } } }