Struct aws_sdk_sagemaker::model::context_source::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ContextSource
.
Implementations§
source§impl Builder
impl Builder
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_type(self, input: impl Into<String>) -> Self
pub fn source_type(self, input: impl Into<String>) -> Self
The type of the source.
sourcepub fn set_source_type(self, input: Option<String>) -> Self
pub fn set_source_type(self, input: Option<String>) -> Self
The type of the source.
sourcepub fn set_source_id(self, input: Option<String>) -> Self
pub fn set_source_id(self, input: Option<String>) -> Self
The ID of the source.
sourcepub fn build(self) -> ContextSource
pub fn build(self) -> ContextSource
Consumes the builder and constructs a ContextSource
.