Package org.cdk8s.plus24.k8s
Interface ScaleSpec
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScaleSpec.Jsii$Proxy
@Generated(value="jsii-pacmak/1.82.0 (build 2d2ddd7)", date="2023-05-25T02:26:41.069Z") @Stability(Stable) public interface ScaleSpec extends software.amazon.jsii.JsiiSerializable
ScaleSpec describes the attributes of a scale subresource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ScaleSpec.Builder
A builder forScaleSpec
static class
ScaleSpec.Jsii$Proxy
An implementation forScaleSpec
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ScaleSpec.Builder
builder()
default Number
getReplicas()
desired number of instances for the scaled object.
-
-
-
Method Detail
-
getReplicas
@Stability(Stable) @Nullable default Number getReplicas()
desired number of instances for the scaled object.
-
builder
@Stability(Stable) static ScaleSpec.Builder builder()
- Returns:
- a
ScaleSpec.Builder
ofScaleSpec
-
-