Struct aws_sdk_sagemaker::types::builders::ResourceSpecBuilder
source · #[non_exhaustive]pub struct ResourceSpecBuilder { /* private fields */ }
Expand description
A builder for ResourceSpec
.
Implementations§
source§impl ResourceSpecBuilder
impl ResourceSpecBuilder
sourcepub fn sage_maker_image_arn(self, input: impl Into<String>) -> Self
pub fn sage_maker_image_arn(self, input: impl Into<String>) -> Self
The ARN of the SageMaker image that the image version belongs to.
sourcepub fn set_sage_maker_image_arn(self, input: Option<String>) -> Self
pub fn set_sage_maker_image_arn(self, input: Option<String>) -> Self
The ARN of the SageMaker image that the image version belongs to.
sourcepub fn get_sage_maker_image_arn(&self) -> &Option<String>
pub fn get_sage_maker_image_arn(&self) -> &Option<String>
The ARN of the SageMaker image that the image version belongs to.
sourcepub fn sage_maker_image_version_arn(self, input: impl Into<String>) -> Self
pub fn sage_maker_image_version_arn(self, input: impl Into<String>) -> Self
The ARN of the image version created on the instance.
sourcepub fn set_sage_maker_image_version_arn(self, input: Option<String>) -> Self
pub fn set_sage_maker_image_version_arn(self, input: Option<String>) -> Self
The ARN of the image version created on the instance.
sourcepub fn get_sage_maker_image_version_arn(&self) -> &Option<String>
pub fn get_sage_maker_image_version_arn(&self) -> &Option<String>
The ARN of the image version created on the instance.
sourcepub fn sage_maker_image_version_alias(self, input: impl Into<String>) -> Self
pub fn sage_maker_image_version_alias(self, input: impl Into<String>) -> Self
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
sourcepub fn set_sage_maker_image_version_alias(self, input: Option<String>) -> Self
pub fn set_sage_maker_image_version_alias(self, input: Option<String>) -> Self
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
sourcepub fn get_sage_maker_image_version_alias(&self) -> &Option<String>
pub fn get_sage_maker_image_version_alias(&self) -> &Option<String>
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
sourcepub fn instance_type(self, input: AppInstanceType) -> Self
pub fn instance_type(self, input: AppInstanceType) -> Self
The instance type that the image version runs on.
JupyterServer apps only support the system
value.
For KernelGateway apps, the system
value is translated to ml.t3.medium
. KernelGateway apps also support all other values for available instance types.
sourcepub fn set_instance_type(self, input: Option<AppInstanceType>) -> Self
pub fn set_instance_type(self, input: Option<AppInstanceType>) -> Self
The instance type that the image version runs on.
JupyterServer apps only support the system
value.
For KernelGateway apps, the system
value is translated to ml.t3.medium
. KernelGateway apps also support all other values for available instance types.
sourcepub fn get_instance_type(&self) -> &Option<AppInstanceType>
pub fn get_instance_type(&self) -> &Option<AppInstanceType>
The instance type that the image version runs on.
JupyterServer apps only support the system
value.
For KernelGateway apps, the system
value is translated to ml.t3.medium
. KernelGateway apps also support all other values for available instance types.
sourcepub fn lifecycle_config_arn(self, input: impl Into<String>) -> Self
pub fn lifecycle_config_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
sourcepub fn set_lifecycle_config_arn(self, input: Option<String>) -> Self
pub fn set_lifecycle_config_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
sourcepub fn get_lifecycle_config_arn(&self) -> &Option<String>
pub fn get_lifecycle_config_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
sourcepub fn build(self) -> ResourceSpec
pub fn build(self) -> ResourceSpec
Consumes the builder and constructs a ResourceSpec
.
Trait Implementations§
source§impl Clone for ResourceSpecBuilder
impl Clone for ResourceSpecBuilder
source§fn clone(&self) -> ResourceSpecBuilder
fn clone(&self) -> ResourceSpecBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceSpecBuilder
impl Debug for ResourceSpecBuilder
source§impl Default for ResourceSpecBuilder
impl Default for ResourceSpecBuilder
source§fn default() -> ResourceSpecBuilder
fn default() -> ResourceSpecBuilder
source§impl PartialEq for ResourceSpecBuilder
impl PartialEq for ResourceSpecBuilder
source§fn eq(&self, other: &ResourceSpecBuilder) -> bool
fn eq(&self, other: &ResourceSpecBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceSpecBuilder
Auto Trait Implementations§
impl Freeze for ResourceSpecBuilder
impl RefUnwindSafe for ResourceSpecBuilder
impl Send for ResourceSpecBuilder
impl Sync for ResourceSpecBuilder
impl Unpin for ResourceSpecBuilder
impl UnwindSafe for ResourceSpecBuilder
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
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)
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>
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>
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 more