#[non_exhaustive]pub struct DescribeBackupsInput {
pub backup_ids: Option<Vec<String>>,
pub filters: Option<Vec<Filter>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
Expand description
The request object for the DescribeBackups
operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.backup_ids: Option<Vec<String>>
The IDs of the backups that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, a BackupNotFound
error occurs.
filters: Option<Vec<Filter>>
The filters structure. The supported names are file-system-id
, backup-type
, file-system-type
, and volume-id
.
max_results: Option<i32>
Maximum number of backups to return in the response. This parameter value must be greater than 0. The number of items that Amazon FSx returns is the minimum of the MaxResults
parameter specified in the request and the service's internal maximum number of items per page.
next_token: Option<String>
An opaque pagination token returned from a previous DescribeBackups
operation. If a token is present, the operation continues the list from where the returning call left off.
Implementations§
source§impl DescribeBackupsInput
impl DescribeBackupsInput
sourcepub fn backup_ids(&self) -> &[String]
pub fn backup_ids(&self) -> &[String]
The IDs of the backups that you want to retrieve. This parameter value overrides any filters. If any IDs aren't found, a BackupNotFound
error occurs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .backup_ids.is_none()
.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
The filters structure. The supported names are file-system-id
, backup-type
, file-system-type
, and volume-id
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
Maximum number of backups to return in the response. This parameter value must be greater than 0. The number of items that Amazon FSx returns is the minimum of the MaxResults
parameter specified in the request and the service's internal maximum number of items per page.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
An opaque pagination token returned from a previous DescribeBackups
operation. If a token is present, the operation continues the list from where the returning call left off.
source§impl DescribeBackupsInput
impl DescribeBackupsInput
sourcepub fn builder() -> DescribeBackupsInputBuilder
pub fn builder() -> DescribeBackupsInputBuilder
Creates a new builder-style object to manufacture DescribeBackupsInput
.
Trait Implementations§
source§impl Clone for DescribeBackupsInput
impl Clone for DescribeBackupsInput
source§fn clone(&self) -> DescribeBackupsInput
fn clone(&self) -> DescribeBackupsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeBackupsInput
impl Debug for DescribeBackupsInput
source§impl PartialEq for DescribeBackupsInput
impl PartialEq for DescribeBackupsInput
source§fn eq(&self, other: &DescribeBackupsInput) -> bool
fn eq(&self, other: &DescribeBackupsInput) -> bool
self
and other
values to be equal, and is used
by ==
.