public static interface CfnEndpoint.CapacitySizeProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnEndpoint.CapacitySizeProperty.Builder
A builder for
CfnEndpoint.CapacitySizeProperty |
static class |
CfnEndpoint.CapacitySizeProperty.Jsii$Proxy
An implementation for
CfnEndpoint.CapacitySizeProperty |
Modifier and Type | Method and Description |
---|---|
static CfnEndpoint.CapacitySizeProperty.Builder |
builder() |
java.lang.String |
getType()
Specifies the endpoint capacity type.
|
java.lang.Number |
getValue()
Defines the capacity size, either as a number of instances or a capacity percentage.
|
java.lang.String getType()
INSTANCE_COUNT
: The endpoint activates based on the number of instances.CAPACITY_PERCENT
: The endpoint activates based on the specified percentage of capacity.java.lang.Number getValue()
static CfnEndpoint.CapacitySizeProperty.Builder builder()