Struct aws_sdk_codebuild::model::resolved_artifact::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ResolvedArtifact
.
Implementations
sourceimpl Builder
impl Builder
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 set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
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 build(self) -> ResolvedArtifact
pub fn build(self) -> ResolvedArtifact
Consumes the builder and constructs a ResolvedArtifact
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more