Package org.cdk8s.plus24
Interface IScalable
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IScalable.Jsii$Default
- All Known Implementing Classes:
Deployment
,IScalable.Jsii$Proxy
,StatefulSet
@Generated(value="jsii-pacmak/1.82.0 (build 2d2ddd7)", date="2023-06-06T02:39:24.550Z") @Stability(Stable) public interface IScalable extends software.amazon.jsii.JsiiSerializable
Represents a scalable workload.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IScalable.Jsii$Default
Internal default implementation forIScalable
.static class
IScalable.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Boolean
getHasAutoscaler()
If this is a target of an autoscaler.void
markHasAutoscaler()
Called on all IScalable targets when they are associated with an autoscaler.void
setHasAutoscaler(Boolean value)
If this is a target of an autoscaler.ScalingTarget
toScalingTarget()
Return the target spec properties of this Scalable.
-
-
-
Method Detail
-
getHasAutoscaler
@Stability(Stable) @NotNull Boolean getHasAutoscaler()
If this is a target of an autoscaler.
-
setHasAutoscaler
void setHasAutoscaler(@NotNull Boolean value)
If this is a target of an autoscaler.
-
markHasAutoscaler
@Stability(Stable) void markHasAutoscaler()
Called on all IScalable targets when they are associated with an autoscaler.
-
toScalingTarget
@Stability(Stable) @NotNull ScalingTarget toScalingTarget()
Return the target spec properties of this Scalable.
-
-