Struct aws_sdk_sagemaker::types::builders::ModelDeployConfigBuilder
source · #[non_exhaustive]pub struct ModelDeployConfigBuilder { /* private fields */ }Expand description
A builder for ModelDeployConfig.
Implementations§
source§impl ModelDeployConfigBuilder
impl ModelDeployConfigBuilder
sourcepub fn auto_generate_endpoint_name(self, input: bool) -> Self
pub fn auto_generate_endpoint_name(self, input: bool) -> Self
Set to True to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False otherwise. The default value is False.
If you set AutoGenerateEndpointName to True, do not specify the EndpointName; otherwise a 400 error is thrown.
sourcepub fn set_auto_generate_endpoint_name(self, input: Option<bool>) -> Self
pub fn set_auto_generate_endpoint_name(self, input: Option<bool>) -> Self
Set to True to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False otherwise. The default value is False.
If you set AutoGenerateEndpointName to True, do not specify the EndpointName; otherwise a 400 error is thrown.
sourcepub fn endpoint_name(self, input: impl Into<String>) -> Self
pub fn endpoint_name(self, input: impl Into<String>) -> Self
Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.
Specify the EndpointName if and only if you set AutoGenerateEndpointName to False; otherwise a 400 error is thrown.
sourcepub fn set_endpoint_name(self, input: Option<String>) -> Self
pub fn set_endpoint_name(self, input: Option<String>) -> Self
Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.
Specify the EndpointName if and only if you set AutoGenerateEndpointName to False; otherwise a 400 error is thrown.
sourcepub fn build(self) -> ModelDeployConfig
pub fn build(self) -> ModelDeployConfig
Consumes the builder and constructs a ModelDeployConfig.
Trait Implementations§
source§impl Clone for ModelDeployConfigBuilder
impl Clone for ModelDeployConfigBuilder
source§fn clone(&self) -> ModelDeployConfigBuilder
fn clone(&self) -> ModelDeployConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ModelDeployConfigBuilder
impl Debug for ModelDeployConfigBuilder
source§impl Default for ModelDeployConfigBuilder
impl Default for ModelDeployConfigBuilder
source§fn default() -> ModelDeployConfigBuilder
fn default() -> ModelDeployConfigBuilder
source§impl PartialEq<ModelDeployConfigBuilder> for ModelDeployConfigBuilder
impl PartialEq<ModelDeployConfigBuilder> for ModelDeployConfigBuilder
source§fn eq(&self, other: &ModelDeployConfigBuilder) -> bool
fn eq(&self, other: &ModelDeployConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.