#[non_exhaustive]pub struct GetWorkflowOutputBuilder { /* private fields */ }
Expand description
A builder for GetWorkflowOutput
.
Implementations§
source§impl GetWorkflowOutputBuilder
impl GetWorkflowOutputBuilder
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.
This field is required.sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the workflow.
This field is required.sourcepub fn source_repository_name(self, input: impl Into<String>) -> Self
pub fn source_repository_name(self, input: impl Into<String>) -> Self
The name of the source repository where the workflow YAML is stored.
sourcepub fn set_source_repository_name(self, input: Option<String>) -> Self
pub fn set_source_repository_name(self, input: Option<String>) -> Self
The name of the source repository where the workflow YAML is stored.
sourcepub fn get_source_repository_name(&self) -> &Option<String>
pub fn get_source_repository_name(&self) -> &Option<String>
The name of the source repository where the workflow YAML is stored.
sourcepub fn source_branch_name(self, input: impl Into<String>) -> Self
pub fn source_branch_name(self, input: impl Into<String>) -> Self
The name of the branch that contains the workflow YAML.
sourcepub fn set_source_branch_name(self, input: Option<String>) -> Self
pub fn set_source_branch_name(self, input: Option<String>) -> Self
The name of the branch that contains the workflow YAML.
sourcepub fn get_source_branch_name(&self) -> &Option<String>
pub fn get_source_branch_name(&self) -> &Option<String>
The name of the branch that contains the workflow YAML.
sourcepub fn definition(self, input: WorkflowDefinition) -> Self
pub fn definition(self, input: WorkflowDefinition) -> Self
Information about the workflow definition file for the workflow.
This field is required.sourcepub fn set_definition(self, input: Option<WorkflowDefinition>) -> Self
pub fn set_definition(self, input: Option<WorkflowDefinition>) -> Self
Information about the workflow definition file for the workflow.
sourcepub fn get_definition(&self) -> &Option<WorkflowDefinition>
pub fn get_definition(&self) -> &Option<WorkflowDefinition>
Information about the workflow definition file for the workflow.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
This field is required.sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
The date and time the workflow was created, 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 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 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 was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
sourcepub fn run_mode(self, input: WorkflowRunMode) -> Self
pub fn run_mode(self, input: WorkflowRunMode) -> Self
The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.
This field is required.sourcepub fn set_run_mode(self, input: Option<WorkflowRunMode>) -> Self
pub fn set_run_mode(self, input: Option<WorkflowRunMode>) -> Self
The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.
sourcepub fn get_run_mode(&self) -> &Option<WorkflowRunMode>
pub fn get_run_mode(&self) -> &Option<WorkflowRunMode>
The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.
sourcepub fn status(self, input: WorkflowStatus) -> Self
pub fn status(self, input: WorkflowStatus) -> Self
The status of the workflow.
This field is required.sourcepub fn set_status(self, input: Option<WorkflowStatus>) -> Self
pub fn set_status(self, input: Option<WorkflowStatus>) -> Self
The status of the workflow.
sourcepub fn get_status(&self) -> &Option<WorkflowStatus>
pub fn get_status(&self) -> &Option<WorkflowStatus>
The status of the workflow.
sourcepub fn build(self) -> Result<GetWorkflowOutput, BuildError>
pub fn build(self) -> Result<GetWorkflowOutput, BuildError>
Consumes the builder and constructs a GetWorkflowOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetWorkflowOutputBuilder
impl Clone for GetWorkflowOutputBuilder
source§fn clone(&self) -> GetWorkflowOutputBuilder
fn clone(&self) -> GetWorkflowOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetWorkflowOutputBuilder
impl Debug for GetWorkflowOutputBuilder
source§impl Default for GetWorkflowOutputBuilder
impl Default for GetWorkflowOutputBuilder
source§fn default() -> GetWorkflowOutputBuilder
fn default() -> GetWorkflowOutputBuilder
source§impl PartialEq for GetWorkflowOutputBuilder
impl PartialEq for GetWorkflowOutputBuilder
source§fn eq(&self, other: &GetWorkflowOutputBuilder) -> bool
fn eq(&self, other: &GetWorkflowOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.