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
-
Constructor Summary
ConstructorDescriptionV2ObjectMetricSource
(V2CrossVersionObjectReference describedObject, V2MetricIdentifier metric, V2MetricTarget target) -
Method Summary
Modifier and TypeMethodDescriptiondescribedObject
(V2CrossVersionObjectReference describedObject) Set describedObject in a chainable fashion.boolean
int
hashCode()
metric
(V2MetricIdentifier metric) Set metric in a chainable fashion.void
setDescribedObject
(V2CrossVersionObjectReference describedObject) Set the describedObject property valuevoid
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_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- Parameters:
describedObject
- property value to set
-
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- Parameters:
metric
- property value to set
-
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- Parameters:
target
- property value to set
-
target
Set target in a chainable fashion.- Returns:
- The same instance of V2ObjectMetricSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-