Class WorkloadPodGroupSchedulingConstraints
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.scheduling.v1alpha3.WorkloadPodGroupSchedulingConstraints
-
- All Implemented Interfaces:
Editable<WorkloadPodGroupSchedulingConstraintsBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class WorkloadPodGroupSchedulingConstraints extends Object implements Editable<WorkloadPodGroupSchedulingConstraintsBuilder>, KubernetesResource
WorkloadPodGroupSchedulingConstraints defines leaf-level scheduling constraints, such as topology.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkloadPodGroupSchedulingConstraints()No args constructor for use in serializationWorkloadPodGroupSchedulingConstraints(List<TopologyConstraint> topology)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkloadPodGroupSchedulingConstraintsBuilderedit()Map<String,Object>getAdditionalProperties()List<TopologyConstraint>getTopology()topology specifies desired topological placements for all pods within the pod group.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetTopology(List<TopologyConstraint> topology)topology specifies desired topological placements for all pods within the pod group.WorkloadPodGroupSchedulingConstraintsBuildertoBuilder()
-
-
-
Constructor Detail
-
WorkloadPodGroupSchedulingConstraints
public WorkloadPodGroupSchedulingConstraints()
No args constructor for use in serialization
-
WorkloadPodGroupSchedulingConstraints
public WorkloadPodGroupSchedulingConstraints(List<TopologyConstraint> topology)
-
-
Method Detail
-
getTopology
public List<TopologyConstraint> getTopology()
topology specifies desired topological placements for all pods within the pod group. If unset, no topology placement is requested.
-
setTopology
public void setTopology(List<TopologyConstraint> topology)
topology specifies desired topological placements for all pods within the pod group. If unset, no topology placement is requested.
-
edit
public WorkloadPodGroupSchedulingConstraintsBuilder edit()
- Specified by:
editin interfaceEditable<WorkloadPodGroupSchedulingConstraintsBuilder>
-
toBuilder
public WorkloadPodGroupSchedulingConstraintsBuilder toBuilder()
-
-