Struct aws_sdk_sagemaker::model::CapacitySize
source · #[non_exhaustive]pub struct CapacitySize { /* private fields */ }
Expand description
Specifies the endpoint capacity to activate for production.
Implementations§
source§impl CapacitySize
impl CapacitySize
sourcepub fn type(&self) -> Option<&CapacitySizeType>
pub fn type(&self) -> Option<&CapacitySizeType>
Specifies the endpoint capacity type.
-
INSTANCE_COUNT
: The endpoint activates based on the number of instances. -
CAPACITY_PERCENT
: The endpoint activates based on the specified percentage of capacity.
source§impl CapacitySize
impl CapacitySize
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CapacitySize
.
Trait Implementations§
source§impl Clone for CapacitySize
impl Clone for CapacitySize
source§fn clone(&self) -> CapacitySize
fn clone(&self) -> CapacitySize
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 CapacitySize
impl Debug for CapacitySize
source§impl PartialEq<CapacitySize> for CapacitySize
impl PartialEq<CapacitySize> for CapacitySize
source§fn eq(&self, other: &CapacitySize) -> bool
fn eq(&self, other: &CapacitySize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.