Class ScaleStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v1.ScaleStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ScaleStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ScaleStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<ScaleStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceScaleStatus represents the current status of a scale subresource.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScaleStatus()No args constructor for use in serializationScaleStatus(Integer replicas, String selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScaleStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetReplicas()replicas is the actual number of observed instances of the scaled object.StringgetSelector()selector is the label query over pods that should match the replicas count.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetReplicas(Integer replicas)replicas is the actual number of observed instances of the scaled object.voidsetSelector(String selector)selector is the label query over pods that should match the replicas count.ScaleStatusBuildertoBuilder()
-
-
-
Method Detail
-
getReplicas
public Integer getReplicas()
replicas is the actual number of observed instances of the scaled object.
-
setReplicas
public void setReplicas(Integer replicas)
replicas is the actual number of observed instances of the scaled object.
-
getSelector
public String 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/
-
setSelector
public void setSelector(String selector)
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/
-
edit
public ScaleStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ScaleStatusBuilder>
-
toBuilder
public ScaleStatusBuilder toBuilder()
-
-