Struct aws_sdk_sagemaker::types::builders::ArtifactSourceBuilder
source · #[non_exhaustive]pub struct ArtifactSourceBuilder { /* private fields */ }
Expand description
A builder for ArtifactSource
.
Implementations§
source§impl ArtifactSourceBuilder
impl ArtifactSourceBuilder
sourcepub fn source_uri(self, input: impl Into<String>) -> Self
pub fn source_uri(self, input: impl Into<String>) -> Self
The URI of the source.
sourcepub fn set_source_uri(self, input: Option<String>) -> Self
pub fn set_source_uri(self, input: Option<String>) -> Self
The URI of the source.
sourcepub fn source_types(self, input: ArtifactSourceType) -> Self
pub fn source_types(self, input: ArtifactSourceType) -> Self
Appends an item to source_types
.
To override the contents of this collection use set_source_types
.
A list of source types.
sourcepub fn set_source_types(self, input: Option<Vec<ArtifactSourceType>>) -> Self
pub fn set_source_types(self, input: Option<Vec<ArtifactSourceType>>) -> Self
A list of source types.
sourcepub fn build(self) -> ArtifactSource
pub fn build(self) -> ArtifactSource
Consumes the builder and constructs a ArtifactSource
.
Trait Implementations§
source§impl Clone for ArtifactSourceBuilder
impl Clone for ArtifactSourceBuilder
source§fn clone(&self) -> ArtifactSourceBuilder
fn clone(&self) -> ArtifactSourceBuilder
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 ArtifactSourceBuilder
impl Debug for ArtifactSourceBuilder
source§impl Default for ArtifactSourceBuilder
impl Default for ArtifactSourceBuilder
source§fn default() -> ArtifactSourceBuilder
fn default() -> ArtifactSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ArtifactSourceBuilder> for ArtifactSourceBuilder
impl PartialEq<ArtifactSourceBuilder> for ArtifactSourceBuilder
source§fn eq(&self, other: &ArtifactSourceBuilder) -> bool
fn eq(&self, other: &ArtifactSourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.