pub struct Builder { /* private fields */ }Expand description
A builder for EdgePresetDeploymentOutput.
Implementations
sourceimpl Builder
impl Builder
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
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more