/*
* 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 memorydb-2021-01-01.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.MemoryDB.Model
{
///
/// Represents a copy of an entire cluster as of the time when the snapshot was taken.
///
public partial class Snapshot
{
private string _arn;
private ClusterConfiguration _clusterConfiguration;
private DataTieringStatus _dataTiering;
private string _kmsKeyId;
private string _name;
private string _source;
private string _status;
///
/// Gets and sets the property ARN.
///
/// The ARN (Amazon Resource Name) of the snapshot.
///
///
public string ARN
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if ARN property is set
internal bool IsSetARN()
{
return this._arn != null;
}
///
/// Gets and sets the property ClusterConfiguration.
///
/// The configuration of the cluster from which the snapshot was taken
///
///
public ClusterConfiguration ClusterConfiguration
{
get { return this._clusterConfiguration; }
set { this._clusterConfiguration = value; }
}
// Check to see if ClusterConfiguration property is set
internal bool IsSetClusterConfiguration()
{
return this._clusterConfiguration != null;
}
///
/// Gets and sets the property DataTiering.
///
/// Enables data tiering. Data tiering is only supported for clusters using the r6gd node
/// type. This parameter must be set when using r6gd nodes. For more information, see
/// Data
/// tiering.
///
///
public DataTieringStatus DataTiering
{
get { return this._dataTiering; }
set { this._dataTiering = value; }
}
// Check to see if DataTiering property is set
internal bool IsSetDataTiering()
{
return this._dataTiering != null;
}
///
/// Gets and sets the property KmsKeyId.
///
/// The ID of the KMS key used to encrypt the snapshot.
///
///
public string KmsKeyId
{
get { return this._kmsKeyId; }
set { this._kmsKeyId = value; }
}
// Check to see if KmsKeyId property is set
internal bool IsSetKmsKeyId()
{
return this._kmsKeyId != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the snapshot
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Source.
///
/// Indicates whether the snapshot is from an automatic backup (automated) or was created
/// manually (manual).
///
///
public string Source
{
get { return this._source; }
set { this._source = value; }
}
// Check to see if Source property is set
internal bool IsSetSource()
{
return this._source != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the snapshot. Valid values: creating | available | restoring | copying
/// | deleting.
///
///
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}