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
impl StructuralPartialEq for CustomImageBuilder
Auto Trait Implementations§
impl Freeze for CustomImageBuilder
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> 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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.