/*
* 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 s3control-2018-08-20.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.S3Control.Model
{
///
/// A container for the bucket where the Amazon S3 Storage Lens metrics export files are
/// located.
///
public partial class S3BucketDestination
{
private string _accountId;
private string _arn;
private StorageLensDataExportEncryption _encryption;
private Format _format;
private OutputSchemaVersion _outputSchemaVersion;
private string _prefix;
///
/// Gets and sets the property AccountId.
///
/// The account ID of the owner of the S3 Storage Lens metrics export bucket.
///
///
[AWSProperty(Required=true, Max=64)]
public string AccountId
{
get { return this._accountId; }
set { this._accountId = value; }
}
// Check to see if AccountId property is set
internal bool IsSetAccountId()
{
return this._accountId != null;
}
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows
/// the following format: arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
///
///
///
[AWSProperty(Required=true, Min=1, Max=128)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property Encryption.
///
/// The container for the type encryption of the metrics exports in this bucket.
///
///
public StorageLensDataExportEncryption Encryption
{
get { return this._encryption; }
set { this._encryption = value; }
}
// Check to see if Encryption property is set
internal bool IsSetEncryption()
{
return this._encryption != null;
}
///
/// Gets and sets the property Format.
///
[AWSProperty(Required=true)]
public Format Format
{
get { return this._format; }
set { this._format = value; }
}
// Check to see if Format property is set
internal bool IsSetFormat()
{
return this._format != null;
}
///
/// Gets and sets the property OutputSchemaVersion.
///
/// The schema version of the export file.
///
///
[AWSProperty(Required=true)]
public OutputSchemaVersion OutputSchemaVersion
{
get { return this._outputSchemaVersion; }
set { this._outputSchemaVersion = value; }
}
// Check to see if OutputSchemaVersion property is set
internal bool IsSetOutputSchemaVersion()
{
return this._outputSchemaVersion != null;
}
///
/// Gets and sets the property Prefix.
///
/// The prefix of the destination bucket where the metrics export will be delivered.
///
///
public string Prefix
{
get { return this._prefix; }
set { this._prefix = value; }
}
// Check to see if Prefix property is set
internal bool IsSetPrefix()
{
return this._prefix != null;
}
}
}