Struct aws_sdk_codepipeline::types::builders::RuleRevisionBuilder
source · #[non_exhaustive]pub struct RuleRevisionBuilder { /* private fields */ }
Expand description
A builder for RuleRevision
.
Implementations§
source§impl RuleRevisionBuilder
impl RuleRevisionBuilder
sourcepub fn revision_id(self, input: impl Into<String>) -> Self
pub fn revision_id(self, input: impl Into<String>) -> Self
The system-generated unique ID that identifies the revision number of the rule.
This field is required.sourcepub fn set_revision_id(self, input: Option<String>) -> Self
pub fn set_revision_id(self, input: Option<String>) -> Self
The system-generated unique ID that identifies the revision number of the rule.
sourcepub fn get_revision_id(&self) -> &Option<String>
pub fn get_revision_id(&self) -> &Option<String>
The system-generated unique ID that identifies the revision number of the rule.
sourcepub fn revision_change_id(self, input: impl Into<String>) -> Self
pub fn revision_change_id(self, input: impl Into<String>) -> Self
The unique identifier of the change that set the state to this revision (for example, a deployment ID or timestamp).
This field is required.sourcepub fn set_revision_change_id(self, input: Option<String>) -> Self
pub fn set_revision_change_id(self, input: Option<String>) -> Self
The unique identifier of the change that set the state to this revision (for example, a deployment ID or timestamp).
sourcepub fn get_revision_change_id(&self) -> &Option<String>
pub fn get_revision_change_id(&self) -> &Option<String>
The unique identifier of the change that set the state to this revision (for example, a deployment ID or timestamp).
sourcepub fn created(self, input: DateTime) -> Self
pub fn created(self, input: DateTime) -> Self
The date and time when the most recent version of the rule was created, in timestamp format.
This field is required.sourcepub fn set_created(self, input: Option<DateTime>) -> Self
pub fn set_created(self, input: Option<DateTime>) -> Self
The date and time when the most recent version of the rule was created, in timestamp format.
sourcepub fn get_created(&self) -> &Option<DateTime>
pub fn get_created(&self) -> &Option<DateTime>
The date and time when the most recent version of the rule was created, in timestamp format.
sourcepub fn build(self) -> Result<RuleRevision, BuildError>
pub fn build(self) -> Result<RuleRevision, BuildError>
Consumes the builder and constructs a RuleRevision
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RuleRevisionBuilder
impl Clone for RuleRevisionBuilder
source§fn clone(&self) -> RuleRevisionBuilder
fn clone(&self) -> RuleRevisionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RuleRevisionBuilder
impl Debug for RuleRevisionBuilder
source§impl Default for RuleRevisionBuilder
impl Default for RuleRevisionBuilder
source§fn default() -> RuleRevisionBuilder
fn default() -> RuleRevisionBuilder
source§impl PartialEq for RuleRevisionBuilder
impl PartialEq for RuleRevisionBuilder
impl StructuralPartialEq for RuleRevisionBuilder
Auto Trait Implementations§
impl Freeze for RuleRevisionBuilder
impl RefUnwindSafe for RuleRevisionBuilder
impl Send for RuleRevisionBuilder
impl Sync for RuleRevisionBuilder
impl Unpin for RuleRevisionBuilder
impl UnwindSafe for RuleRevisionBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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