Struct aws_sdk_sagemaker::model::collection_configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CollectionConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn collection_name(self, input: impl Into<String>) -> Self
pub fn collection_name(self, input: impl Into<String>) -> Self
The name of the tensor collection. The name must be unique relative to other rule configuration names.
sourcepub fn set_collection_name(self, input: Option<String>) -> Self
pub fn set_collection_name(self, input: Option<String>) -> Self
The name of the tensor collection. The name must be unique relative to other rule configuration names.
sourcepub fn collection_parameters(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn collection_parameters(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to collection_parameters
.
To override the contents of this collection use set_collection_parameters
.
Parameter values for the tensor collection. The allowed parameters are "name"
, "include_regex"
, "reduction_config"
, "save_config"
, "tensor_names"
, and "save_histogram"
.
sourcepub fn set_collection_parameters(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_collection_parameters(
self,
input: Option<HashMap<String, String>>
) -> Self
Parameter values for the tensor collection. The allowed parameters are "name"
, "include_regex"
, "reduction_config"
, "save_config"
, "tensor_names"
, and "save_histogram"
.
sourcepub fn build(self) -> CollectionConfiguration
pub fn build(self) -> CollectionConfiguration
Consumes the builder and constructs a CollectionConfiguration
.