Struct aws_sdk_sagemaker::model::edge_deployment_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EdgeDeploymentConfig
.
Implementations§
source§impl 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
.