#[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 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 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<ArtifactLocationBuilder> for ArtifactLocationBuilder
impl PartialEq<ArtifactLocationBuilder> 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 ==.