#[non_exhaustive]pub struct GreengrassConfigurationBuilder { /* private fields */ }Expand description
A builder for GreengrassConfiguration.
Implementations§
source§impl GreengrassConfigurationBuilder
impl GreengrassConfigurationBuilder
sourcepub fn compiler_options(self, input: impl Into<String>) -> Self
pub fn compiler_options(self, input: impl Into<String>) -> Self
Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. If you specify TargetDevice, don't specify CompilerOptions.
For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.
sourcepub fn set_compiler_options(self, input: Option<String>) -> Self
pub fn set_compiler_options(self, input: Option<String>) -> Self
Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. If you specify TargetDevice, don't specify CompilerOptions.
For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.
sourcepub fn get_compiler_options(&self) -> &Option<String>
pub fn get_compiler_options(&self) -> &Option<String>
Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. If you specify TargetDevice, don't specify CompilerOptions.
For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.
sourcepub fn target_device(self, input: TargetDevice) -> Self
pub fn target_device(self, input: TargetDevice) -> Self
The target device for the model. Currently the only supported value is jetson_xavier. If you specify TargetDevice, you can't specify TargetPlatform.
sourcepub fn set_target_device(self, input: Option<TargetDevice>) -> Self
pub fn set_target_device(self, input: Option<TargetDevice>) -> Self
The target device for the model. Currently the only supported value is jetson_xavier. If you specify TargetDevice, you can't specify TargetPlatform.
sourcepub fn get_target_device(&self) -> &Option<TargetDevice>
pub fn get_target_device(&self) -> &Option<TargetDevice>
The target device for the model. Currently the only supported value is jetson_xavier. If you specify TargetDevice, you can't specify TargetPlatform.
sourcepub fn target_platform(self, input: TargetPlatform) -> Self
pub fn target_platform(self, input: TargetPlatform) -> Self
The target platform for the model. If you specify TargetPlatform, you can't specify TargetDevice.
sourcepub fn set_target_platform(self, input: Option<TargetPlatform>) -> Self
pub fn set_target_platform(self, input: Option<TargetPlatform>) -> Self
The target platform for the model. If you specify TargetPlatform, you can't specify TargetDevice.
sourcepub fn get_target_platform(&self) -> &Option<TargetPlatform>
pub fn get_target_platform(&self) -> &Option<TargetPlatform>
The target platform for the model. If you specify TargetPlatform, you can't specify TargetDevice.
sourcepub fn s3_output_location(self, input: S3Location) -> Self
pub fn s3_output_location(self, input: S3Location) -> Self
An S3 location in which Lookout for Vision stores the component artifacts.
This field is required.sourcepub fn set_s3_output_location(self, input: Option<S3Location>) -> Self
pub fn set_s3_output_location(self, input: Option<S3Location>) -> Self
An S3 location in which Lookout for Vision stores the component artifacts.
sourcepub fn get_s3_output_location(&self) -> &Option<S3Location>
pub fn get_s3_output_location(&self) -> &Option<S3Location>
An S3 location in which Lookout for Vision stores the component artifacts.
sourcepub fn component_name(self, input: impl Into<String>) -> Self
pub fn component_name(self, input: impl Into<String>) -> Self
A name for the AWS IoT Greengrass component.
This field is required.sourcepub fn set_component_name(self, input: Option<String>) -> Self
pub fn set_component_name(self, input: Option<String>) -> Self
A name for the AWS IoT Greengrass component.
sourcepub fn get_component_name(&self) -> &Option<String>
pub fn get_component_name(&self) -> &Option<String>
A name for the AWS IoT Greengrass component.
sourcepub fn component_version(self, input: impl Into<String>) -> Self
pub fn component_version(self, input: impl Into<String>) -> Self
A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of Model Version.0.0 is used.
sourcepub fn set_component_version(self, input: Option<String>) -> Self
pub fn set_component_version(self, input: Option<String>) -> Self
A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of Model Version.0.0 is used.
sourcepub fn get_component_version(&self) -> &Option<String>
pub fn get_component_version(&self) -> &Option<String>
A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of Model Version.0.0 is used.
sourcepub fn component_description(self, input: impl Into<String>) -> Self
pub fn component_description(self, input: impl Into<String>) -> Self
A description for the AWS IoT Greengrass component.
sourcepub fn set_component_description(self, input: Option<String>) -> Self
pub fn set_component_description(self, input: Option<String>) -> Self
A description for the AWS IoT Greengrass component.
sourcepub fn get_component_description(&self) -> &Option<String>
pub fn get_component_description(&self) -> &Option<String>
A description for the AWS IoT Greengrass component.
Appends an item to tags.
To override the contents of this collection use set_tags.
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
sourcepub fn build(self) -> GreengrassConfiguration
pub fn build(self) -> GreengrassConfiguration
Consumes the builder and constructs a GreengrassConfiguration.
Trait Implementations§
source§impl Clone for GreengrassConfigurationBuilder
impl Clone for GreengrassConfigurationBuilder
source§fn clone(&self) -> GreengrassConfigurationBuilder
fn clone(&self) -> GreengrassConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GreengrassConfigurationBuilder
impl Default for GreengrassConfigurationBuilder
source§fn default() -> GreengrassConfigurationBuilder
fn default() -> GreengrassConfigurationBuilder
source§impl PartialEq for GreengrassConfigurationBuilder
impl PartialEq for GreengrassConfigurationBuilder
source§fn eq(&self, other: &GreengrassConfigurationBuilder) -> bool
fn eq(&self, other: &GreengrassConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.