Class V1alpha2ResourceClaimSchedulingStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha2ResourceClaimSchedulingStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha2ResourceClaimSchedulingStatus
extends Object
ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddunsuitableNodesItem
(String unsuitableNodesItem) Add an item to the unsuitableNodes property in a chainable fashion.boolean
getName()
Name matches the pod.spec.resourceClaims[*].Name field.UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.int
hashCode()
Set name in a chainable fashion.void
Set the name property valuevoid
setUnsuitableNodes
(List<@NotNull String> unsuitableNodes) Set the unsuitableNodes property valuetoString()
unsuitableNodes
(List<@NotNull String> unsuitableNodes) Set unsuitableNodes in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_UNSUITABLE_NODES
- See Also:
-
-
Constructor Details
-
V1alpha2ResourceClaimSchedulingStatus
public V1alpha2ResourceClaimSchedulingStatus()
-
-
Method Details
-
getName
Name matches the pod.spec.resourceClaims[*].Name field.- Returns:
- the name property value
-
setName
Set the name property value- Parameters:
name
- property value to set
-
name
Set name in a chainable fashion.- Returns:
- The same instance of V1alpha2ResourceClaimSchedulingStatus for chaining.
-
getUnsuitableNodes
UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for. The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.- Returns:
- the unsuitableNodes property value
-
setUnsuitableNodes
Set the unsuitableNodes property value- Parameters:
unsuitableNodes
- property value to set
-
unsuitableNodes
Set unsuitableNodes in a chainable fashion.- Returns:
- The same instance of V1alpha2ResourceClaimSchedulingStatus for chaining.
-
addunsuitableNodesItem
Add an item to the unsuitableNodes property in a chainable fashion.- Returns:
- The same instance of V1alpha2ResourceClaimSchedulingStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-