#[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 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 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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for EdgePresetDeploymentOutputBuilder
impl Default for EdgePresetDeploymentOutputBuilder
source§fn default() -> EdgePresetDeploymentOutputBuilder
fn default() -> EdgePresetDeploymentOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<EdgePresetDeploymentOutputBuilder> for EdgePresetDeploymentOutputBuilder
impl PartialEq<EdgePresetDeploymentOutputBuilder> for EdgePresetDeploymentOutputBuilder
source§fn eq(&self, other: &EdgePresetDeploymentOutputBuilder) -> bool
fn eq(&self, other: &EdgePresetDeploymentOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EdgePresetDeploymentOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EdgePresetDeploymentOutputBuilder
impl Send for EdgePresetDeploymentOutputBuilder
impl Sync for EdgePresetDeploymentOutputBuilder
impl Unpin for EdgePresetDeploymentOutputBuilder
impl UnwindSafe for EdgePresetDeploymentOutputBuilder
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
Mutably borrows from an owned value. Read more