/* * 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 elasticfilesystem-2015-02-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.ElasticFileSystem.Model { /// /// Describes the destination file system to create in the replication configuration. /// public partial class DestinationToCreate { private string _availabilityZoneName; private string _kmsKeyId; private string _region; /// /// Gets and sets the property AvailabilityZoneName. /// /// To create a file system that uses EFS One Zone storage, specify the name of the Availability /// Zone in which to create the destination file system. /// /// [AWSProperty(Min=1, Max=64)] public string AvailabilityZoneName { get { return this._availabilityZoneName; } set { this._availabilityZoneName = value; } } // Check to see if AvailabilityZoneName property is set internal bool IsSetAvailabilityZoneName() { return this._availabilityZoneName != null; } /// /// Gets and sets the property KmsKeyId. /// /// Specifies the Key Management Service (KMS) key that you want to use to encrypt the /// destination file system. If you do not specify a KMS key, Amazon EFS uses your default /// KMS key for Amazon EFS, /aws/elasticfilesystem. This ID can be in one /// of the following formats: /// /// /// [AWSProperty(Max=2048)] 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 Region. /// /// To create a file system that uses Regional storage, specify the Amazon Web Services /// Region in which to create the destination file system. /// /// [AWSProperty(Min=1, Max=64)] public string Region { get { return this._region; } set { this._region = value; } } // Check to see if Region property is set internal bool IsSetRegion() { return this._region != null; } } }