Class ScaleStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.extensions.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.KubernetesResource
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, Map<String,String> selector, String targetSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScaleStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetReplicas()actual number of observed instances of the scaled object.Map<String,String>getSelector()label query over pods that should match the replicas count.StringgetTargetSelector()label selector for pods that should match the replicas count.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetReplicas(Integer replicas)actual number of observed instances of the scaled object.voidsetSelector(Map<String,String> selector)label query over pods that should match the replicas count.voidsetTargetSelector(String targetSelector)label selector for pods that should match the replicas count.ScaleStatusBuildertoBuilder()
-
-
-
Method Detail
-
getReplicas
public Integer getReplicas()
actual number of observed instances of the scaled object.
-
setReplicas
public void setReplicas(Integer replicas)
actual number of observed instances of the scaled object.
-
getSelector
public Map<String,String> getSelector()
label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
-
setSelector
public void setSelector(Map<String,String> selector)
label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
-
getTargetSelector
public String getTargetSelector()
label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
-
setTargetSelector
public void setTargetSelector(String targetSelector)
label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
-
edit
public ScaleStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ScaleStatusBuilder>
-
toBuilder
public ScaleStatusBuilder toBuilder()
-
-