Interface CfnEndpoint.CapacitySizeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpoint.CapacitySizeProperty.Jsii$Proxy
- Enclosing class:
- CfnEndpoint
@Stability(Stable)
public static interface CfnEndpoint.CapacitySizeProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the endpoint capacity to activate for production.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
CapacitySizeProperty capacitySizeProperty = CapacitySizeProperty.builder()
.type("type")
.value(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEndpoint.CapacitySizePropertystatic final classAn implementation forCfnEndpoint.CapacitySizeProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
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.
-
getValue
Defines the capacity size, either as a number of instances or a capacity percentage. -
builder
-