#[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 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 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 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
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 Default for CaptureContentTypeHeaderBuilder
impl Default for CaptureContentTypeHeaderBuilder
source§fn default() -> CaptureContentTypeHeaderBuilder
fn default() -> CaptureContentTypeHeaderBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CaptureContentTypeHeaderBuilder> for CaptureContentTypeHeaderBuilder
impl PartialEq<CaptureContentTypeHeaderBuilder> for CaptureContentTypeHeaderBuilder
source§fn eq(&self, other: &CaptureContentTypeHeaderBuilder) -> bool
fn eq(&self, other: &CaptureContentTypeHeaderBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.