/*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.S3.Model
{
///
/// Specifies whether Amazon S3 replicates delete markers.
/// If you specify a Filter
in your replication configuration,
/// you must also include a DeleteMarkerReplication
element.
/// If your Filter
includes a Tag
element,
/// the DeleteMarkerReplication
Status
must be set to Disabled,
/// because Amazon S3 does not support replicating delete markers for tag-based rules.
/// For an example configuration,
/// see Basic Rule Configuration.
/// For more information about delete marker replication, see Basic Rule Configuration.
/// If you are using an earlier version of the replication configuration,
/// Amazon S3 handles replication of delete markers differently. For more information,
/// see Backward Compatibility.
///
public partial class DeleteMarkerReplication
{
private DeleteMarkerReplicationStatus status;
///
/// Indicates whether to replicate delete markers.
///
public DeleteMarkerReplicationStatus Status
{
get { return this.status; }
set { this.status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this.status != null;
}
}
}