Struct aws_sdk_sagemaker::types::builders::EdgeOutputConfigBuilder
source · #[non_exhaustive]pub struct EdgeOutputConfigBuilder { /* private fields */ }
Expand description
A builder for EdgeOutputConfig
.
Implementations§
source§impl EdgeOutputConfigBuilder
impl EdgeOutputConfigBuilder
sourcepub fn s3_output_location(self, input: impl Into<String>) -> Self
pub fn s3_output_location(self, input: impl Into<String>) -> Self
The Amazon Simple Storage (S3) bucker URI.
This field is required.sourcepub fn set_s3_output_location(self, input: Option<String>) -> Self
pub fn set_s3_output_location(self, input: Option<String>) -> Self
The Amazon Simple Storage (S3) bucker URI.
sourcepub fn get_s3_output_location(&self) -> &Option<String>
pub fn get_s3_output_location(&self) -> &Option<String>
The Amazon Simple Storage (S3) bucker URI.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.
sourcepub fn preset_deployment_type(self, input: EdgePresetDeploymentType) -> Self
pub fn preset_deployment_type(self, input: EdgePresetDeploymentType) -> Self
The deployment type SageMaker Edge Manager will create. Currently only supports Amazon Web Services IoT Greengrass Version 2 components.
sourcepub fn set_preset_deployment_type(
self,
input: Option<EdgePresetDeploymentType>,
) -> Self
pub fn set_preset_deployment_type( self, input: Option<EdgePresetDeploymentType>, ) -> Self
The deployment type SageMaker Edge Manager will create. Currently only supports Amazon Web Services IoT Greengrass Version 2 components.
sourcepub fn get_preset_deployment_type(&self) -> &Option<EdgePresetDeploymentType>
pub fn get_preset_deployment_type(&self) -> &Option<EdgePresetDeploymentType>
The deployment type SageMaker Edge Manager will create. Currently only supports Amazon Web Services IoT Greengrass Version 2 components.
sourcepub fn preset_deployment_config(self, input: impl Into<String>) -> Self
pub fn preset_deployment_config(self, input: impl Into<String>) -> Self
The configuration used to create deployment artifacts. Specify configuration options with a JSON string. The available configuration options for each type are:
-
ComponentName
(optional) - Name of the GreenGrass V2 component. If not specified, the default name generated consists of "SagemakerEdgeManager" and the name of your SageMaker Edge Manager packaging job. -
ComponentDescription
(optional) - Description of the component. -
ComponentVersion
(optional) - The version of the component.Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a major.minor.patch number system. For example, version 1.0.0 represents the first major release for a component. For more information, see the semantic version specification.
-
PlatformOS
(optional) - The name of the operating system for the platform. Supported platforms include Windows and Linux. -
PlatformArchitecture
(optional) - The processor architecture for the platform.Supported architectures Windows include: Windows32_x86, Windows64_x64.
Supported architectures for Linux include: Linux x86_64, Linux ARMV8.
sourcepub fn set_preset_deployment_config(self, input: Option<String>) -> Self
pub fn set_preset_deployment_config(self, input: Option<String>) -> Self
The configuration used to create deployment artifacts. Specify configuration options with a JSON string. The available configuration options for each type are:
-
ComponentName
(optional) - Name of the GreenGrass V2 component. If not specified, the default name generated consists of "SagemakerEdgeManager" and the name of your SageMaker Edge Manager packaging job. -
ComponentDescription
(optional) - Description of the component. -
ComponentVersion
(optional) - The version of the component.Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a major.minor.patch number system. For example, version 1.0.0 represents the first major release for a component. For more information, see the semantic version specification.
-
PlatformOS
(optional) - The name of the operating system for the platform. Supported platforms include Windows and Linux. -
PlatformArchitecture
(optional) - The processor architecture for the platform.Supported architectures Windows include: Windows32_x86, Windows64_x64.
Supported architectures for Linux include: Linux x86_64, Linux ARMV8.
sourcepub fn get_preset_deployment_config(&self) -> &Option<String>
pub fn get_preset_deployment_config(&self) -> &Option<String>
The configuration used to create deployment artifacts. Specify configuration options with a JSON string. The available configuration options for each type are:
-
ComponentName
(optional) - Name of the GreenGrass V2 component. If not specified, the default name generated consists of "SagemakerEdgeManager" and the name of your SageMaker Edge Manager packaging job. -
ComponentDescription
(optional) - Description of the component. -
ComponentVersion
(optional) - The version of the component.Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a major.minor.patch number system. For example, version 1.0.0 represents the first major release for a component. For more information, see the semantic version specification.
-
PlatformOS
(optional) - The name of the operating system for the platform. Supported platforms include Windows and Linux. -
PlatformArchitecture
(optional) - The processor architecture for the platform.Supported architectures Windows include: Windows32_x86, Windows64_x64.
Supported architectures for Linux include: Linux x86_64, Linux ARMV8.
sourcepub fn build(self) -> EdgeOutputConfig
pub fn build(self) -> EdgeOutputConfig
Consumes the builder and constructs a EdgeOutputConfig
.
Trait Implementations§
source§impl Clone for EdgeOutputConfigBuilder
impl Clone for EdgeOutputConfigBuilder
source§fn clone(&self) -> EdgeOutputConfigBuilder
fn clone(&self) -> EdgeOutputConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EdgeOutputConfigBuilder
impl Debug for EdgeOutputConfigBuilder
source§impl Default for EdgeOutputConfigBuilder
impl Default for EdgeOutputConfigBuilder
source§fn default() -> EdgeOutputConfigBuilder
fn default() -> EdgeOutputConfigBuilder
source§impl PartialEq for EdgeOutputConfigBuilder
impl PartialEq for EdgeOutputConfigBuilder
source§fn eq(&self, other: &EdgeOutputConfigBuilder) -> bool
fn eq(&self, other: &EdgeOutputConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EdgeOutputConfigBuilder
Auto Trait Implementations§
impl Freeze for EdgeOutputConfigBuilder
impl RefUnwindSafe for EdgeOutputConfigBuilder
impl Send for EdgeOutputConfigBuilder
impl Sync for EdgeOutputConfigBuilder
impl Unpin for EdgeOutputConfigBuilder
impl UnwindSafe for EdgeOutputConfigBuilder
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