Package org.cdk8s.plus28.k8s
Interface ScaleSpec
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScaleSpec.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.862Z") @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()replicas is the desired number of instances for the scaled object.
-
-
-
Method Detail
-
getReplicas
@Stability(Stable) @Nullable default Number getReplicas()
replicas is the desired number of instances for the scaled object.
-
builder
@Stability(Stable) static ScaleSpec.Builder builder()
- Returns:
- a
ScaleSpec.BuilderofScaleSpec
-
-