pub struct Builder { /* private fields */ }
Expand description
A builder for CreateModelCardExportJobInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn model_card_name(self, input: impl Into<String>) -> Self
pub fn model_card_name(self, input: impl Into<String>) -> Self
The name of the model card to export.
sourcepub fn set_model_card_name(self, input: Option<String>) -> Self
pub fn set_model_card_name(self, input: Option<String>) -> Self
The name of the model card to export.
sourcepub fn model_card_version(self, input: i32) -> Self
pub fn model_card_version(self, input: i32) -> Self
The version of the model card to export. If a version is not provided, then the latest version of the model card is exported.
sourcepub fn set_model_card_version(self, input: Option<i32>) -> Self
pub fn set_model_card_version(self, input: Option<i32>) -> Self
The version of the model card to export. If a version is not provided, then the latest version of the model card is exported.
sourcepub fn model_card_export_job_name(self, input: impl Into<String>) -> Self
pub fn model_card_export_job_name(self, input: impl Into<String>) -> Self
The name of the model card export job.
sourcepub fn set_model_card_export_job_name(self, input: Option<String>) -> Self
pub fn set_model_card_export_job_name(self, input: Option<String>) -> Self
The name of the model card export job.
sourcepub fn output_config(self, input: ModelCardExportOutputConfig) -> Self
pub fn output_config(self, input: ModelCardExportOutputConfig) -> Self
The model card output configuration that specifies the Amazon S3 path for exporting.
sourcepub fn set_output_config(
self,
input: Option<ModelCardExportOutputConfig>
) -> Self
pub fn set_output_config(
self,
input: Option<ModelCardExportOutputConfig>
) -> Self
The model card output configuration that specifies the Amazon S3 path for exporting.
sourcepub fn build(self) -> Result<CreateModelCardExportJobInput, BuildError>
pub fn build(self) -> Result<CreateModelCardExportJobInput, BuildError>
Consumes the builder and constructs a CreateModelCardExportJobInput
.