/* * 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 { /// /// Provides a description of a mount target. /// public partial class CreateMountTargetResponse : AmazonWebServiceResponse { private string _availabilityZoneId; private string _availabilityZoneName; private string _fileSystemId; private string _ipAddress; private LifeCycleState _lifeCycleState; private string _mountTargetId; private string _networkInterfaceId; private string _ownerId; private string _subnetId; private string _vpcId; /// /// Gets and sets the property AvailabilityZoneId. /// /// The unique and consistent identifier of the Availability Zone that the mount target /// resides in. For example, use1-az1 is an AZ ID for the us-east-1 Region /// and it has the same location in every Amazon Web Services account. /// /// public string AvailabilityZoneId { get { return this._availabilityZoneId; } set { this._availabilityZoneId = value; } } // Check to see if AvailabilityZoneId property is set internal bool IsSetAvailabilityZoneId() { return this._availabilityZoneId != null; } /// /// Gets and sets the property AvailabilityZoneName. /// /// The name of the Availability Zone in which the mount target is located. Availability /// Zones are independently mapped to names for each Amazon Web Services account. For /// example, the Availability Zone us-east-1a for your Amazon Web Services /// account might not be the same location as us-east-1a for another Amazon /// Web Services account. /// /// [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 FileSystemId. /// /// The ID of the file system for which the mount target is intended. /// /// [AWSProperty(Required=true, Max=128)] public string FileSystemId { get { return this._fileSystemId; } set { this._fileSystemId = value; } } // Check to see if FileSystemId property is set internal bool IsSetFileSystemId() { return this._fileSystemId != null; } /// /// Gets and sets the property IpAddress. /// /// Address at which the file system can be mounted by using the mount target. /// /// [AWSProperty(Min=7, Max=15)] public string IpAddress { get { return this._ipAddress; } set { this._ipAddress = value; } } // Check to see if IpAddress property is set internal bool IsSetIpAddress() { return this._ipAddress != null; } /// /// Gets and sets the property LifeCycleState. /// /// Lifecycle state of the mount target. /// /// [AWSProperty(Required=true)] public LifeCycleState LifeCycleState { get { return this._lifeCycleState; } set { this._lifeCycleState = value; } } // Check to see if LifeCycleState property is set internal bool IsSetLifeCycleState() { return this._lifeCycleState != null; } /// /// Gets and sets the property MountTargetId. /// /// System-assigned mount target ID. /// /// [AWSProperty(Required=true, Min=13, Max=45)] public string MountTargetId { get { return this._mountTargetId; } set { this._mountTargetId = value; } } // Check to see if MountTargetId property is set internal bool IsSetMountTargetId() { return this._mountTargetId != null; } /// /// Gets and sets the property NetworkInterfaceId. /// /// The ID of the network interface that Amazon EFS created when it created the mount /// target. /// /// public string NetworkInterfaceId { get { return this._networkInterfaceId; } set { this._networkInterfaceId = value; } } // Check to see if NetworkInterfaceId property is set internal bool IsSetNetworkInterfaceId() { return this._networkInterfaceId != null; } /// /// Gets and sets the property OwnerId. /// /// Amazon Web Services account ID that owns the resource. /// /// [AWSProperty(Max=14)] public string OwnerId { get { return this._ownerId; } set { this._ownerId = value; } } // Check to see if OwnerId property is set internal bool IsSetOwnerId() { return this._ownerId != null; } /// /// Gets and sets the property SubnetId. /// /// The ID of the mount target's subnet. /// /// [AWSProperty(Required=true, Min=15, Max=47)] public string SubnetId { get { return this._subnetId; } set { this._subnetId = value; } } // Check to see if SubnetId property is set internal bool IsSetSubnetId() { return this._subnetId != null; } /// /// Gets and sets the property VpcId. /// /// The virtual private cloud (VPC) ID that the mount target is configured in. /// /// public string VpcId { get { return this._vpcId; } set { this._vpcId = value; } } // Check to see if VpcId property is set internal bool IsSetVpcId() { return this._vpcId != null; } } }