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 get_auto_generate_endpoint_name(&self) -> &Option<bool>
pub fn get_auto_generate_endpoint_name(&self) -> &Option<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, 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 get_endpoint_name(&self) -> &Option<String>
pub fn get_endpoint_name(&self) -> &Option<String>
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 for ModelDeployConfigBuilder
impl PartialEq for ModelDeployConfigBuilder
impl StructuralPartialEq for ModelDeployConfigBuilder
Auto Trait Implementations§
impl Freeze for ModelDeployConfigBuilder
impl RefUnwindSafe for ModelDeployConfigBuilder
impl Send for ModelDeployConfigBuilder
impl Sync for ModelDeployConfigBuilder
impl Unpin for ModelDeployConfigBuilder
impl UnwindSafe for ModelDeployConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more