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