Struct aws_sdk_codebuild::types::builders::ResolvedArtifactBuilder
source · #[non_exhaustive]pub struct ResolvedArtifactBuilder { /* private fields */ }
Expand description
A builder for ResolvedArtifact
.
Implementations§
source§impl ResolvedArtifactBuilder
impl ResolvedArtifactBuilder
sourcepub fn type(self, input: ArtifactsType) -> Self
pub fn type(self, input: ArtifactsType) -> Self
Specifies the type of artifact.
sourcepub fn set_type(self, input: Option<ArtifactsType>) -> Self
pub fn set_type(self, input: Option<ArtifactsType>) -> Self
Specifies the type of artifact.
sourcepub fn get_type(&self) -> &Option<ArtifactsType>
pub fn get_type(&self) -> &Option<ArtifactsType>
Specifies the type of artifact.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The location of the artifact.
sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
The location of the artifact.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The identifier of the artifact.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The identifier of the artifact.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The identifier of the artifact.
sourcepub fn build(self) -> ResolvedArtifact
pub fn build(self) -> ResolvedArtifact
Consumes the builder and constructs a ResolvedArtifact
.
Trait Implementations§
source§impl Clone for ResolvedArtifactBuilder
impl Clone for ResolvedArtifactBuilder
source§fn clone(&self) -> ResolvedArtifactBuilder
fn clone(&self) -> ResolvedArtifactBuilder
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 ResolvedArtifactBuilder
impl Debug for ResolvedArtifactBuilder
source§impl Default for ResolvedArtifactBuilder
impl Default for ResolvedArtifactBuilder
source§fn default() -> ResolvedArtifactBuilder
fn default() -> ResolvedArtifactBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ResolvedArtifactBuilder
impl PartialEq for ResolvedArtifactBuilder
source§fn eq(&self, other: &ResolvedArtifactBuilder) -> bool
fn eq(&self, other: &ResolvedArtifactBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResolvedArtifactBuilder
Auto Trait Implementations§
impl Freeze for ResolvedArtifactBuilder
impl RefUnwindSafe for ResolvedArtifactBuilder
impl Send for ResolvedArtifactBuilder
impl Sync for ResolvedArtifactBuilder
impl Unpin for ResolvedArtifactBuilder
impl UnwindSafe for ResolvedArtifactBuilder
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.