Struct aws_sdk_backup::operation::list_backup_job_summaries::builders::ListBackupJobSummariesFluentBuilder
source · pub struct ListBackupJobSummariesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListBackupJobSummaries
.
This is a request for a summary of backup jobs created or running within the most recent 30 days. You can include parameters AccountID, State, ResourceType, MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter results.
This request returns a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
Implementations§
source§impl ListBackupJobSummariesFluentBuilder
impl ListBackupJobSummariesFluentBuilder
sourcepub fn as_input(&self) -> &ListBackupJobSummariesInputBuilder
pub fn as_input(&self) -> &ListBackupJobSummariesInputBuilder
Access the ListBackupJobSummaries as a reference.
sourcepub async fn send(
self
) -> Result<ListBackupJobSummariesOutput, SdkError<ListBackupJobSummariesError, HttpResponse>>
pub async fn send( self ) -> Result<ListBackupJobSummariesOutput, SdkError<ListBackupJobSummariesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListBackupJobSummariesOutput, ListBackupJobSummariesError, Self>
pub fn customize( self ) -> CustomizableOperation<ListBackupJobSummariesOutput, ListBackupJobSummariesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListBackupJobSummariesPaginator
pub fn into_paginator(self) -> ListBackupJobSummariesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
Returns the job count for the specified account.
If the request is sent from a member account or an account not part of Amazon Web Services Organizations, jobs within requestor's account will be returned.
Root, admin, and delegated administrator accounts can use the value ANY to return job counts from every account in the organization.
AGGREGATE_ALL
aggregates job counts from all accounts within the authenticated organization, then returns the sum.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
Returns the job count for the specified account.
If the request is sent from a member account or an account not part of Amazon Web Services Organizations, jobs within requestor's account will be returned.
Root, admin, and delegated administrator accounts can use the value ANY to return job counts from every account in the organization.
AGGREGATE_ALL
aggregates job counts from all accounts within the authenticated organization, then returns the sum.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
Returns the job count for the specified account.
If the request is sent from a member account or an account not part of Amazon Web Services Organizations, jobs within requestor's account will be returned.
Root, admin, and delegated administrator accounts can use the value ANY to return job counts from every account in the organization.
AGGREGATE_ALL
aggregates job counts from all accounts within the authenticated organization, then returns the sum.
sourcepub fn state(self, input: BackupJobStatus) -> Self
pub fn state(self, input: BackupJobStatus) -> Self
This parameter returns the job count for jobs with the specified state.
The the value ANY returns count of all states.
AGGREGATE_ALL
aggregates job counts for all states and returns the sum.
sourcepub fn set_state(self, input: Option<BackupJobStatus>) -> Self
pub fn set_state(self, input: Option<BackupJobStatus>) -> Self
This parameter returns the job count for jobs with the specified state.
The the value ANY returns count of all states.
AGGREGATE_ALL
aggregates job counts for all states and returns the sum.
sourcepub fn get_state(&self) -> &Option<BackupJobStatus>
pub fn get_state(&self) -> &Option<BackupJobStatus>
This parameter returns the job count for jobs with the specified state.
The the value ANY returns count of all states.
AGGREGATE_ALL
aggregates job counts for all states and returns the sum.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
Returns the job count for the specified resource type. Use request GetSupportedResourceTypes
to obtain strings for supported resource types.
The the value ANY returns count of all resource types.
AGGREGATE_ALL
aggregates job counts for all resource types and returns the sum.
The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
Returns the job count for the specified resource type. Use request GetSupportedResourceTypes
to obtain strings for supported resource types.
The the value ANY returns count of all resource types.
AGGREGATE_ALL
aggregates job counts for all resource types and returns the sum.
The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
Returns the job count for the specified resource type. Use request GetSupportedResourceTypes
to obtain strings for supported resource types.
The the value ANY returns count of all resource types.
AGGREGATE_ALL
aggregates job counts for all resource types and returns the sum.
The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
sourcepub fn message_category(self, input: impl Into<String>) -> Self
pub fn message_category(self, input: impl Into<String>) -> Self
This parameter returns the job count for the specified message category.
Example accepted strings include AccessDenied
, Success
, and InvalidParameters
. See Monitoring for a list of accepted MessageCategory strings.
The the value ANY returns count of all message categories.
AGGREGATE_ALL
aggregates job counts for all message categories and returns the sum.
sourcepub fn set_message_category(self, input: Option<String>) -> Self
pub fn set_message_category(self, input: Option<String>) -> Self
This parameter returns the job count for the specified message category.
Example accepted strings include AccessDenied
, Success
, and InvalidParameters
. See Monitoring for a list of accepted MessageCategory strings.
The the value ANY returns count of all message categories.
AGGREGATE_ALL
aggregates job counts for all message categories and returns the sum.
sourcepub fn get_message_category(&self) -> &Option<String>
pub fn get_message_category(&self) -> &Option<String>
This parameter returns the job count for the specified message category.
Example accepted strings include AccessDenied
, Success
, and InvalidParameters
. See Monitoring for a list of accepted MessageCategory strings.
The the value ANY returns count of all message categories.
AGGREGATE_ALL
aggregates job counts for all message categories and returns the sum.
sourcepub fn aggregation_period(self, input: AggregationPeriod) -> Self
pub fn aggregation_period(self, input: AggregationPeriod) -> Self
This is the period that sets the boundaries for returned results.
Acceptable values include
-
ONE_DAY
for daily job count for the prior 14 days. -
SEVEN_DAYS
for the aggregated job count for the prior 7 days. -
FOURTEEN_DAYS
for aggregated job count for prior 14 days.
sourcepub fn set_aggregation_period(self, input: Option<AggregationPeriod>) -> Self
pub fn set_aggregation_period(self, input: Option<AggregationPeriod>) -> Self
This is the period that sets the boundaries for returned results.
Acceptable values include
-
ONE_DAY
for daily job count for the prior 14 days. -
SEVEN_DAYS
for the aggregated job count for the prior 7 days. -
FOURTEEN_DAYS
for aggregated job count for prior 14 days.
sourcepub fn get_aggregation_period(&self) -> &Option<AggregationPeriod>
pub fn get_aggregation_period(&self) -> &Option<AggregationPeriod>
This is the period that sets the boundaries for returned results.
Acceptable values include
-
ONE_DAY
for daily job count for the prior 14 days. -
SEVEN_DAYS
for the aggregated job count for the prior 7 days. -
FOURTEEN_DAYS
for aggregated job count for prior 14 days.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
This parameter sets the maximum number of items to be returned.
The value is an integer. Range of accepted values is from 1 to 500.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
This parameter sets the maximum number of items to be returned.
The value is an integer. Range of accepted values is from 1 to 500.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
This parameter sets the maximum number of items to be returned.
The value is an integer. Range of accepted values is from 1 to 500.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The next item following a partial list of returned resources. For example, if a request is made to return MaxResults
number of resources, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The next item following a partial list of returned resources. For example, if a request is made to return MaxResults
number of resources, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The next item following a partial list of returned resources. For example, if a request is made to return MaxResults
number of resources, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
Trait Implementations§
source§impl Clone for ListBackupJobSummariesFluentBuilder
impl Clone for ListBackupJobSummariesFluentBuilder
source§fn clone(&self) -> ListBackupJobSummariesFluentBuilder
fn clone(&self) -> ListBackupJobSummariesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more