#[non_exhaustive]pub struct ArtifactLocationBuilder { /* private fields */ }
Expand description
A builder for ArtifactLocation
.
Implementations§
source§impl ArtifactLocationBuilder
impl ArtifactLocationBuilder
sourcepub fn type(self, input: ArtifactLocationType) -> Self
pub fn type(self, input: ArtifactLocationType) -> Self
The type of artifact in the location.
sourcepub fn set_type(self, input: Option<ArtifactLocationType>) -> Self
pub fn set_type(self, input: Option<ArtifactLocationType>) -> Self
The type of artifact in the location.
sourcepub fn get_type(&self) -> &Option<ArtifactLocationType>
pub fn get_type(&self) -> &Option<ArtifactLocationType>
The type of artifact in the location.
sourcepub fn s3_location(self, input: S3ArtifactLocation) -> Self
pub fn s3_location(self, input: S3ArtifactLocation) -> Self
The S3 bucket that contains the artifact.
sourcepub fn set_s3_location(self, input: Option<S3ArtifactLocation>) -> Self
pub fn set_s3_location(self, input: Option<S3ArtifactLocation>) -> Self
The S3 bucket that contains the artifact.
sourcepub fn get_s3_location(&self) -> &Option<S3ArtifactLocation>
pub fn get_s3_location(&self) -> &Option<S3ArtifactLocation>
The S3 bucket that contains the artifact.
sourcepub fn build(self) -> ArtifactLocation
pub fn build(self) -> ArtifactLocation
Consumes the builder and constructs a ArtifactLocation
.
Trait Implementations§
source§impl Clone for ArtifactLocationBuilder
impl Clone for ArtifactLocationBuilder
source§fn clone(&self) -> ArtifactLocationBuilder
fn clone(&self) -> ArtifactLocationBuilder
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 ArtifactLocationBuilder
impl Debug for ArtifactLocationBuilder
source§impl Default for ArtifactLocationBuilder
impl Default for ArtifactLocationBuilder
source§fn default() -> ArtifactLocationBuilder
fn default() -> ArtifactLocationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ArtifactLocationBuilder
impl PartialEq for ArtifactLocationBuilder
source§fn eq(&self, other: &ArtifactLocationBuilder) -> bool
fn eq(&self, other: &ArtifactLocationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ArtifactLocationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ArtifactLocationBuilder
impl Send for ArtifactLocationBuilder
impl Sync for ArtifactLocationBuilder
impl Unpin for ArtifactLocationBuilder
impl UnwindSafe for ArtifactLocationBuilder
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.