Class V2ExternalMetricSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2ExternalMetricSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V2ExternalMetricSource
extends Object
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
metric
(V2MetricIdentifier metric) Set metric in a chainable fashion.void
setMetric
(V2MetricIdentifier metric) Set the metric property valuevoid
setTarget
(V2MetricTarget target) Set the target property valuetarget
(V2MetricTarget target) Set target in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_METRIC
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
-
Constructor Details
-
V2ExternalMetricSource
-
-
Method Details
-
getMetric
- Returns:
- the metric property value
-
setMetric
Set the metric property value- Parameters:
metric
- property value to set
-
metric
Set metric in a chainable fashion.- Returns:
- The same instance of V2ExternalMetricSource for chaining.
-
getTarget
- Returns:
- the target property value
-
setTarget
Set the target property value- Parameters:
target
- property value to set
-
target
Set target in a chainable fashion.- Returns:
- The same instance of V2ExternalMetricSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-