Struct aws_sdk_sagemaker::input::describe_model_card_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeModelCardInput
.
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 describe.
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 describe.
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 describe. If a version is not provided, then the latest version of the model card is described.
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 describe. If a version is not provided, then the latest version of the model card is described.
sourcepub fn build(self) -> Result<DescribeModelCardInput, BuildError>
pub fn build(self) -> Result<DescribeModelCardInput, BuildError>
Consumes the builder and constructs a DescribeModelCardInput
.