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
source§fn eq(&self, other: &CopyJobSummaryBuilder) -> bool
fn eq(&self, other: &CopyJobSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.