Struct aws_sdk_sagemaker::types::builders::FileSourceBuilder
source · #[non_exhaustive]pub struct FileSourceBuilder { /* private fields */ }
Expand description
A builder for FileSource
.
Implementations§
source§impl FileSourceBuilder
impl FileSourceBuilder
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
The type of content stored in the file source.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
The type of content stored in the file source.
sourcepub fn content_digest(self, input: impl Into<String>) -> Self
pub fn content_digest(self, input: impl Into<String>) -> Self
The digest of the file source.
sourcepub fn set_content_digest(self, input: Option<String>) -> Self
pub fn set_content_digest(self, input: Option<String>) -> Self
The digest of the file source.
sourcepub fn set_s3_uri(self, input: Option<String>) -> Self
pub fn set_s3_uri(self, input: Option<String>) -> Self
The Amazon S3 URI for the file source.
sourcepub fn build(self) -> FileSource
pub fn build(self) -> FileSource
Consumes the builder and constructs a FileSource
.
Trait Implementations§
source§impl Clone for FileSourceBuilder
impl Clone for FileSourceBuilder
source§fn clone(&self) -> FileSourceBuilder
fn clone(&self) -> FileSourceBuilder
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 FileSourceBuilder
impl Debug for FileSourceBuilder
source§impl Default for FileSourceBuilder
impl Default for FileSourceBuilder
source§fn default() -> FileSourceBuilder
fn default() -> FileSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<FileSourceBuilder> for FileSourceBuilder
impl PartialEq<FileSourceBuilder> for FileSourceBuilder
source§fn eq(&self, other: &FileSourceBuilder) -> bool
fn eq(&self, other: &FileSourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.