Struct aws_sdk_backup::operation::list_backup_job_summaries::builders::ListBackupJobSummariesInputBuilder
source · #[non_exhaustive]pub struct ListBackupJobSummariesInputBuilder { /* private fields */ }
Expand description
A builder for ListBackupJobSummariesInput
.
Implementations§
source§impl ListBackupJobSummariesInputBuilder
impl ListBackupJobSummariesInputBuilder
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.
sourcepub fn build(self) -> Result<ListBackupJobSummariesInput, BuildError>
pub fn build(self) -> Result<ListBackupJobSummariesInput, BuildError>
Consumes the builder and constructs a ListBackupJobSummariesInput
.
source§impl ListBackupJobSummariesInputBuilder
impl ListBackupJobSummariesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListBackupJobSummariesOutput, SdkError<ListBackupJobSummariesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListBackupJobSummariesOutput, SdkError<ListBackupJobSummariesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListBackupJobSummariesInputBuilder
impl Clone for ListBackupJobSummariesInputBuilder
source§fn clone(&self) -> ListBackupJobSummariesInputBuilder
fn clone(&self) -> ListBackupJobSummariesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListBackupJobSummariesInputBuilder
impl Default for ListBackupJobSummariesInputBuilder
source§fn default() -> ListBackupJobSummariesInputBuilder
fn default() -> ListBackupJobSummariesInputBuilder
source§impl PartialEq for ListBackupJobSummariesInputBuilder
impl PartialEq for ListBackupJobSummariesInputBuilder
source§fn eq(&self, other: &ListBackupJobSummariesInputBuilder) -> bool
fn eq(&self, other: &ListBackupJobSummariesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.