Struct aws_sdk_codepipeline::types::builders::RuleExecutionBuilder
source · #[non_exhaustive]pub struct RuleExecutionBuilder { /* private fields */ }
Expand description
A builder for RuleExecution
.
Implementations§
source§impl RuleExecutionBuilder
impl RuleExecutionBuilder
sourcepub fn rule_execution_id(self, input: impl Into<String>) -> Self
pub fn rule_execution_id(self, input: impl Into<String>) -> Self
The execution ID for the run of the rule.
sourcepub fn set_rule_execution_id(self, input: Option<String>) -> Self
pub fn set_rule_execution_id(self, input: Option<String>) -> Self
The execution ID for the run of the rule.
sourcepub fn get_rule_execution_id(&self) -> &Option<String>
pub fn get_rule_execution_id(&self) -> &Option<String>
The execution ID for the run of the rule.
sourcepub fn status(self, input: RuleExecutionStatus) -> Self
pub fn status(self, input: RuleExecutionStatus) -> Self
The status of the run of the rule, such as FAILED.
sourcepub fn set_status(self, input: Option<RuleExecutionStatus>) -> Self
pub fn set_status(self, input: Option<RuleExecutionStatus>) -> Self
The status of the run of the rule, such as FAILED.
sourcepub fn get_status(&self) -> &Option<RuleExecutionStatus>
pub fn get_status(&self) -> &Option<RuleExecutionStatus>
The status of the run of the rule, such as FAILED.
sourcepub fn set_summary(self, input: Option<String>) -> Self
pub fn set_summary(self, input: Option<String>) -> Self
A summary of the run of the rule.
sourcepub fn get_summary(&self) -> &Option<String>
pub fn get_summary(&self) -> &Option<String>
A summary of the run of the rule.
sourcepub fn last_status_change(self, input: DateTime) -> Self
pub fn last_status_change(self, input: DateTime) -> Self
The last status change of the rule.
sourcepub fn set_last_status_change(self, input: Option<DateTime>) -> Self
pub fn set_last_status_change(self, input: Option<DateTime>) -> Self
The last status change of the rule.
sourcepub fn get_last_status_change(&self) -> &Option<DateTime>
pub fn get_last_status_change(&self) -> &Option<DateTime>
The last status change of the rule.
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 request.
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 request.
sourcepub fn get_token(&self) -> &Option<String>
pub fn get_token(&self) -> &Option<String>
The system-generated token used to identify a unique request.
sourcepub fn last_updated_by(self, input: impl Into<String>) -> Self
pub fn last_updated_by(self, input: impl Into<String>) -> Self
The ARN of the user who last changed the rule.
sourcepub fn set_last_updated_by(self, input: Option<String>) -> Self
pub fn set_last_updated_by(self, input: Option<String>) -> Self
The ARN of the user who last changed the rule.
sourcepub fn get_last_updated_by(&self) -> &Option<String>
pub fn get_last_updated_by(&self) -> &Option<String>
The ARN of the user who last changed the rule.
sourcepub fn external_execution_id(self, input: impl Into<String>) -> Self
pub fn external_execution_id(self, input: impl Into<String>) -> Self
The external ID of the run of the rule.
sourcepub fn set_external_execution_id(self, input: Option<String>) -> Self
pub fn set_external_execution_id(self, input: Option<String>) -> Self
The external ID of the run of the rule.
sourcepub fn get_external_execution_id(&self) -> &Option<String>
pub fn get_external_execution_id(&self) -> &Option<String>
The external ID of the run of the rule.
sourcepub fn external_execution_url(self, input: impl Into<String>) -> Self
pub fn external_execution_url(self, input: impl Into<String>) -> Self
The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).
sourcepub fn set_external_execution_url(self, input: Option<String>) -> Self
pub fn set_external_execution_url(self, input: Option<String>) -> Self
The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).
sourcepub fn get_external_execution_url(&self) -> &Option<String>
pub fn get_external_execution_url(&self) -> &Option<String>
The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).
sourcepub fn error_details(self, input: ErrorDetails) -> Self
pub fn error_details(self, input: ErrorDetails) -> Self
Represents information about an error in CodePipeline.
sourcepub fn set_error_details(self, input: Option<ErrorDetails>) -> Self
pub fn set_error_details(self, input: Option<ErrorDetails>) -> Self
Represents information about an error in CodePipeline.
sourcepub fn get_error_details(&self) -> &Option<ErrorDetails>
pub fn get_error_details(&self) -> &Option<ErrorDetails>
Represents information about an error in CodePipeline.
sourcepub fn build(self) -> RuleExecution
pub fn build(self) -> RuleExecution
Consumes the builder and constructs a RuleExecution
.
Trait Implementations§
source§impl Clone for RuleExecutionBuilder
impl Clone for RuleExecutionBuilder
source§fn clone(&self) -> RuleExecutionBuilder
fn clone(&self) -> RuleExecutionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RuleExecutionBuilder
impl Debug for RuleExecutionBuilder
source§impl Default for RuleExecutionBuilder
impl Default for RuleExecutionBuilder
source§fn default() -> RuleExecutionBuilder
fn default() -> RuleExecutionBuilder
source§impl PartialEq for RuleExecutionBuilder
impl PartialEq for RuleExecutionBuilder
impl StructuralPartialEq for RuleExecutionBuilder
Auto Trait Implementations§
impl Freeze for RuleExecutionBuilder
impl RefUnwindSafe for RuleExecutionBuilder
impl Send for RuleExecutionBuilder
impl Sync for RuleExecutionBuilder
impl Unpin for RuleExecutionBuilder
impl UnwindSafe for RuleExecutionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more