Struct aws_sdk_snowball::types::JobListEntry
source · #[non_exhaustive]pub struct JobListEntry {
pub job_id: Option<String>,
pub job_state: Option<JobState>,
pub is_master: bool,
pub job_type: Option<JobType>,
pub snowball_type: Option<SnowballType>,
pub creation_date: Option<DateTime>,
pub description: Option<String>,
}
Expand description
Each JobListEntry
object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of an export job.
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.job_id: Option<String>
The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
.
job_state: Option<JobState>
The current state of this job.
is_master: bool
A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created.
job_type: Option<JobType>
The type of job.
snowball_type: Option<SnowballType>
The type of device used with this job.
creation_date: Option<DateTime>
The creation date for this job.
description: Option<String>
The optional description of this specific job, for example Important Photos 2016-08-11
.
Implementations§
source§impl JobListEntry
impl JobListEntry
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn is_master(&self) -> bool
pub fn is_master(&self) -> bool
A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular main job are listed, because they are created after the main job is created.
sourcepub fn snowball_type(&self) -> Option<&SnowballType>
pub fn snowball_type(&self) -> Option<&SnowballType>
The type of device used with this job.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The creation date for this job.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The optional description of this specific job, for example Important Photos 2016-08-11
.
source§impl JobListEntry
impl JobListEntry
sourcepub fn builder() -> JobListEntryBuilder
pub fn builder() -> JobListEntryBuilder
Creates a new builder-style object to manufacture JobListEntry
.
Trait Implementations§
source§impl Clone for JobListEntry
impl Clone for JobListEntry
source§fn clone(&self) -> JobListEntry
fn clone(&self) -> JobListEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobListEntry
impl Debug for JobListEntry
source§impl PartialEq for JobListEntry
impl PartialEq for JobListEntry
source§fn eq(&self, other: &JobListEntry) -> bool
fn eq(&self, other: &JobListEntry) -> bool
self
and other
values to be equal, and is used
by ==
.