/*
* 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 rds-2014-10-31.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.RDS.Model
{
///
/// Container for the parameters to the DescribeDBInstanceAutomatedBackups operation.
/// Displays backups for both current and deleted instances. For example, use this operation
/// to find details about automated backups for previously deleted instances. Current
/// instances with retention periods greater than zero (0) are returned for both the DescribeDBInstanceAutomatedBackups
/// and DescribeDBInstances
operations.
///
///
///
/// All parameters are optional.
///
///
public partial class DescribeDBInstanceAutomatedBackupsRequest : AmazonRDSRequest
{
private string _dbInstanceAutomatedBackupsArn;
private string _dbInstanceIdentifier;
private string _dbiResourceId;
private List _filters = new List();
private string _marker;
private int? _maxRecords;
///
/// Gets and sets the property DBInstanceAutomatedBackupsArn.
///
/// The Amazon Resource Name (ARN) of the replicated automated backups, for example, arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE
.
///
///
///
/// This setting doesn't apply to RDS Custom.
///
///
public string DBInstanceAutomatedBackupsArn
{
get { return this._dbInstanceAutomatedBackupsArn; }
set { this._dbInstanceAutomatedBackupsArn = value; }
}
// Check to see if DBInstanceAutomatedBackupsArn property is set
internal bool IsSetDBInstanceAutomatedBackupsArn()
{
return this._dbInstanceAutomatedBackupsArn != null;
}
///
/// Gets and sets the property DBInstanceIdentifier.
///
/// (Optional) The user-supplied instance identifier. If this parameter is specified,
/// it must match the identifier of an existing DB instance. It returns information from
/// the specific DB instance' automated backup. This parameter isn't case-sensitive.
///
///
public string DBInstanceIdentifier
{
get { return this._dbInstanceIdentifier; }
set { this._dbInstanceIdentifier = value; }
}
// Check to see if DBInstanceIdentifier property is set
internal bool IsSetDBInstanceIdentifier()
{
return this._dbInstanceIdentifier != null;
}
///
/// Gets and sets the property DbiResourceId.
///
/// The resource ID of the DB instance that is the source of the automated backup. This
/// parameter isn't case-sensitive.
///
///
public string DbiResourceId
{
get { return this._dbiResourceId; }
set { this._dbiResourceId = value; }
}
// Check to see if DbiResourceId property is set
internal bool IsSetDbiResourceId()
{
return this._dbiResourceId != null;
}
///
/// Gets and sets the property Filters.
///
/// A filter that specifies which resources to return based on status.
///
///
///
/// Supported filters are the following:
///
/// -
///
///
status
///
/// -
///
///
active
- automated backups for current instances
///
/// -
///
///
retained
- automated backups for deleted instances and after backup
/// replication is stopped
///
/// -
///
///
creating
- automated backups that are waiting for the first automated
/// snapshot to be available
///
///
-
///
///
db-instance-id
- Accepts DB instance identifiers and Amazon Resource
/// Names (ARNs). The results list includes only information about the DB instance automated
/// backups identified by these ARNs.
///
/// -
///
///
dbi-resource-id
- Accepts DB resource identifiers and Amazon Resource
/// Names (ARNs). The results list includes only information about the DB instance resources
/// identified by these ARNs.
///
///
///
/// Returns all resources by default. The status for each resource is specified in the
/// response.
///
///
public List Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
///
/// Gets and sets the property Marker.
///
/// The pagination token provided in the previous request. If this parameter is specified
/// the response includes only records beyond the marker, up to MaxRecords
.
///
///
public string Marker
{
get { return this._marker; }
set { this._marker = value; }
}
// Check to see if Marker property is set
internal bool IsSetMarker()
{
return this._marker != null;
}
///
/// Gets and sets the property MaxRecords.
///
/// The maximum number of records to include in the response. If more records exist than
/// the specified MaxRecords
value, a pagination token called a marker is
/// included in the response so that you can retrieve the remaining results.
///
///
public int MaxRecords
{
get { return this._maxRecords.GetValueOrDefault(); }
set { this._maxRecords = value; }
}
// Check to see if MaxRecords property is set
internal bool IsSetMaxRecords()
{
return this._maxRecords.HasValue;
}
}
}