#[non_exhaustive]pub struct EndpointInputConfigurationBuilder { /* private fields */ }
Expand description
A builder for EndpointInputConfiguration
.
Implementations§
source§impl EndpointInputConfigurationBuilder
impl EndpointInputConfigurationBuilder
sourcepub fn instance_type(self, input: ProductionVariantInstanceType) -> Self
pub fn instance_type(self, input: ProductionVariantInstanceType) -> Self
The instance types to use for the load test.
sourcepub fn set_instance_type(
self,
input: Option<ProductionVariantInstanceType>,
) -> Self
pub fn set_instance_type( self, input: Option<ProductionVariantInstanceType>, ) -> Self
The instance types to use for the load test.
sourcepub fn get_instance_type(&self) -> &Option<ProductionVariantInstanceType>
pub fn get_instance_type(&self) -> &Option<ProductionVariantInstanceType>
The instance types to use for the load test.
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 inference_specification_name(self, input: impl Into<String>) -> Self
pub fn inference_specification_name(self, input: impl Into<String>) -> Self
The inference specification name in the model package version.
sourcepub fn set_inference_specification_name(self, input: Option<String>) -> Self
pub fn set_inference_specification_name(self, input: Option<String>) -> Self
The inference specification name in the model package version.
sourcepub fn get_inference_specification_name(&self) -> &Option<String>
pub fn get_inference_specification_name(&self) -> &Option<String>
The inference specification name in the model package version.
sourcepub fn environment_parameter_ranges(
self,
input: EnvironmentParameterRanges,
) -> Self
pub fn environment_parameter_ranges( self, input: EnvironmentParameterRanges, ) -> Self
The parameter you want to benchmark against.
sourcepub fn set_environment_parameter_ranges(
self,
input: Option<EnvironmentParameterRanges>,
) -> Self
pub fn set_environment_parameter_ranges( self, input: Option<EnvironmentParameterRanges>, ) -> Self
The parameter you want to benchmark against.
sourcepub fn get_environment_parameter_ranges(
&self,
) -> &Option<EnvironmentParameterRanges>
pub fn get_environment_parameter_ranges( &self, ) -> &Option<EnvironmentParameterRanges>
The parameter you want to benchmark against.
sourcepub fn build(self) -> EndpointInputConfiguration
pub fn build(self) -> EndpointInputConfiguration
Consumes the builder and constructs a EndpointInputConfiguration
.
Trait Implementations§
source§impl Clone for EndpointInputConfigurationBuilder
impl Clone for EndpointInputConfigurationBuilder
source§fn clone(&self) -> EndpointInputConfigurationBuilder
fn clone(&self) -> EndpointInputConfigurationBuilder
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 Default for EndpointInputConfigurationBuilder
impl Default for EndpointInputConfigurationBuilder
source§fn default() -> EndpointInputConfigurationBuilder
fn default() -> EndpointInputConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EndpointInputConfigurationBuilder
impl PartialEq for EndpointInputConfigurationBuilder
source§fn eq(&self, other: &EndpointInputConfigurationBuilder) -> bool
fn eq(&self, other: &EndpointInputConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EndpointInputConfigurationBuilder
Auto Trait Implementations§
impl Freeze for EndpointInputConfigurationBuilder
impl RefUnwindSafe for EndpointInputConfigurationBuilder
impl Send for EndpointInputConfigurationBuilder
impl Sync for EndpointInputConfigurationBuilder
impl Unpin for EndpointInputConfigurationBuilder
impl UnwindSafe for EndpointInputConfigurationBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.