Struct aws_sdk_sagemaker::types::builders::AutoMlJobChannelBuilder
source · #[non_exhaustive]pub struct AutoMlJobChannelBuilder { /* private fields */ }
Expand description
A builder for AutoMlJobChannel
.
Implementations§
source§impl AutoMlJobChannelBuilder
impl AutoMlJobChannelBuilder
sourcepub fn channel_type(self, input: AutoMlChannelType) -> Self
pub fn channel_type(self, input: AutoMlChannelType) -> Self
The type of channel. Defines whether the data are used for training or validation. The default value is training
. Channels for training
and validation
must share the same ContentType
sourcepub fn set_channel_type(self, input: Option<AutoMlChannelType>) -> Self
pub fn set_channel_type(self, input: Option<AutoMlChannelType>) -> Self
The type of channel. Defines whether the data are used for training or validation. The default value is training
. Channels for training
and validation
must share the same ContentType
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
The content type of the data from the input source. The following are the allowed content types for different problems:
-
ImageClassification:
image/png
,image/jpeg
,image/*
-
TextClassification:
text/csv;header=present
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
The content type of the data from the input source. The following are the allowed content types for different problems:
-
ImageClassification:
image/png
,image/jpeg
,image/*
-
TextClassification:
text/csv;header=present
sourcepub fn compression_type(self, input: CompressionType) -> Self
pub fn compression_type(self, input: CompressionType) -> Self
The allowed compression types depend on the input format. We allow the compression type Gzip
for S3Prefix
inputs only. For all other inputs, the compression type should be None
. If no compression type is provided, we default to None
.
sourcepub fn set_compression_type(self, input: Option<CompressionType>) -> Self
pub fn set_compression_type(self, input: Option<CompressionType>) -> Self
The allowed compression types depend on the input format. We allow the compression type Gzip
for S3Prefix
inputs only. For all other inputs, the compression type should be None
. If no compression type is provided, we default to None
.
sourcepub fn data_source(self, input: AutoMlDataSource) -> Self
pub fn data_source(self, input: AutoMlDataSource) -> Self
The data source for an AutoML channel.
sourcepub fn set_data_source(self, input: Option<AutoMlDataSource>) -> Self
pub fn set_data_source(self, input: Option<AutoMlDataSource>) -> Self
The data source for an AutoML channel.
sourcepub fn build(self) -> AutoMlJobChannel
pub fn build(self) -> AutoMlJobChannel
Consumes the builder and constructs a AutoMlJobChannel
.
Trait Implementations§
source§impl Clone for AutoMlJobChannelBuilder
impl Clone for AutoMlJobChannelBuilder
source§fn clone(&self) -> AutoMlJobChannelBuilder
fn clone(&self) -> AutoMlJobChannelBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoMlJobChannelBuilder
impl Debug for AutoMlJobChannelBuilder
source§impl Default for AutoMlJobChannelBuilder
impl Default for AutoMlJobChannelBuilder
source§fn default() -> AutoMlJobChannelBuilder
fn default() -> AutoMlJobChannelBuilder
source§impl PartialEq<AutoMlJobChannelBuilder> for AutoMlJobChannelBuilder
impl PartialEq<AutoMlJobChannelBuilder> for AutoMlJobChannelBuilder
source§fn eq(&self, other: &AutoMlJobChannelBuilder) -> bool
fn eq(&self, other: &AutoMlJobChannelBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.