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 ==
.impl StructuralPartialEq for CreateModelPackageGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateModelPackageGroupInputBuilder
impl RefUnwindSafe for CreateModelPackageGroupInputBuilder
impl Send for CreateModelPackageGroupInputBuilder
impl Sync for CreateModelPackageGroupInputBuilder
impl Unpin for CreateModelPackageGroupInputBuilder
impl UnwindSafe for CreateModelPackageGroupInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more