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<ArtifactBuilder> for ArtifactBuilder
impl PartialEq<ArtifactBuilder> 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 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