Package org.cdk8s.plus24
Interface WorkloadSchedulingSpreadOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WorkloadSchedulingSpreadOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-22T02:29:49.624Z") @Stability(Stable) public interface WorkloadSchedulingSpreadOptions extends software.amazon.jsii.JsiiSerializable
Options for `WorkloadScheduling.spread`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
WorkloadSchedulingSpreadOptions.Builder
A builder forWorkloadSchedulingSpreadOptions
static class
WorkloadSchedulingSpreadOptions.Jsii$Proxy
An implementation forWorkloadSchedulingSpreadOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static WorkloadSchedulingSpreadOptions.Builder
builder()
default Topology
getTopology()
Which topology to spread on.default Number
getWeight()
Indicates the spread is optional, with this weight score.
-
-
-
Method Detail
-
getTopology
@Stability(Stable) @Nullable default Topology getTopology()
Which topology to spread on.Default: - Topology.HOSTNAME
-
getWeight
@Stability(Stable) @Nullable default Number getWeight()
Indicates the spread is optional, with this weight score.Default: - no weight. spread is assumed to be required.
-
builder
@Stability(Stable) static WorkloadSchedulingSpreadOptions.Builder builder()
-
-