Struct aws_sdk_codepipeline::types::builders::ActionRevisionBuilder
source · #[non_exhaustive]pub struct ActionRevisionBuilder { /* private fields */ }
Expand description
A builder for ActionRevision
.
Implementations§
source§impl ActionRevisionBuilder
impl ActionRevisionBuilder
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 action.
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 action.
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 action.
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 action 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 action 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 action was created, in timestamp format.
sourcepub fn build(self) -> Result<ActionRevision, BuildError>
pub fn build(self) -> Result<ActionRevision, BuildError>
Consumes the builder and constructs a ActionRevision
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ActionRevisionBuilder
impl Clone for ActionRevisionBuilder
source§fn clone(&self) -> ActionRevisionBuilder
fn clone(&self) -> ActionRevisionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActionRevisionBuilder
impl Debug for ActionRevisionBuilder
source§impl Default for ActionRevisionBuilder
impl Default for ActionRevisionBuilder
source§fn default() -> ActionRevisionBuilder
fn default() -> ActionRevisionBuilder
source§impl PartialEq for ActionRevisionBuilder
impl PartialEq for ActionRevisionBuilder
source§fn eq(&self, other: &ActionRevisionBuilder) -> bool
fn eq(&self, other: &ActionRevisionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActionRevisionBuilder
Auto Trait Implementations§
impl Freeze for ActionRevisionBuilder
impl RefUnwindSafe for ActionRevisionBuilder
impl Send for ActionRevisionBuilder
impl Sync for ActionRevisionBuilder
impl Unpin for ActionRevisionBuilder
impl UnwindSafe for ActionRevisionBuilder
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