/*
* 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
{
///
/// Container for the parameters to the UpdateLocationAzureBlob operation.
/// Modifies some configurations of the Microsoft Azure Blob Storage transfer location
/// that you're using with DataSync.
///
public partial class UpdateLocationAzureBlobRequest : AmazonDataSyncRequest
{
private AzureAccessTier _accessTier;
private List _agentArns = new List();
private AzureBlobAuthenticationType _authenticationType;
private AzureBlobType _blobType;
private string _locationArn;
private AzureBlobSasConfiguration _sasConfiguration;
private string _subdirectory;
///
/// Gets and sets the property AccessTier.
///
/// Specifies 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.
///
/// Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with
/// your Azure Blob Storage container.
///
///
///
/// You can specify more than one agent. For more information, see Using
/// multiple agents for your transfer.
///
///
[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.
///
/// Specifies 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.
///
/// Specifies 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 LocationArn.
///
/// Specifies the ARN of the Azure Blob Storage transfer location that you're updating.
///
///
[AWSProperty(Required=true, 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 SasConfiguration.
///
/// Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.
///
///
public AzureBlobSasConfiguration SasConfiguration
{
get { return this._sasConfiguration; }
set { this._sasConfiguration = value; }
}
// Check to see if SasConfiguration property is set
internal bool IsSetSasConfiguration()
{
return this._sasConfiguration != null;
}
///
/// Gets and sets the property Subdirectory.
///
/// Specifies path segments if you want to limit your transfer to a virtual directory
/// in your container (for example, /my/images
).
///
///
[AWSProperty(Max=1024)]
public string Subdirectory
{
get { return this._subdirectory; }
set { this._subdirectory = value; }
}
// Check to see if Subdirectory property is set
internal bool IsSetSubdirectory()
{
return this._subdirectory != null;
}
}
}