@Stability(value=Stable)
public static interface CfnEndpoint.CapacitySizeProperty
extends software.amazon.jsii.JsiiSerializable
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() |
String |
getType()
Specifies the endpoint capacity type.
|
Number |
getValue()
Defines the capacity size, either as a number of instances or a capacity percentage.
|
@Stability(value=Stable) @NotNull 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.@Stability(value=Stable) @NotNull Number getValue()
@Stability(value=Stable) static CfnEndpoint.CapacitySizeProperty.Builder builder()
Copyright © 2022. All rights reserved.