#[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.
This field is required.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 for EdgePresetDeploymentOutputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for EdgePresetDeploymentOutputBuilder
Auto Trait Implementations§
impl Freeze for EdgePresetDeploymentOutputBuilder
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
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