Struct aws_sdk_sagemaker::model::resource_spec::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ResourceSpec
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> ResourceSpec
pub fn build(self) -> ResourceSpec
Consumes the builder and constructs a ResourceSpec
.