Struct aws_sdk_codepipeline::operation::put_approval_result::builders::PutApprovalResultInputBuilder
source · #[non_exhaustive]pub struct PutApprovalResultInputBuilder { /* private fields */ }
Expand description
A builder for PutApprovalResultInput
.
Implementations§
source§impl PutApprovalResultInputBuilder
impl PutApprovalResultInputBuilder
sourcepub fn pipeline_name(self, input: impl Into<String>) -> Self
pub fn pipeline_name(self, input: impl Into<String>) -> Self
The name of the pipeline that contains the action.
sourcepub fn set_pipeline_name(self, input: Option<String>) -> Self
pub fn set_pipeline_name(self, input: Option<String>) -> Self
The name of the pipeline that contains the action.
sourcepub fn get_pipeline_name(&self) -> &Option<String>
pub fn get_pipeline_name(&self) -> &Option<String>
The name of the pipeline that contains the action.
sourcepub fn stage_name(self, input: impl Into<String>) -> Self
pub fn stage_name(self, input: impl Into<String>) -> Self
The name of the stage that contains the action.
sourcepub fn set_stage_name(self, input: Option<String>) -> Self
pub fn set_stage_name(self, input: Option<String>) -> Self
The name of the stage that contains the action.
sourcepub fn get_stage_name(&self) -> &Option<String>
pub fn get_stage_name(&self) -> &Option<String>
The name of the stage that contains the action.
sourcepub fn action_name(self, input: impl Into<String>) -> Self
pub fn action_name(self, input: impl Into<String>) -> Self
The name of the action for which approval is requested.
sourcepub fn set_action_name(self, input: Option<String>) -> Self
pub fn set_action_name(self, input: Option<String>) -> Self
The name of the action for which approval is requested.
sourcepub fn get_action_name(&self) -> &Option<String>
pub fn get_action_name(&self) -> &Option<String>
The name of the action for which approval is requested.
sourcepub fn result(self, input: ApprovalResult) -> Self
pub fn result(self, input: ApprovalResult) -> Self
Represents information about the result of the approval request.
sourcepub fn set_result(self, input: Option<ApprovalResult>) -> Self
pub fn set_result(self, input: Option<ApprovalResult>) -> Self
Represents information about the result of the approval request.
sourcepub fn get_result(&self) -> &Option<ApprovalResult>
pub fn get_result(&self) -> &Option<ApprovalResult>
Represents information about the result of the approval request.
sourcepub fn token(self, input: impl Into<String>) -> Self
pub fn token(self, input: impl Into<String>) -> Self
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState
action. It is used to validate that the approval request corresponding to this token is still valid.
sourcepub fn set_token(self, input: Option<String>) -> Self
pub fn set_token(self, input: Option<String>) -> Self
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState
action. It is used to validate that the approval request corresponding to this token is still valid.
sourcepub fn get_token(&self) -> &Option<String>
pub fn get_token(&self) -> &Option<String>
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState
action. It is used to validate that the approval request corresponding to this token is still valid.
sourcepub fn build(self) -> Result<PutApprovalResultInput, BuildError>
pub fn build(self) -> Result<PutApprovalResultInput, BuildError>
Consumes the builder and constructs a PutApprovalResultInput
.
source§impl PutApprovalResultInputBuilder
impl PutApprovalResultInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutApprovalResultOutput, SdkError<PutApprovalResultError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutApprovalResultOutput, SdkError<PutApprovalResultError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutApprovalResultInputBuilder
impl Clone for PutApprovalResultInputBuilder
source§fn clone(&self) -> PutApprovalResultInputBuilder
fn clone(&self) -> PutApprovalResultInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutApprovalResultInputBuilder
impl Default for PutApprovalResultInputBuilder
source§fn default() -> PutApprovalResultInputBuilder
fn default() -> PutApprovalResultInputBuilder
source§impl PartialEq for PutApprovalResultInputBuilder
impl PartialEq for PutApprovalResultInputBuilder
source§fn eq(&self, other: &PutApprovalResultInputBuilder) -> bool
fn eq(&self, other: &PutApprovalResultInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.