#[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
source§fn eq(&self, other: &UpdateImageInputBuilder) -> bool
fn eq(&self, other: &UpdateImageInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.