/*
* 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 an EFS file system access point.
///
public partial class CreateAccessPointResponse : AmazonWebServiceResponse
{
private string _accessPointArn;
private string _accessPointId;
private string _clientToken;
private string _fileSystemId;
private LifeCycleState _lifeCycleState;
private string _name;
private string _ownerId;
private PosixUser _posixUser;
private RootDirectory _rootDirectory;
private List _tags = new List();
///
/// Gets and sets the property AccessPointArn.
///
/// The unique Amazon Resource Name (ARN) associated with the access point.
///
///
[AWSProperty(Max=128)]
public string AccessPointArn
{
get { return this._accessPointArn; }
set { this._accessPointArn = value; }
}
// Check to see if AccessPointArn property is set
internal bool IsSetAccessPointArn()
{
return this._accessPointArn != null;
}
///
/// Gets and sets the property AccessPointId.
///
/// The ID of the access point, assigned by Amazon EFS.
///
///
[AWSProperty(Max=128)]
public string AccessPointId
{
get { return this._accessPointId; }
set { this._accessPointId = value; }
}
// Check to see if AccessPointId property is set
internal bool IsSetAccessPointId()
{
return this._accessPointId != null;
}
///
/// Gets and sets the property ClientToken.
///
/// The opaque string specified in the request to ensure idempotent creation.
///
///
[AWSProperty(Min=1, Max=64)]
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
///
/// Gets and sets the property FileSystemId.
///
/// The ID of the EFS file system that the access point applies to.
///
///
[AWSProperty(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 LifeCycleState.
///
/// Identifies the lifecycle phase of the access point.
///
///
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 Name.
///
/// The name of the access point. This is the value of the Name
tag.
///
///
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 OwnerId.
///
/// Identifies the Amazon Web Services account that owns the access point 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 PosixUser.
///
/// The full POSIX identity, including the user ID, group ID, and secondary group IDs
/// on the access point that is used for all file operations by NFS clients using the
/// access point.
///
///
public PosixUser PosixUser
{
get { return this._posixUser; }
set { this._posixUser = value; }
}
// Check to see if PosixUser property is set
internal bool IsSetPosixUser()
{
return this._posixUser != null;
}
///
/// Gets and sets the property RootDirectory.
///
/// The directory on the Amazon EFS file system that the access point exposes as the root
/// directory to NFS clients using the access point.
///
///
public RootDirectory RootDirectory
{
get { return this._rootDirectory; }
set { this._rootDirectory = value; }
}
// Check to see if RootDirectory property is set
internal bool IsSetRootDirectory()
{
return this._rootDirectory != null;
}
///
/// Gets and sets the property Tags.
///
/// The tags associated with the access point, presented as an array of Tag objects.
///
///
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}