Class PodGroupSchedulingConstraints
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.scheduling.v1alpha2.PodGroupSchedulingConstraints
-
- All Implemented Interfaces:
Editable<PodGroupSchedulingConstraintsBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PodGroupSchedulingConstraints extends Object implements Editable<PodGroupSchedulingConstraintsBuilder>, KubernetesResource
PodGroupSchedulingConstraints defines scheduling constraints (e.g. topology) for a PodGroup.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PodGroupSchedulingConstraints()No args constructor for use in serializationPodGroupSchedulingConstraints(List<TopologyConstraint> topology)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodGroupSchedulingConstraintsBuilderedit()Map<String,Object>getAdditionalProperties()List<TopologyConstraint>getTopology()Topology defines the topology constraints for the pod group.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetTopology(List<TopologyConstraint> topology)Topology defines the topology constraints for the pod group.PodGroupSchedulingConstraintsBuildertoBuilder()
-
-
-
Constructor Detail
-
PodGroupSchedulingConstraints
public PodGroupSchedulingConstraints()
No args constructor for use in serialization
-
PodGroupSchedulingConstraints
public PodGroupSchedulingConstraints(List<TopologyConstraint> topology)
-
-
Method Detail
-
getTopology
public List<TopologyConstraint> getTopology()
Topology defines the topology constraints for the pod group. Currently only a single topology constraint can be specified. This may change in the future.
-
setTopology
public void setTopology(List<TopologyConstraint> topology)
Topology defines the topology constraints for the pod group. Currently only a single topology constraint can be specified. This may change in the future.
-
edit
public PodGroupSchedulingConstraintsBuilder edit()
- Specified by:
editin interfaceEditable<PodGroupSchedulingConstraintsBuilder>
-
toBuilder
public PodGroupSchedulingConstraintsBuilder toBuilder()
-
-