Class V1ScaleStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ScaleStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ScaleStatus
extends Object
ScaleStatus represents the current status of a scale subresource.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
replicas is the actual number of observed instances of the scaled object.selector is the label query over pods that should match the replicas count.int
hashCode()
Set replicas in a chainable fashion.Set selector in a chainable fashion.void
setReplicas
(Integer replicas) Set the replicas property valuevoid
setSelector
(String selector) Set the selector property valuetoString()
-
Field Details
-
JSON_PROPERTY_REPLICAS
- See Also:
-
JSON_PROPERTY_SELECTOR
- See Also:
-
-
Constructor Details
-
V1ScaleStatus
-
-
Method Details
-
getReplicas
replicas is the actual number of observed instances of the scaled object.- Returns:
- the replicas property value
-
setReplicas
Set the replicas property value- Parameters:
replicas
- property value to set
-
replicas
Set replicas in a chainable fashion.- Returns:
- The same instance of V1ScaleStatus for chaining.
-
getSelector
selector is the label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/- Returns:
- the selector property value
-
setSelector
Set the selector property value- Parameters:
selector
- property value to set
-
selector
Set selector in a chainable fashion.- Returns:
- The same instance of V1ScaleStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-