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 ==
.