Struct aws_sdk_backup::types::builders::BackupJobSummaryBuilder
source · #[non_exhaustive]pub struct BackupJobSummaryBuilder { /* private fields */ }
Expand description
A builder for BackupJobSummary
.
Implementations§
source§impl BackupJobSummaryBuilder
impl BackupJobSummaryBuilder
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
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
The Amazon Web Services Regions within the job summary.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
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: BackupJobStatus) -> Self
pub fn state(self, input: BackupJobStatus) -> Self
This value is job count for jobs with the specified state.
sourcepub fn set_state(self, input: Option<BackupJobStatus>) -> Self
pub fn set_state(self, input: Option<BackupJobStatus>) -> Self
This value is job count for jobs with the specified state.
sourcepub fn get_state(&self) -> &Option<BackupJobStatus>
pub fn get_state(&self) -> &Option<BackupJobStatus>
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) -> BackupJobSummary
pub fn build(self) -> BackupJobSummary
Consumes the builder and constructs a BackupJobSummary
.
Trait Implementations§
source§impl Clone for BackupJobSummaryBuilder
impl Clone for BackupJobSummaryBuilder
source§fn clone(&self) -> BackupJobSummaryBuilder
fn clone(&self) -> BackupJobSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BackupJobSummaryBuilder
impl Debug for BackupJobSummaryBuilder
source§impl Default for BackupJobSummaryBuilder
impl Default for BackupJobSummaryBuilder
source§fn default() -> BackupJobSummaryBuilder
fn default() -> BackupJobSummaryBuilder
source§impl PartialEq for BackupJobSummaryBuilder
impl PartialEq for BackupJobSummaryBuilder
source§fn eq(&self, other: &BackupJobSummaryBuilder) -> bool
fn eq(&self, other: &BackupJobSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.