Class ScaleStatus
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.autoscaling.v1.ScaleStatus
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class ScaleStatus extends java.lang.Object implements com.marcnuri.yakc.model.Model
ScaleStatus represents the current status of a scale subresource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScaleStatus.Builder
-
Constructor Summary
Constructors Constructor Description ScaleStatus()
ScaleStatus(@NonNull java.lang.Number replicas, java.lang.String selector)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScaleStatus.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.Number
getReplicas()
actual number of observed instances of the scaled object.java.lang.String
getSelector()
label query over pods that should match the replicas count.int
hashCode()
void
setReplicas(@NonNull java.lang.Number replicas)
actual number of observed instances of the scaled object.void
setSelector(java.lang.String selector)
label query over pods that should match the replicas count.ScaleStatus.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static ScaleStatus.Builder builder()
-
toBuilder
public ScaleStatus.Builder toBuilder()
-
getReplicas
@NonNull public @NonNull java.lang.Number getReplicas()
actual number of observed instances of the scaled object.
-
getSelector
public java.lang.String getSelector()
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: http://kubernetes.io/docs/user-guide/labels#label-selectors
-
setReplicas
public void setReplicas(@NonNull @NonNull java.lang.Number replicas)
actual number of observed instances of the scaled object.
-
setSelector
public void setSelector(java.lang.String selector)
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: http://kubernetes.io/docs/user-guide/labels#label-selectors
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-