Struct aws_sdk_sagemaker::model::edge_deployment_config::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for EdgeDeploymentConfig.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn failure_handling_policy(self, input: FailureHandlingPolicy) -> Self
pub fn failure_handling_policy(self, input: FailureHandlingPolicy) -> Self
Toggle that determines whether to rollback to previous configuration if the current deployment fails. By default this is turned on. You may turn this off if you want to investigate the errors yourself.
sourcepub fn set_failure_handling_policy(
self,
input: Option<FailureHandlingPolicy>
) -> Self
pub fn set_failure_handling_policy(
self,
input: Option<FailureHandlingPolicy>
) -> Self
Toggle that determines whether to rollback to previous configuration if the current deployment fails. By default this is turned on. You may turn this off if you want to investigate the errors yourself.
sourcepub fn build(self) -> EdgeDeploymentConfig
pub fn build(self) -> EdgeDeploymentConfig
Consumes the builder and constructs a EdgeDeploymentConfig.
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