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 get_content_type(&self) -> &Option<String>
pub fn get_content_type(&self) -> &Option<String>
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 get_content_digest(&self) -> &Option<String>
pub fn get_content_digest(&self) -> &Option<String>
The digest of the file source.
sourcepub fn s3_uri(self, input: impl Into<String>) -> Self
pub fn s3_uri(self, input: impl Into<String>) -> Self
The Amazon S3 URI for the file source.
This field is required.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 get_s3_uri(&self) -> &Option<String>
pub fn get_s3_uri(&self) -> &Option<String>
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 for FileSourceBuilder
impl PartialEq for FileSourceBuilder
impl StructuralPartialEq for FileSourceBuilder
Auto Trait Implementations§
impl Freeze for FileSourceBuilder
impl RefUnwindSafe for FileSourceBuilder
impl Send for FileSourceBuilder
impl Sync for FileSourceBuilder
impl Unpin for FileSourceBuilder
impl UnwindSafe for FileSourceBuilder
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.