Struct aws_sdk_codepipeline::types::builders::ArtifactBuilder
source · #[non_exhaustive]pub struct ArtifactBuilder { /* private fields */ }
Expand description
A builder for Artifact
.
Implementations§
source§impl ArtifactBuilder
impl ArtifactBuilder
sourcepub fn revision(self, input: impl Into<String>) -> Self
pub fn revision(self, input: impl Into<String>) -> Self
The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).
sourcepub fn set_revision(self, input: Option<String>) -> Self
pub fn set_revision(self, input: Option<String>) -> Self
The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).
sourcepub fn get_revision(&self) -> &Option<String>
pub fn get_revision(&self) -> &Option<String>
The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).
sourcepub fn location(self, input: ArtifactLocation) -> Self
pub fn location(self, input: ArtifactLocation) -> Self
The location of an artifact.
sourcepub fn set_location(self, input: Option<ArtifactLocation>) -> Self
pub fn set_location(self, input: Option<ArtifactLocation>) -> Self
The location of an artifact.
sourcepub fn get_location(&self) -> &Option<ArtifactLocation>
pub fn get_location(&self) -> &Option<ArtifactLocation>
The location of an artifact.
Trait Implementations§
source§impl Clone for ArtifactBuilder
impl Clone for ArtifactBuilder
source§fn clone(&self) -> ArtifactBuilder
fn clone(&self) -> ArtifactBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ArtifactBuilder
impl Debug for ArtifactBuilder
source§impl Default for ArtifactBuilder
impl Default for ArtifactBuilder
source§fn default() -> ArtifactBuilder
fn default() -> ArtifactBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ArtifactBuilder
impl PartialEq for ArtifactBuilder
source§fn eq(&self, other: &ArtifactBuilder) -> bool
fn eq(&self, other: &ArtifactBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ArtifactBuilder
Auto Trait Implementations§
impl Freeze for ArtifactBuilder
impl RefUnwindSafe for ArtifactBuilder
impl Send for ArtifactBuilder
impl Sync for ArtifactBuilder
impl Unpin for ArtifactBuilder
impl UnwindSafe for ArtifactBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.