Struct aws_sdk_codepipeline::types::builders::SourceRevisionBuilder
source · #[non_exhaustive]pub struct SourceRevisionBuilder { /* private fields */ }
Expand description
A builder for SourceRevision
.
Implementations§
source§impl SourceRevisionBuilder
impl SourceRevisionBuilder
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 that processed the revision to the source artifact.
This field is required.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 that processed the revision to the source artifact.
sourcepub fn get_action_name(&self) -> &Option<String>
pub fn get_action_name(&self) -> &Option<String>
The name of the action that processed the revision to the source artifact.
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 artifact.
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 artifact.
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 artifact.
sourcepub fn revision_summary(self, input: impl Into<String>) -> Self
pub fn revision_summary(self, input: impl Into<String>) -> Self
Summary information about the most recent revision of the artifact. For GitHub and CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a codepipeline-artifact-revision-summary
key specified in the object metadata.
sourcepub fn set_revision_summary(self, input: Option<String>) -> Self
pub fn set_revision_summary(self, input: Option<String>) -> Self
Summary information about the most recent revision of the artifact. For GitHub and CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a codepipeline-artifact-revision-summary
key specified in the object metadata.
sourcepub fn get_revision_summary(&self) -> &Option<String>
pub fn get_revision_summary(&self) -> &Option<String>
Summary information about the most recent revision of the artifact. For GitHub and CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a codepipeline-artifact-revision-summary
key specified in the object metadata.
sourcepub fn revision_url(self, input: impl Into<String>) -> Self
pub fn revision_url(self, input: impl Into<String>) -> Self
The commit ID for the artifact revision. For artifacts stored in GitHub or CodeCommit repositories, the commit ID is linked to a commit details page.
sourcepub fn set_revision_url(self, input: Option<String>) -> Self
pub fn set_revision_url(self, input: Option<String>) -> Self
The commit ID for the artifact revision. For artifacts stored in GitHub or CodeCommit repositories, the commit ID is linked to a commit details page.
sourcepub fn get_revision_url(&self) -> &Option<String>
pub fn get_revision_url(&self) -> &Option<String>
The commit ID for the artifact revision. For artifacts stored in GitHub or CodeCommit repositories, the commit ID is linked to a commit details page.
sourcepub fn build(self) -> Result<SourceRevision, BuildError>
pub fn build(self) -> Result<SourceRevision, BuildError>
Consumes the builder and constructs a SourceRevision
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SourceRevisionBuilder
impl Clone for SourceRevisionBuilder
source§fn clone(&self) -> SourceRevisionBuilder
fn clone(&self) -> SourceRevisionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SourceRevisionBuilder
impl Debug for SourceRevisionBuilder
source§impl Default for SourceRevisionBuilder
impl Default for SourceRevisionBuilder
source§fn default() -> SourceRevisionBuilder
fn default() -> SourceRevisionBuilder
source§impl PartialEq for SourceRevisionBuilder
impl PartialEq for SourceRevisionBuilder
impl StructuralPartialEq for SourceRevisionBuilder
Auto Trait Implementations§
impl Freeze for SourceRevisionBuilder
impl RefUnwindSafe for SourceRevisionBuilder
impl Send for SourceRevisionBuilder
impl Sync for SourceRevisionBuilder
impl Unpin for SourceRevisionBuilder
impl UnwindSafe for SourceRevisionBuilder
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