Package org.cdk8s.plus23
Interface WorkloadSchedulingSpreadOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WorkloadSchedulingSpreadOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.61.0 (build abf4039)", date="2022-07-06T20:17:23.727Z") @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 classWorkloadSchedulingSpreadOptions.BuilderA builder forWorkloadSchedulingSpreadOptionsstatic classWorkloadSchedulingSpreadOptions.Jsii$ProxyAn implementation forWorkloadSchedulingSpreadOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static WorkloadSchedulingSpreadOptions.Builderbuilder()default TopologygetTopology()Which topology to spread on.default NumbergetWeight()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()
-
-