Struct aws_sdk_sagemaker::types::builders::CustomImageBuilder
source · #[non_exhaustive]pub struct CustomImageBuilder { /* private fields */ }
Expand description
A builder for CustomImage
.
Implementations§
source§impl CustomImageBuilder
impl CustomImageBuilder
sourcepub fn image_name(self, input: impl Into<String>) -> Self
pub fn image_name(self, input: impl Into<String>) -> Self
The name of the CustomImage. Must be unique to your account.
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 CustomImage. Must be unique to your account.
sourcepub fn get_image_name(&self) -> &Option<String>
pub fn get_image_name(&self) -> &Option<String>
The name of the CustomImage. Must be unique to your account.
sourcepub fn image_version_number(self, input: i32) -> Self
pub fn image_version_number(self, input: i32) -> Self
The version number of the CustomImage.
sourcepub fn set_image_version_number(self, input: Option<i32>) -> Self
pub fn set_image_version_number(self, input: Option<i32>) -> Self
The version number of the CustomImage.
sourcepub fn get_image_version_number(&self) -> &Option<i32>
pub fn get_image_version_number(&self) -> &Option<i32>
The version number of the CustomImage.
sourcepub fn app_image_config_name(self, input: impl Into<String>) -> Self
pub fn app_image_config_name(self, input: impl Into<String>) -> Self
The name of the AppImageConfig.
This field is required.sourcepub fn set_app_image_config_name(self, input: Option<String>) -> Self
pub fn set_app_image_config_name(self, input: Option<String>) -> Self
The name of the AppImageConfig.
sourcepub fn get_app_image_config_name(&self) -> &Option<String>
pub fn get_app_image_config_name(&self) -> &Option<String>
The name of the AppImageConfig.
sourcepub fn build(self) -> CustomImage
pub fn build(self) -> CustomImage
Consumes the builder and constructs a CustomImage
.
Trait Implementations§
source§impl Clone for CustomImageBuilder
impl Clone for CustomImageBuilder
source§fn clone(&self) -> CustomImageBuilder
fn clone(&self) -> CustomImageBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CustomImageBuilder
impl Debug for CustomImageBuilder
source§impl Default for CustomImageBuilder
impl Default for CustomImageBuilder
source§fn default() -> CustomImageBuilder
fn default() -> CustomImageBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CustomImageBuilder
impl PartialEq for CustomImageBuilder
source§fn eq(&self, other: &CustomImageBuilder) -> bool
fn eq(&self, other: &CustomImageBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomImageBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CustomImageBuilder
impl Send for CustomImageBuilder
impl Sync for CustomImageBuilder
impl Unpin for CustomImageBuilder
impl UnwindSafe for CustomImageBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.