Struct aws_sdk_sagemaker::operation::create_model_package_group::builders::CreateModelPackageGroupInputBuilder
source · #[non_exhaustive]pub struct CreateModelPackageGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateModelPackageGroupInput
.
Implementations§
source§impl CreateModelPackageGroupInputBuilder
impl CreateModelPackageGroupInputBuilder
sourcepub fn model_package_group_name(self, input: impl Into<String>) -> Self
pub fn model_package_group_name(self, input: impl Into<String>) -> Self
The name of the model group.
This field is required.sourcepub fn set_model_package_group_name(self, input: Option<String>) -> Self
pub fn set_model_package_group_name(self, input: Option<String>) -> Self
The name of the model group.
sourcepub fn get_model_package_group_name(&self) -> &Option<String>
pub fn get_model_package_group_name(&self) -> &Option<String>
The name of the model group.
sourcepub fn model_package_group_description(self, input: impl Into<String>) -> Self
pub fn model_package_group_description(self, input: impl Into<String>) -> Self
A description for the model group.
sourcepub fn set_model_package_group_description(self, input: Option<String>) -> Self
pub fn set_model_package_group_description(self, input: Option<String>) -> Self
A description for the model group.
sourcepub fn get_model_package_group_description(&self) -> &Option<String>
pub fn get_model_package_group_description(&self) -> &Option<String>
A description for the model group.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of key value pairs associated with the model group. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
A list of key value pairs associated with the model group. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
A list of key value pairs associated with the model group. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
sourcepub fn build(self) -> Result<CreateModelPackageGroupInput, BuildError>
pub fn build(self) -> Result<CreateModelPackageGroupInput, BuildError>
Consumes the builder and constructs a CreateModelPackageGroupInput
.
source§impl CreateModelPackageGroupInputBuilder
impl CreateModelPackageGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateModelPackageGroupOutput, SdkError<CreateModelPackageGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateModelPackageGroupOutput, SdkError<CreateModelPackageGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateModelPackageGroupInputBuilder
impl Clone for CreateModelPackageGroupInputBuilder
source§fn clone(&self) -> CreateModelPackageGroupInputBuilder
fn clone(&self) -> CreateModelPackageGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateModelPackageGroupInputBuilder
impl Default for CreateModelPackageGroupInputBuilder
source§fn default() -> CreateModelPackageGroupInputBuilder
fn default() -> CreateModelPackageGroupInputBuilder
source§impl PartialEq for CreateModelPackageGroupInputBuilder
impl PartialEq for CreateModelPackageGroupInputBuilder
source§fn eq(&self, other: &CreateModelPackageGroupInputBuilder) -> bool
fn eq(&self, other: &CreateModelPackageGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.