Class V2ObjectMetricSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2ObjectMetricSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V2ObjectMetricSource
extends Object
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionV2ObjectMetricSource(V2CrossVersionObjectReference describedObject, V2MetricIdentifier metric, V2MetricTarget target) -
Method Summary
Modifier and TypeMethodDescriptiondescribedObject(V2CrossVersionObjectReference describedObject) Set describedObject in a chainable fashion.booleaninthashCode()metric(V2MetricIdentifier metric) Set metric in a chainable fashion.voidsetDescribedObject(V2CrossVersionObjectReference describedObject) Set the describedObject property valuevoidsetMetric(V2MetricIdentifier metric) Set the metric property valuevoidsetTarget(V2MetricTarget target) Set the target property valuetarget(V2MetricTarget target) Set target in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_DESCRIBED_OBJECT
- See Also:
-
JSON_PROPERTY_METRIC
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
-
Constructor Details
-
V2ObjectMetricSource
public V2ObjectMetricSource(V2CrossVersionObjectReference describedObject, V2MetricIdentifier metric, V2MetricTarget target)
-
-
Method Details
-
getDescribedObject
- Returns:
- the describedObject property value
-
setDescribedObject
Set the describedObject property value -
describedObject
Set describedObject in a chainable fashion.- Returns:
- The same instance of V2ObjectMetricSource for chaining.
-
getMetric
- Returns:
- the metric property value
-
setMetric
Set the metric property value -
metric
Set metric in a chainable fashion.- Returns:
- The same instance of V2ObjectMetricSource for chaining.
-
getTarget
- Returns:
- the target property value
-
setTarget
Set the target property value -
target
Set target in a chainable fashion.- Returns:
- The same instance of V2ObjectMetricSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-