/*
* 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 datasync-2018-11-09.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.DataSync.Model
{
///
/// This is the response object from the DescribeLocationAzureBlob operation.
///
public partial class DescribeLocationAzureBlobResponse : AmazonWebServiceResponse
{
private AzureAccessTier _accessTier;
private List _agentArns = new List();
private AzureBlobAuthenticationType _authenticationType;
private AzureBlobType _blobType;
private DateTime? _creationTime;
private string _locationArn;
private string _locationUri;
///
/// Gets and sets the property AccessTier.
///
/// The access tier that you want your objects or files transferred into. This only applies
/// when using the location as a transfer destination. For more information, see Access
/// tiers.
///
///
public AzureAccessTier AccessTier
{
get { return this._accessTier; }
set { this._accessTier = value; }
}
// Check to see if AccessTier property is set
internal bool IsSetAccessTier()
{
return this._accessTier != null;
}
///
/// Gets and sets the property AgentArns.
///
/// The ARNs of the DataSync agents that can connect with your Azure Blob Storage container.
///
///
[AWSProperty(Min=1, Max=4)]
public List AgentArns
{
get { return this._agentArns; }
set { this._agentArns = value; }
}
// Check to see if AgentArns property is set
internal bool IsSetAgentArns()
{
return this._agentArns != null && this._agentArns.Count > 0;
}
///
/// Gets and sets the property AuthenticationType.
///
/// The authentication method DataSync uses to access your Azure Blob Storage. DataSync
/// can access blob storage using a shared access signature (SAS).
///
///
public AzureBlobAuthenticationType AuthenticationType
{
get { return this._authenticationType; }
set { this._authenticationType = value; }
}
// Check to see if AuthenticationType property is set
internal bool IsSetAuthenticationType()
{
return this._authenticationType != null;
}
///
/// Gets and sets the property BlobType.
///
/// The type of blob that you want your objects or files to be when transferring them
/// into Azure Blob Storage. Currently, DataSync only supports moving data into Azure
/// Blob Storage as block blobs. For more information on blob types, see the Azure
/// Blob Storage documentation.
///
///
public AzureBlobType BlobType
{
get { return this._blobType; }
set { this._blobType = value; }
}
// Check to see if BlobType property is set
internal bool IsSetBlobType()
{
return this._blobType != null;
}
///
/// Gets and sets the property CreationTime.
///
/// The time that your Azure Blob Storage transfer location was created.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property LocationArn.
///
/// The ARN of your Azure Blob Storage transfer location.
///
///
[AWSProperty(Max=128)]
public string LocationArn
{
get { return this._locationArn; }
set { this._locationArn = value; }
}
// Check to see if LocationArn property is set
internal bool IsSetLocationArn()
{
return this._locationArn != null;
}
///
/// Gets and sets the property LocationUri.
///
/// The URL of the Azure Blob Storage container involved in your transfer.
///
///
[AWSProperty(Max=4360)]
public string LocationUri
{
get { return this._locationUri; }
set { this._locationUri = value; }
}
// Check to see if LocationUri property is set
internal bool IsSetLocationUri()
{
return this._locationUri != null;
}
}
}