Struct aws_sdk_codecatalyst::operation::start_workflow_run::builders::StartWorkflowRunInputBuilder
source · #[non_exhaustive]pub struct StartWorkflowRunInputBuilder { /* private fields */ }
Expand description
A builder for StartWorkflowRunInput
.
Implementations§
source§impl StartWorkflowRunInputBuilder
impl StartWorkflowRunInputBuilder
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 workflow_id(self, input: impl Into<String>) -> Self
pub fn workflow_id(self, input: impl Into<String>) -> Self
The system-generated unique ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows
.
sourcepub fn set_workflow_id(self, input: Option<String>) -> Self
pub fn set_workflow_id(self, input: Option<String>) -> Self
The system-generated unique ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows
.
sourcepub fn get_workflow_id(&self) -> &Option<String>
pub fn get_workflow_id(&self) -> &Option<String>
The system-generated unique ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows
.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
sourcepub fn build(self) -> Result<StartWorkflowRunInput, BuildError>
pub fn build(self) -> Result<StartWorkflowRunInput, BuildError>
Consumes the builder and constructs a StartWorkflowRunInput
.
source§impl StartWorkflowRunInputBuilder
impl StartWorkflowRunInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartWorkflowRunOutput, SdkError<StartWorkflowRunError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartWorkflowRunOutput, SdkError<StartWorkflowRunError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartWorkflowRunInputBuilder
impl Clone for StartWorkflowRunInputBuilder
source§fn clone(&self) -> StartWorkflowRunInputBuilder
fn clone(&self) -> StartWorkflowRunInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartWorkflowRunInputBuilder
impl Debug for StartWorkflowRunInputBuilder
source§impl Default for StartWorkflowRunInputBuilder
impl Default for StartWorkflowRunInputBuilder
source§fn default() -> StartWorkflowRunInputBuilder
fn default() -> StartWorkflowRunInputBuilder
source§impl PartialEq for StartWorkflowRunInputBuilder
impl PartialEq for StartWorkflowRunInputBuilder
source§fn eq(&self, other: &StartWorkflowRunInputBuilder) -> bool
fn eq(&self, other: &StartWorkflowRunInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.