Struct aws_sdk_sagemaker::types::builders::ImageBuilder
source · #[non_exhaustive]pub struct ImageBuilder { /* private fields */ }
Expand description
A builder for Image
.
Implementations§
source§impl ImageBuilder
impl ImageBuilder
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
When the image was created.
This field is required.sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
When the image was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
When the image was created.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the image.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the image.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the image.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The name of the image as displayed.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The name of the image as displayed.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The name of the image as displayed.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
When a create, update, or delete operation fails, the reason for the failure.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
When a create, update, or delete operation fails, the reason for the failure.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
When a create, update, or delete operation fails, the reason for the failure.
sourcepub fn image_arn(self, input: impl Into<String>) -> Self
pub fn image_arn(self, input: impl Into<String>) -> Self
The ARN of the image.
This field is required.sourcepub fn set_image_arn(self, input: Option<String>) -> Self
pub fn set_image_arn(self, input: Option<String>) -> Self
The ARN of the image.
sourcepub fn get_image_arn(&self) -> &Option<String>
pub fn get_image_arn(&self) -> &Option<String>
The ARN of 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.
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.
sourcepub fn get_image_name(&self) -> &Option<String>
pub fn get_image_name(&self) -> &Option<String>
The name of the image.
sourcepub fn image_status(self, input: ImageStatus) -> Self
pub fn image_status(self, input: ImageStatus) -> Self
The status of the image.
This field is required.sourcepub fn set_image_status(self, input: Option<ImageStatus>) -> Self
pub fn set_image_status(self, input: Option<ImageStatus>) -> Self
The status of the image.
sourcepub fn get_image_status(&self) -> &Option<ImageStatus>
pub fn get_image_status(&self) -> &Option<ImageStatus>
The status of the image.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
When the image was last modified.
This field is required.sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
When the image was last modified.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
When the image was last modified.
Trait Implementations§
source§impl Clone for ImageBuilder
impl Clone for ImageBuilder
source§fn clone(&self) -> ImageBuilder
fn clone(&self) -> ImageBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageBuilder
impl Debug for ImageBuilder
source§impl Default for ImageBuilder
impl Default for ImageBuilder
source§fn default() -> ImageBuilder
fn default() -> ImageBuilder
source§impl PartialEq for ImageBuilder
impl PartialEq for ImageBuilder
source§fn eq(&self, other: &ImageBuilder) -> bool
fn eq(&self, other: &ImageBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.