Struct aws_sdk_backup::types::RestoreJobSummary
source · #[non_exhaustive]pub struct RestoreJobSummary {
pub region: Option<String>,
pub account_id: Option<String>,
pub state: Option<RestoreJobState>,
pub resource_type: Option<String>,
pub count: i32,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
}
Expand description
This is a summary of restore jobs created or running within the most recent 30 days.
The returned summary may contain the following: Region, Account, State, ResourceType, 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<RestoreJobState>
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.
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 RestoreJobSummary
impl RestoreJobSummary
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<&RestoreJobState>
pub fn state(&self) -> Option<&RestoreJobState>
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 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 RestoreJobSummary
impl RestoreJobSummary
sourcepub fn builder() -> RestoreJobSummaryBuilder
pub fn builder() -> RestoreJobSummaryBuilder
Creates a new builder-style object to manufacture RestoreJobSummary
.
Trait Implementations§
source§impl Clone for RestoreJobSummary
impl Clone for RestoreJobSummary
source§fn clone(&self) -> RestoreJobSummary
fn clone(&self) -> RestoreJobSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RestoreJobSummary
impl Debug for RestoreJobSummary
source§impl PartialEq for RestoreJobSummary
impl PartialEq for RestoreJobSummary
source§fn eq(&self, other: &RestoreJobSummary) -> bool
fn eq(&self, other: &RestoreJobSummary) -> bool
self
and other
values to be equal, and is used
by ==
.