#[non_exhaustive]pub struct EdgePresetDeploymentOutputBuilder { /* private fields */ }
Expand description
A builder for EdgePresetDeploymentOutput
.
Implementations§
source§impl EdgePresetDeploymentOutputBuilder
impl EdgePresetDeploymentOutputBuilder
sourcepub fn type(self, input: EdgePresetDeploymentType) -> Self
pub fn type(self, input: EdgePresetDeploymentType) -> Self
The deployment type created by SageMaker Edge Manager. Currently only supports Amazon Web Services IoT Greengrass Version 2 components.
sourcepub fn set_type(self, input: Option<EdgePresetDeploymentType>) -> Self
pub fn set_type(self, input: Option<EdgePresetDeploymentType>) -> Self
The deployment type created by SageMaker Edge Manager. Currently only supports Amazon Web Services IoT Greengrass Version 2 components.
sourcepub fn get_type(&self) -> &Option<EdgePresetDeploymentType>
pub fn get_type(&self) -> &Option<EdgePresetDeploymentType>
The deployment type created by SageMaker Edge Manager. Currently only supports Amazon Web Services IoT Greengrass Version 2 components.
sourcepub fn artifact(self, input: impl Into<String>) -> Self
pub fn artifact(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the generated deployable resource.
sourcepub fn set_artifact(self, input: Option<String>) -> Self
pub fn set_artifact(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the generated deployable resource.
sourcepub fn get_artifact(&self) -> &Option<String>
pub fn get_artifact(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the generated deployable resource.
sourcepub fn status(self, input: EdgePresetDeploymentStatus) -> Self
pub fn status(self, input: EdgePresetDeploymentStatus) -> Self
The status of the deployable resource.
sourcepub fn set_status(self, input: Option<EdgePresetDeploymentStatus>) -> Self
pub fn set_status(self, input: Option<EdgePresetDeploymentStatus>) -> Self
The status of the deployable resource.
sourcepub fn get_status(&self) -> &Option<EdgePresetDeploymentStatus>
pub fn get_status(&self) -> &Option<EdgePresetDeploymentStatus>
The status of the deployable resource.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
Returns a message describing the status of the deployed resource.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
Returns a message describing the status of the deployed resource.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
Returns a message describing the status of the deployed resource.
sourcepub fn build(self) -> EdgePresetDeploymentOutput
pub fn build(self) -> EdgePresetDeploymentOutput
Consumes the builder and constructs a EdgePresetDeploymentOutput
.
Trait Implementations§
source§impl Clone for EdgePresetDeploymentOutputBuilder
impl Clone for EdgePresetDeploymentOutputBuilder
source§fn clone(&self) -> EdgePresetDeploymentOutputBuilder
fn clone(&self) -> EdgePresetDeploymentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EdgePresetDeploymentOutputBuilder
impl Default for EdgePresetDeploymentOutputBuilder
source§fn default() -> EdgePresetDeploymentOutputBuilder
fn default() -> EdgePresetDeploymentOutputBuilder
source§impl PartialEq<EdgePresetDeploymentOutputBuilder> for EdgePresetDeploymentOutputBuilder
impl PartialEq<EdgePresetDeploymentOutputBuilder> for EdgePresetDeploymentOutputBuilder
source§fn eq(&self, other: &EdgePresetDeploymentOutputBuilder) -> bool
fn eq(&self, other: &EdgePresetDeploymentOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.