Struct aws_sdk_backup::operation::list_backup_job_summaries::builders::ListBackupJobSummariesOutputBuilder
source · #[non_exhaustive]pub struct ListBackupJobSummariesOutputBuilder { /* private fields */ }
Expand description
A builder for ListBackupJobSummariesOutput
.
Implementations§
source§impl ListBackupJobSummariesOutputBuilder
impl ListBackupJobSummariesOutputBuilder
sourcepub fn backup_job_summaries(self, input: BackupJobSummary) -> Self
pub fn backup_job_summaries(self, input: BackupJobSummary) -> Self
Appends an item to backup_job_summaries
.
To override the contents of this collection use set_backup_job_summaries
.
This request returns a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
sourcepub fn set_backup_job_summaries(
self,
input: Option<Vec<BackupJobSummary>>
) -> Self
pub fn set_backup_job_summaries( self, input: Option<Vec<BackupJobSummary>> ) -> Self
This request returns a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
sourcepub fn get_backup_job_summaries(&self) -> &Option<Vec<BackupJobSummary>>
pub fn get_backup_job_summaries(&self) -> &Option<Vec<BackupJobSummary>>
This request returns a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
sourcepub fn aggregation_period(self, input: impl Into<String>) -> Self
pub fn aggregation_period(self, input: impl Into<String>) -> Self
This is the period that sets the boundaries for returned results.
-
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<String>) -> Self
pub fn set_aggregation_period(self, input: Option<String>) -> Self
This is the period that sets the boundaries for returned results.
-
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<String>
pub fn get_aggregation_period(&self) -> &Option<String>
This is the period that sets the boundaries for returned results.
-
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 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) -> ListBackupJobSummariesOutput
pub fn build(self) -> ListBackupJobSummariesOutput
Consumes the builder and constructs a ListBackupJobSummariesOutput
.
Trait Implementations§
source§impl Clone for ListBackupJobSummariesOutputBuilder
impl Clone for ListBackupJobSummariesOutputBuilder
source§fn clone(&self) -> ListBackupJobSummariesOutputBuilder
fn clone(&self) -> ListBackupJobSummariesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListBackupJobSummariesOutputBuilder
impl Default for ListBackupJobSummariesOutputBuilder
source§fn default() -> ListBackupJobSummariesOutputBuilder
fn default() -> ListBackupJobSummariesOutputBuilder
source§impl PartialEq for ListBackupJobSummariesOutputBuilder
impl PartialEq for ListBackupJobSummariesOutputBuilder
source§fn eq(&self, other: &ListBackupJobSummariesOutputBuilder) -> bool
fn eq(&self, other: &ListBackupJobSummariesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.