Class V1alpha2PodGroupSchedulingConstraints
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha2PodGroupSchedulingConstraints
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha2PodGroupSchedulingConstraints
extends Object
PodGroupSchedulingConstraints defines scheduling constraints (e.g. topology) for a PodGroup.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTopologyItem(V1alpha2TopologyConstraint topologyItem) Add an item to the topology property in a chainable fashion.booleanList<@Valid V1alpha2TopologyConstraint> Topology defines the topology constraints for the pod group.inthashCode()voidsetTopology(List<@Valid V1alpha2TopologyConstraint> topology) Set the topology property valuetopology(List<@Valid V1alpha2TopologyConstraint> topology) Set topology in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_TOPOLOGY
- See Also:
-
-
Constructor Details
-
V1alpha2PodGroupSchedulingConstraints
public V1alpha2PodGroupSchedulingConstraints()
-
-
Method Details
-
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.- Returns:
- the topology property value
-
setTopology
Set the topology property value- Parameters:
topology- property value to set
-
topology
public V1alpha2PodGroupSchedulingConstraints topology(List<@Valid V1alpha2TopologyConstraint> topology) Set topology in a chainable fashion.- Returns:
- The same instance of V1alpha2PodGroupSchedulingConstraints for chaining.
-
addTopologyItem
public V1alpha2PodGroupSchedulingConstraints addTopologyItem(V1alpha2TopologyConstraint topologyItem) Add an item to the topology property in a chainable fashion.- Returns:
- The same instance of V1alpha2PodGroupSchedulingConstraints for chaining.
-
equals
-
hashCode
-
toString
-