#[non_exhaustive]pub struct ProductionVariantServerlessConfig { /* private fields */ }Expand description
Specifies the serverless configuration for an endpoint variant.
Implementations
sourceimpl ProductionVariantServerlessConfig
impl ProductionVariantServerlessConfig
sourcepub fn memory_size_in_mb(&self) -> Option<i32>
pub fn memory_size_in_mb(&self) -> Option<i32>
The memory size of your serverless endpoint. Valid values are in 1 GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144 MB.
sourcepub fn max_concurrency(&self) -> Option<i32>
pub fn max_concurrency(&self) -> Option<i32>
The maximum number of concurrent invocations your serverless endpoint can process.
sourceimpl ProductionVariantServerlessConfig
impl ProductionVariantServerlessConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ProductionVariantServerlessConfig.
Trait Implementations
sourceimpl Clone for ProductionVariantServerlessConfig
impl Clone for ProductionVariantServerlessConfig
sourcefn clone(&self) -> ProductionVariantServerlessConfig
fn clone(&self) -> ProductionVariantServerlessConfig
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 PartialEq<ProductionVariantServerlessConfig> for ProductionVariantServerlessConfig
impl PartialEq<ProductionVariantServerlessConfig> for ProductionVariantServerlessConfig
sourcefn eq(&self, other: &ProductionVariantServerlessConfig) -> bool
fn eq(&self, other: &ProductionVariantServerlessConfig) -> bool
impl StructuralPartialEq for ProductionVariantServerlessConfig
Auto Trait Implementations
impl RefUnwindSafe for ProductionVariantServerlessConfig
impl Send for ProductionVariantServerlessConfig
impl Sync for ProductionVariantServerlessConfig
impl Unpin for ProductionVariantServerlessConfig
impl UnwindSafe for ProductionVariantServerlessConfig
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