Struct aws_sdk_sagemaker::model::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
sourceimpl 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.
sourceimpl ModelDeployConfig
impl ModelDeployConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModelDeployConfig.
Trait Implementations
sourceimpl Clone for ModelDeployConfig
impl Clone for ModelDeployConfig
sourcefn clone(&self) -> ModelDeployConfig
fn clone(&self) -> ModelDeployConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ModelDeployConfig
impl Debug for ModelDeployConfig
sourceimpl PartialEq<ModelDeployConfig> for ModelDeployConfig
impl PartialEq<ModelDeployConfig> for ModelDeployConfig
sourcefn eq(&self, other: &ModelDeployConfig) -> bool
fn eq(&self, other: &ModelDeployConfig) -> bool
impl StructuralPartialEq for ModelDeployConfig
Auto Trait Implementations
impl RefUnwindSafe for ModelDeployConfig
impl Send for ModelDeployConfig
impl Sync for ModelDeployConfig
impl Unpin for ModelDeployConfig
impl UnwindSafe for ModelDeployConfig
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