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 ==
.impl StructuralPartialEq for ListBackupJobSummariesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListBackupJobSummariesOutputBuilder
impl RefUnwindSafe for ListBackupJobSummariesOutputBuilder
impl Send for ListBackupJobSummariesOutputBuilder
impl Sync for ListBackupJobSummariesOutputBuilder
impl Unpin for ListBackupJobSummariesOutputBuilder
impl UnwindSafe for ListBackupJobSummariesOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more