#[non_exhaustive]pub struct EndpointOutputConfigurationBuilder { /* private fields */ }
Expand description
A builder for EndpointOutputConfiguration
.
Implementations§
source§impl EndpointOutputConfigurationBuilder
impl EndpointOutputConfigurationBuilder
sourcepub fn endpoint_name(self, input: impl Into<String>) -> Self
pub fn endpoint_name(self, input: impl Into<String>) -> Self
The name of the endpoint made during a recommendation job.
This field is required.sourcepub fn set_endpoint_name(self, input: Option<String>) -> Self
pub fn set_endpoint_name(self, input: Option<String>) -> Self
The name of the endpoint made during a recommendation job.
sourcepub fn get_endpoint_name(&self) -> &Option<String>
pub fn get_endpoint_name(&self) -> &Option<String>
The name of the endpoint made during a recommendation job.
sourcepub fn variant_name(self, input: impl Into<String>) -> Self
pub fn variant_name(self, input: impl Into<String>) -> Self
The name of the production variant (deployed model) made during a recommendation job.
This field is required.sourcepub fn set_variant_name(self, input: Option<String>) -> Self
pub fn set_variant_name(self, input: Option<String>) -> Self
The name of the production variant (deployed model) made during a recommendation job.
sourcepub fn get_variant_name(&self) -> &Option<String>
pub fn get_variant_name(&self) -> &Option<String>
The name of the production variant (deployed model) made during a recommendation job.
sourcepub fn instance_type(self, input: ProductionVariantInstanceType) -> Self
pub fn instance_type(self, input: ProductionVariantInstanceType) -> Self
The instance type recommended by Amazon SageMaker Inference Recommender.
sourcepub fn set_instance_type(
self,
input: Option<ProductionVariantInstanceType>,
) -> Self
pub fn set_instance_type( self, input: Option<ProductionVariantInstanceType>, ) -> Self
The instance type recommended by Amazon SageMaker Inference Recommender.
sourcepub fn get_instance_type(&self) -> &Option<ProductionVariantInstanceType>
pub fn get_instance_type(&self) -> &Option<ProductionVariantInstanceType>
The instance type recommended by Amazon SageMaker Inference Recommender.
sourcepub fn initial_instance_count(self, input: i32) -> Self
pub fn initial_instance_count(self, input: i32) -> Self
The number of instances recommended to launch initially.
sourcepub fn set_initial_instance_count(self, input: Option<i32>) -> Self
pub fn set_initial_instance_count(self, input: Option<i32>) -> Self
The number of instances recommended to launch initially.
sourcepub fn get_initial_instance_count(&self) -> &Option<i32>
pub fn get_initial_instance_count(&self) -> &Option<i32>
The number of instances recommended to launch initially.
sourcepub fn serverless_config(self, input: ProductionVariantServerlessConfig) -> Self
pub fn serverless_config(self, input: ProductionVariantServerlessConfig) -> Self
Specifies the serverless configuration for an endpoint variant.
sourcepub fn set_serverless_config(
self,
input: Option<ProductionVariantServerlessConfig>,
) -> Self
pub fn set_serverless_config( self, input: Option<ProductionVariantServerlessConfig>, ) -> Self
Specifies the serverless configuration for an endpoint variant.
sourcepub fn get_serverless_config(
&self,
) -> &Option<ProductionVariantServerlessConfig>
pub fn get_serverless_config( &self, ) -> &Option<ProductionVariantServerlessConfig>
Specifies the serverless configuration for an endpoint variant.
sourcepub fn build(self) -> EndpointOutputConfiguration
pub fn build(self) -> EndpointOutputConfiguration
Consumes the builder and constructs a EndpointOutputConfiguration
.
Trait Implementations§
source§impl Clone for EndpointOutputConfigurationBuilder
impl Clone for EndpointOutputConfigurationBuilder
source§fn clone(&self) -> EndpointOutputConfigurationBuilder
fn clone(&self) -> EndpointOutputConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EndpointOutputConfigurationBuilder
impl Default for EndpointOutputConfigurationBuilder
source§fn default() -> EndpointOutputConfigurationBuilder
fn default() -> EndpointOutputConfigurationBuilder
source§impl PartialEq for EndpointOutputConfigurationBuilder
impl PartialEq for EndpointOutputConfigurationBuilder
source§fn eq(&self, other: &EndpointOutputConfigurationBuilder) -> bool
fn eq(&self, other: &EndpointOutputConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EndpointOutputConfigurationBuilder
Auto Trait Implementations§
impl Freeze for EndpointOutputConfigurationBuilder
impl RefUnwindSafe for EndpointOutputConfigurationBuilder
impl Send for EndpointOutputConfigurationBuilder
impl Sync for EndpointOutputConfigurationBuilder
impl Unpin for EndpointOutputConfigurationBuilder
impl UnwindSafe for EndpointOutputConfigurationBuilder
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