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.
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.
sourcepub fn get_sage_maker_image_version_alias(&self) -> &Option<String>
pub fn get_sage_maker_image_version_alias(&self) -> &Option<String>
The SageMakerImageVersionAlias.
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 ==
.