#[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
impl StructuralPartialEq for ArtifactLocationBuilder
Auto Trait Implementations§
impl Freeze for ArtifactLocationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.