Struct aws_sdk_backup::types::builders::CopyJobSummaryBuilder
source · #[non_exhaustive]pub struct CopyJobSummaryBuilder { /* private fields */ }
Expand description
A builder for CopyJobSummary
.
Implementations§
source§impl CopyJobSummaryBuilder
impl CopyJobSummaryBuilder
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
This is the Amazon Web Services Regions within the job summary.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
This is the Amazon Web Services Regions within the job summary.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
This is the Amazon Web Services Regions within the job summary.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The account ID that owns the jobs within the summary.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The account ID that owns the jobs within the summary.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The account ID that owns the jobs within the summary.
sourcepub fn state(self, input: CopyJobStatus) -> Self
pub fn state(self, input: CopyJobStatus) -> Self
This value is job count for jobs with the specified state.
sourcepub fn set_state(self, input: Option<CopyJobStatus>) -> Self
pub fn set_state(self, input: Option<CopyJobStatus>) -> Self
This value is job count for jobs with the specified state.
sourcepub fn get_state(&self) -> &Option<CopyJobStatus>
pub fn get_state(&self) -> &Option<CopyJobStatus>
This value is job count for jobs with the specified state.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
This value is the job count for the specified resource type. The request GetSupportedResourceTypes
returns strings for supported resource types
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
This value is the job count for the specified resource type. The request GetSupportedResourceTypes
returns strings for supported resource types
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
This value is the job count for the specified resource type. The request GetSupportedResourceTypes
returns strings for supported resource types
sourcepub fn message_category(self, input: impl Into<String>) -> Self
pub fn message_category(self, input: impl Into<String>) -> Self
This parameter is the job count for the specified message category.
Example strings include AccessDenied
, Success
, and InvalidParameters
. See Monitoring for a list of 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 is the job count for the specified message category.
Example strings include AccessDenied
, Success
, and InvalidParameters
. See Monitoring for a list of 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 is the job count for the specified message category.
Example strings include AccessDenied
, Success
, and InvalidParameters
. See Monitoring for a list of 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_count(self, input: Option<i32>) -> Self
pub fn set_count(self, input: Option<i32>) -> Self
The value as a number of jobs in a job summary.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The value of time in number format of a job start time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The value of time in number format of a job start time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The value of time in number format of a job start time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The value of time in number format of a job end time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The value of time in number format of a job end time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The value of time in number format of a job end time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
sourcepub fn build(self) -> CopyJobSummary
pub fn build(self) -> CopyJobSummary
Consumes the builder and constructs a CopyJobSummary
.
Trait Implementations§
source§impl Clone for CopyJobSummaryBuilder
impl Clone for CopyJobSummaryBuilder
source§fn clone(&self) -> CopyJobSummaryBuilder
fn clone(&self) -> CopyJobSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CopyJobSummaryBuilder
impl Debug for CopyJobSummaryBuilder
source§impl Default for CopyJobSummaryBuilder
impl Default for CopyJobSummaryBuilder
source§fn default() -> CopyJobSummaryBuilder
fn default() -> CopyJobSummaryBuilder
source§impl PartialEq for CopyJobSummaryBuilder
impl PartialEq for CopyJobSummaryBuilder
impl StructuralPartialEq for CopyJobSummaryBuilder
Auto Trait Implementations§
impl Freeze for CopyJobSummaryBuilder
impl RefUnwindSafe for CopyJobSummaryBuilder
impl Send for CopyJobSummaryBuilder
impl Sync for CopyJobSummaryBuilder
impl Unpin for CopyJobSummaryBuilder
impl UnwindSafe for CopyJobSummaryBuilder
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