Struct aws_sdk_sagemaker::types::ModelDeployConfig
source · #[non_exhaustive]pub struct ModelDeployConfig { /* private fields */ }
Expand description
Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment.
Implementations§
source§impl ModelDeployConfig
impl ModelDeployConfig
sourcepub fn auto_generate_endpoint_name(&self) -> bool
pub fn auto_generate_endpoint_name(&self) -> bool
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) -> Option<&str>
pub fn endpoint_name(&self) -> Option<&str>
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.
source§impl ModelDeployConfig
impl ModelDeployConfig
sourcepub fn builder() -> ModelDeployConfigBuilder
pub fn builder() -> ModelDeployConfigBuilder
Creates a new builder-style object to manufacture ModelDeployConfig
.
Trait Implementations§
source§impl Clone for ModelDeployConfig
impl Clone for ModelDeployConfig
source§fn clone(&self) -> ModelDeployConfig
fn clone(&self) -> ModelDeployConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModelDeployConfig
impl Debug for ModelDeployConfig
source§impl PartialEq<ModelDeployConfig> for ModelDeployConfig
impl PartialEq<ModelDeployConfig> for ModelDeployConfig
source§fn eq(&self, other: &ModelDeployConfig) -> bool
fn eq(&self, other: &ModelDeployConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.