Struct aws_sdk_backup::types::BackupJobSummary
source · #[non_exhaustive]pub struct BackupJobSummary {
pub region: Option<String>,
pub account_id: Option<String>,
pub state: Option<BackupJobStatus>,
pub resource_type: Option<String>,
pub message_category: Option<String>,
pub count: i32,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
}
Expand description
This is a summary of jobs created or running within the most recent 30 days.
The returned summary may contain the following: Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.region: Option<String>
The Amazon Web Services Regions within the job summary.
account_id: Option<String>
The account ID that owns the jobs within the summary.
state: Option<BackupJobStatus>
This value is job count for jobs with the specified state.
resource_type: Option<String>
This value is the job count for the specified resource type. The request GetSupportedResourceTypes
returns strings for supported resource types.
message_category: 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.
count: i32
The value as a number of jobs in a job summary.
start_time: 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.
end_time: 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.
Implementations§
source§impl BackupJobSummary
impl BackupJobSummary
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The account ID that owns the jobs within the summary.
sourcepub fn state(&self) -> Option<&BackupJobStatus>
pub fn state(&self) -> Option<&BackupJobStatus>
This value is job count for jobs with the specified state.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
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) -> Option<&str>
pub fn message_category(&self) -> Option<&str>
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 start_time(&self) -> Option<&DateTime>
pub fn 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.
source§impl BackupJobSummary
impl BackupJobSummary
sourcepub fn builder() -> BackupJobSummaryBuilder
pub fn builder() -> BackupJobSummaryBuilder
Creates a new builder-style object to manufacture BackupJobSummary
.
Trait Implementations§
source§impl Clone for BackupJobSummary
impl Clone for BackupJobSummary
source§fn clone(&self) -> BackupJobSummary
fn clone(&self) -> BackupJobSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BackupJobSummary
impl Debug for BackupJobSummary
source§impl PartialEq for BackupJobSummary
impl PartialEq for BackupJobSummary
source§fn eq(&self, other: &BackupJobSummary) -> bool
fn eq(&self, other: &BackupJobSummary) -> bool
self
and other
values to be equal, and is used
by ==
.