Struct aws_sdk_codecatalyst::operation::get_workflow_run::builders::GetWorkflowRunOutputBuilder
source · #[non_exhaustive]pub struct GetWorkflowRunOutputBuilder { /* private fields */ }
Expand description
A builder for GetWorkflowRunOutput
.
Implementations§
source§impl GetWorkflowRunOutputBuilder
impl GetWorkflowRunOutputBuilder
sourcepub fn space_name(self, input: impl Into<String>) -> Self
pub fn space_name(self, input: impl Into<String>) -> Self
The name of the space.
This field is required.sourcepub fn set_space_name(self, input: Option<String>) -> Self
pub fn set_space_name(self, input: Option<String>) -> Self
The name of the space.
sourcepub fn get_space_name(&self) -> &Option<String>
pub fn get_space_name(&self) -> &Option<String>
The name of the space.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project in the space.
This field is required.sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project in the space.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project in the space.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the workflow run.
This field is required.sourcepub fn workflow_id(self, input: impl Into<String>) -> Self
pub fn workflow_id(self, input: impl Into<String>) -> Self
The ID of the workflow.
This field is required.sourcepub fn set_workflow_id(self, input: Option<String>) -> Self
pub fn set_workflow_id(self, input: Option<String>) -> Self
The ID of the workflow.
sourcepub fn get_workflow_id(&self) -> &Option<String>
pub fn get_workflow_id(&self) -> &Option<String>
The ID of the workflow.
sourcepub fn status(self, input: WorkflowRunStatus) -> Self
pub fn status(self, input: WorkflowRunStatus) -> Self
The status of the workflow run.
This field is required.sourcepub fn set_status(self, input: Option<WorkflowRunStatus>) -> Self
pub fn set_status(self, input: Option<WorkflowRunStatus>) -> Self
The status of the workflow run.
sourcepub fn get_status(&self) -> &Option<WorkflowRunStatus>
pub fn get_status(&self) -> &Option<WorkflowRunStatus>
The status of the workflow run.
sourcepub fn status_reasons(self, input: WorkflowRunStatusReason) -> Self
pub fn status_reasons(self, input: WorkflowRunStatusReason) -> Self
Appends an item to status_reasons
.
To override the contents of this collection use set_status_reasons
.
Information about the reasons for the status of the workflow run.
sourcepub fn set_status_reasons(
self,
input: Option<Vec<WorkflowRunStatusReason>>
) -> Self
pub fn set_status_reasons( self, input: Option<Vec<WorkflowRunStatusReason>> ) -> Self
Information about the reasons for the status of the workflow run.
sourcepub fn get_status_reasons(&self) -> &Option<Vec<WorkflowRunStatusReason>>
pub fn get_status_reasons(&self) -> &Option<Vec<WorkflowRunStatusReason>>
Information about the reasons for the status of the workflow run.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
This field is required.sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The date and time the workflow run status was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
This field is required.sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The date and time the workflow run status was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
The date and time the workflow run status was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
sourcepub fn build(self) -> Result<GetWorkflowRunOutput, BuildError>
pub fn build(self) -> Result<GetWorkflowRunOutput, BuildError>
Consumes the builder and constructs a GetWorkflowRunOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetWorkflowRunOutputBuilder
impl Clone for GetWorkflowRunOutputBuilder
source§fn clone(&self) -> GetWorkflowRunOutputBuilder
fn clone(&self) -> GetWorkflowRunOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetWorkflowRunOutputBuilder
impl Debug for GetWorkflowRunOutputBuilder
source§impl Default for GetWorkflowRunOutputBuilder
impl Default for GetWorkflowRunOutputBuilder
source§fn default() -> GetWorkflowRunOutputBuilder
fn default() -> GetWorkflowRunOutputBuilder
source§impl PartialEq for GetWorkflowRunOutputBuilder
impl PartialEq for GetWorkflowRunOutputBuilder
source§fn eq(&self, other: &GetWorkflowRunOutputBuilder) -> bool
fn eq(&self, other: &GetWorkflowRunOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.