Struct aws_sdk_emrserverless::types::builders::JobRunSummaryBuilder
source · #[non_exhaustive]pub struct JobRunSummaryBuilder { /* private fields */ }
Expand description
A builder for JobRunSummary
.
Implementations§
source§impl JobRunSummaryBuilder
impl JobRunSummaryBuilder
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The ID of the application the job is running on.
This field is required.sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The ID of the application the job is running on.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The ID of the application the job is running on.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the job run.
This field is required.sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The optional job run name. This doesn't have to be unique.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The optional job run name. This doesn't have to be unique.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The optional job run name. This doesn't have to be unique.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the job run.
This field is required.sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The user who created the job run.
This field is required.sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The user who created the job run.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The user who created the job run.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time when the job run was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time when the job run was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time when the job run was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date and time when the job run was last updated.
This field is required.sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date and time when the job run was last updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The date and time when the job run was last updated.
sourcepub fn execution_role(self, input: impl Into<String>) -> Self
pub fn execution_role(self, input: impl Into<String>) -> Self
The execution role ARN of the job run.
This field is required.sourcepub fn set_execution_role(self, input: Option<String>) -> Self
pub fn set_execution_role(self, input: Option<String>) -> Self
The execution role ARN of the job run.
sourcepub fn get_execution_role(&self) -> &Option<String>
pub fn get_execution_role(&self) -> &Option<String>
The execution role ARN of the job run.
sourcepub fn state(self, input: JobRunState) -> Self
pub fn state(self, input: JobRunState) -> Self
The state of the job run.
This field is required.sourcepub fn set_state(self, input: Option<JobRunState>) -> Self
pub fn set_state(self, input: Option<JobRunState>) -> Self
The state of the job run.
sourcepub fn get_state(&self) -> &Option<JobRunState>
pub fn get_state(&self) -> &Option<JobRunState>
The state of the job run.
sourcepub fn state_details(self, input: impl Into<String>) -> Self
pub fn state_details(self, input: impl Into<String>) -> Self
The state details of the job run.
This field is required.sourcepub fn set_state_details(self, input: Option<String>) -> Self
pub fn set_state_details(self, input: Option<String>) -> Self
The state details of the job run.
sourcepub fn get_state_details(&self) -> &Option<String>
pub fn get_state_details(&self) -> &Option<String>
The state details of the job run.
sourcepub fn release_label(self, input: impl Into<String>) -> Self
pub fn release_label(self, input: impl Into<String>) -> Self
The Amazon EMR release associated with the application your job is running on.
This field is required.sourcepub fn set_release_label(self, input: Option<String>) -> Self
pub fn set_release_label(self, input: Option<String>) -> Self
The Amazon EMR release associated with the application your job is running on.
sourcepub fn get_release_label(&self) -> &Option<String>
pub fn get_release_label(&self) -> &Option<String>
The Amazon EMR release associated with the application your job is running on.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of job run, such as Spark or Hive.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of job run, such as Spark or Hive.
sourcepub fn build(self) -> Result<JobRunSummary, BuildError>
pub fn build(self) -> Result<JobRunSummary, BuildError>
Consumes the builder and constructs a JobRunSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for JobRunSummaryBuilder
impl Clone for JobRunSummaryBuilder
source§fn clone(&self) -> JobRunSummaryBuilder
fn clone(&self) -> JobRunSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobRunSummaryBuilder
impl Debug for JobRunSummaryBuilder
source§impl Default for JobRunSummaryBuilder
impl Default for JobRunSummaryBuilder
source§fn default() -> JobRunSummaryBuilder
fn default() -> JobRunSummaryBuilder
source§impl PartialEq for JobRunSummaryBuilder
impl PartialEq for JobRunSummaryBuilder
source§fn eq(&self, other: &JobRunSummaryBuilder) -> bool
fn eq(&self, other: &JobRunSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.