Struct aws_sdk_sagemaker::model::CapacitySize [−][src]
#[non_exhaustive]pub struct CapacitySize {
pub type: Option<CapacitySizeType>,
pub value: Option<i32>,
}
Expand description
Specifies the endpoint capacity to activate for production.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type: 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.
value: Option<i32>
Defines the capacity size, either as a number of instances or a capacity percentage.
Implementations
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.
Creates a new builder-style object to manufacture CapacitySize
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CapacitySize
impl Send for CapacitySize
impl Sync for CapacitySize
impl Unpin for CapacitySize
impl UnwindSafe for CapacitySize
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more