/*
* 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 snowball-2016-06-30.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.Snowball.Model
{
///
/// Each S3Resource
object represents an Amazon S3 bucket that your transferred
/// data will be exported from or imported into. For export jobs, this object can have
/// an optional KeyRange
value. The length of the range is defined at job
/// creation, and has either an inclusive BeginMarker
, an inclusive EndMarker
,
/// or both. Ranges are UTF-8 binary sorted.
///
public partial class S3Resource
{
private string _bucketArn;
private KeyRange _keyRange;
private List _targetOnDeviceServices = new List();
///
/// Gets and sets the property BucketArn.
///
/// The Amazon Resource Name (ARN) of an Amazon S3 bucket.
///
///
[AWSProperty(Max=255)]
public string BucketArn
{
get { return this._bucketArn; }
set { this._bucketArn = value; }
}
// Check to see if BucketArn property is set
internal bool IsSetBucketArn()
{
return this._bucketArn != null;
}
///
/// Gets and sets the property KeyRange.
///
/// For export jobs, you can provide an optional KeyRange
within a specific
/// Amazon S3 bucket. The length of the range is defined at job creation, and has either
/// an inclusive BeginMarker
, an inclusive EndMarker
, or both.
/// Ranges are UTF-8 binary sorted.
///
///
public KeyRange KeyRange
{
get { return this._keyRange; }
set { this._keyRange = value; }
}
// Check to see if KeyRange property is set
internal bool IsSetKeyRange()
{
return this._keyRange != null;
}
///
/// Gets and sets the property TargetOnDeviceServices.
///
/// Specifies the service or services on the Snow Family device that your transferred
/// data will be exported from or imported into. Amazon Web Services Snow Family supports
/// Amazon S3 and NFS (Network File System).
///
///
public List TargetOnDeviceServices
{
get { return this._targetOnDeviceServices; }
set { this._targetOnDeviceServices = value; }
}
// Check to see if TargetOnDeviceServices property is set
internal bool IsSetTargetOnDeviceServices()
{
return this._targetOnDeviceServices != null && this._targetOnDeviceServices.Count > 0;
}
}
}