#[non_exhaustive]pub struct CaptureContentTypeHeaderBuilder { /* private fields */ }
Expand description
A builder for CaptureContentTypeHeader
.
Implementations§
source§impl CaptureContentTypeHeaderBuilder
impl CaptureContentTypeHeaderBuilder
sourcepub fn csv_content_types(self, input: impl Into<String>) -> Self
pub fn csv_content_types(self, input: impl Into<String>) -> Self
Appends an item to csv_content_types
.
To override the contents of this collection use set_csv_content_types
.
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
sourcepub fn set_csv_content_types(self, input: Option<Vec<String>>) -> Self
pub fn set_csv_content_types(self, input: Option<Vec<String>>) -> Self
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
sourcepub fn get_csv_content_types(&self) -> &Option<Vec<String>>
pub fn get_csv_content_types(&self) -> &Option<Vec<String>>
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
sourcepub fn json_content_types(self, input: impl Into<String>) -> Self
pub fn json_content_types(self, input: impl Into<String>) -> Self
Appends an item to json_content_types
.
To override the contents of this collection use set_json_content_types
.
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
sourcepub fn set_json_content_types(self, input: Option<Vec<String>>) -> Self
pub fn set_json_content_types(self, input: Option<Vec<String>>) -> Self
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
sourcepub fn get_json_content_types(&self) -> &Option<Vec<String>>
pub fn get_json_content_types(&self) -> &Option<Vec<String>>
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
sourcepub fn build(self) -> CaptureContentTypeHeader
pub fn build(self) -> CaptureContentTypeHeader
Consumes the builder and constructs a CaptureContentTypeHeader
.
Trait Implementations§
source§impl Clone for CaptureContentTypeHeaderBuilder
impl Clone for CaptureContentTypeHeaderBuilder
source§fn clone(&self) -> CaptureContentTypeHeaderBuilder
fn clone(&self) -> CaptureContentTypeHeaderBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CaptureContentTypeHeaderBuilder
impl Default for CaptureContentTypeHeaderBuilder
source§fn default() -> CaptureContentTypeHeaderBuilder
fn default() -> CaptureContentTypeHeaderBuilder
source§impl PartialEq for CaptureContentTypeHeaderBuilder
impl PartialEq for CaptureContentTypeHeaderBuilder
source§fn eq(&self, other: &CaptureContentTypeHeaderBuilder) -> bool
fn eq(&self, other: &CaptureContentTypeHeaderBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CaptureContentTypeHeaderBuilder
Auto Trait Implementations§
impl Freeze for CaptureContentTypeHeaderBuilder
impl RefUnwindSafe for CaptureContentTypeHeaderBuilder
impl Send for CaptureContentTypeHeaderBuilder
impl Sync for CaptureContentTypeHeaderBuilder
impl Unpin for CaptureContentTypeHeaderBuilder
impl UnwindSafe for CaptureContentTypeHeaderBuilder
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
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)
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>
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>
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 more