Class ScaleStatus.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.autoscaling.v1.ScaleStatus.Builder
-
- Enclosing class:
- ScaleStatus
public static class ScaleStatus.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScaleStatus
build()
ScaleStatus.Builder
replicas(@NonNull java.lang.Number replicas)
actual number of observed instances of the scaled object.ScaleStatus.Builder
selector(java.lang.String selector)
label query over pods that should match the replicas count.java.lang.String
toString()
-
-
-
Method Detail
-
replicas
public ScaleStatus.Builder replicas(@NonNull @NonNull java.lang.Number replicas)
actual number of observed instances of the scaled object.- Returns:
this
.
-
selector
public ScaleStatus.Builder selector(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- Returns:
this
.
-
build
public ScaleStatus build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-