Struct aws_sdk_sagemaker::input::update_image_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateImageInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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.
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 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 build(self) -> Result<UpdateImageInput, BuildError>
pub fn build(self) -> Result<UpdateImageInput, BuildError>
Consumes the builder and constructs a UpdateImageInput
.