#[non_exhaustive]pub struct UpdateImageInputBuilder { /* private fields */ }
Expand description
A builder for UpdateImageInput
.
Implementations§
source§impl UpdateImageInputBuilder
impl UpdateImageInputBuilder
sourcepub fn delete_properties(self, input: impl Into<String>) -> Self
pub fn delete_properties(self, input: impl Into<String>) -> Self
Appends an item to delete_properties
.
To override the contents of this collection use set_delete_properties
.
A list of properties to delete. Only the Description
and DisplayName
properties can be deleted.
sourcepub fn set_delete_properties(self, input: Option<Vec<String>>) -> Self
pub fn set_delete_properties(self, input: Option<Vec<String>>) -> Self
A list of properties to delete. Only the Description
and DisplayName
properties can be deleted.
sourcepub fn get_delete_properties(&self) -> &Option<Vec<String>>
pub fn get_delete_properties(&self) -> &Option<Vec<String>>
A list of properties to delete. Only the Description
and DisplayName
properties can be deleted.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The new description for the image.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The new description for the image.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The new description for the image.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The new display name for the image.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The new display name for the image.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The new display name for the image.
sourcepub fn image_name(self, input: impl Into<String>) -> Self
pub fn image_name(self, input: impl Into<String>) -> Self
The name of the image to update.
This field is required.sourcepub fn set_image_name(self, input: Option<String>) -> Self
pub fn set_image_name(self, input: Option<String>) -> Self
The name of the image to update.
sourcepub fn get_image_name(&self) -> &Option<String>
pub fn get_image_name(&self) -> &Option<String>
The name of the image to update.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The new ARN for the IAM role that enables Amazon SageMaker to perform tasks on your behalf.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The new ARN for the IAM role that enables Amazon SageMaker to perform tasks on your behalf.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The new ARN for the IAM role that enables Amazon SageMaker to perform tasks on your behalf.
sourcepub fn build(self) -> Result<UpdateImageInput, BuildError>
pub fn build(self) -> Result<UpdateImageInput, BuildError>
Consumes the builder and constructs a UpdateImageInput
.
source§impl UpdateImageInputBuilder
impl UpdateImageInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateImageOutput, SdkError<UpdateImageError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateImageOutput, SdkError<UpdateImageError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateImageInputBuilder
impl Clone for UpdateImageInputBuilder
source§fn clone(&self) -> UpdateImageInputBuilder
fn clone(&self) -> UpdateImageInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateImageInputBuilder
impl Debug for UpdateImageInputBuilder
source§impl Default for UpdateImageInputBuilder
impl Default for UpdateImageInputBuilder
source§fn default() -> UpdateImageInputBuilder
fn default() -> UpdateImageInputBuilder
source§impl PartialEq for UpdateImageInputBuilder
impl PartialEq for UpdateImageInputBuilder
impl StructuralPartialEq for UpdateImageInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateImageInputBuilder
impl RefUnwindSafe for UpdateImageInputBuilder
impl Send for UpdateImageInputBuilder
impl Sync for UpdateImageInputBuilder
impl Unpin for UpdateImageInputBuilder
impl UnwindSafe for UpdateImageInputBuilder
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