#[non_exhaustive]pub struct EndpointInputConfiguration {
pub instance_type: Option<ProductionVariantInstanceType>,
pub inference_specification_name: Option<String>,
pub environment_parameter_ranges: Option<EnvironmentParameterRanges>,
pub serverless_config: Option<ProductionVariantServerlessConfig>,
}
Expand description
The endpoint configuration for the load test.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_type: Option<ProductionVariantInstanceType>
The instance types to use for the load test.
inference_specification_name: Option<String>
The inference specification name in the model package version.
environment_parameter_ranges: Option<EnvironmentParameterRanges>
The parameter you want to benchmark against.
serverless_config: Option<ProductionVariantServerlessConfig>
Specifies the serverless configuration for an endpoint variant.
Implementations§
source§impl EndpointInputConfiguration
impl EndpointInputConfiguration
sourcepub fn instance_type(&self) -> Option<&ProductionVariantInstanceType>
pub fn instance_type(&self) -> Option<&ProductionVariantInstanceType>
The instance types to use for the load test.
sourcepub fn inference_specification_name(&self) -> Option<&str>
pub fn inference_specification_name(&self) -> Option<&str>
The inference specification name in the model package version.
sourcepub fn environment_parameter_ranges(
&self
) -> Option<&EnvironmentParameterRanges>
pub fn environment_parameter_ranges( &self ) -> Option<&EnvironmentParameterRanges>
The parameter you want to benchmark against.
sourcepub fn serverless_config(&self) -> Option<&ProductionVariantServerlessConfig>
pub fn serverless_config(&self) -> Option<&ProductionVariantServerlessConfig>
Specifies the serverless configuration for an endpoint variant.
source§impl EndpointInputConfiguration
impl EndpointInputConfiguration
sourcepub fn builder() -> EndpointInputConfigurationBuilder
pub fn builder() -> EndpointInputConfigurationBuilder
Creates a new builder-style object to manufacture EndpointInputConfiguration
.
Trait Implementations§
source§impl Clone for EndpointInputConfiguration
impl Clone for EndpointInputConfiguration
source§fn clone(&self) -> EndpointInputConfiguration
fn clone(&self) -> EndpointInputConfiguration
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 EndpointInputConfiguration
impl Debug for EndpointInputConfiguration
source§impl PartialEq<EndpointInputConfiguration> for EndpointInputConfiguration
impl PartialEq<EndpointInputConfiguration> for EndpointInputConfiguration
source§fn eq(&self, other: &EndpointInputConfiguration) -> bool
fn eq(&self, other: &EndpointInputConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EndpointInputConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for EndpointInputConfiguration
impl Send for EndpointInputConfiguration
impl Sync for EndpointInputConfiguration
impl Unpin for EndpointInputConfiguration
impl UnwindSafe for EndpointInputConfiguration
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