Package org.cdk8s.plus25.k8s
Interface ScaleSpec
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScaleSpec.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.813Z") @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 classScaleSpec.BuilderA builder forScaleSpecstatic classScaleSpec.Jsii$ProxyAn implementation forScaleSpec
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ScaleSpec.Builderbuilder()default NumbergetReplicas()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.BuilderofScaleSpec
-
-