@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V2beta2MetricSpec extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_EXTERNAL |
static String |
SERIALIZED_NAME_OBJECT |
static String |
SERIALIZED_NAME_PODS |
static String |
SERIALIZED_NAME_RESOURCE |
static String |
SERIALIZED_NAME_TYPE |
Constructor and Description |
---|
V2beta2MetricSpec() |
Modifier and Type | Method and Description |
---|---|
V2beta2MetricSpec |
_object(V2beta2ObjectMetricSource _object) |
boolean |
equals(Object o) |
V2beta2MetricSpec |
external(V2beta2ExternalMetricSource external) |
V2beta2ExternalMetricSource |
getExternal()
Get external
|
V2beta2ObjectMetricSource |
getObject()
Get _object
|
V2beta2PodsMetricSource |
getPods()
Get pods
|
V2beta2ResourceMetricSource |
getResource()
Get resource
|
String |
getType()
type is the type of metric source.
|
int |
hashCode() |
V2beta2MetricSpec |
pods(V2beta2PodsMetricSource pods) |
V2beta2MetricSpec |
resource(V2beta2ResourceMetricSource resource) |
void |
setExternal(V2beta2ExternalMetricSource external) |
void |
setObject(V2beta2ObjectMetricSource _object) |
void |
setPods(V2beta2PodsMetricSource pods) |
void |
setResource(V2beta2ResourceMetricSource resource) |
void |
setType(String type) |
String |
toString() |
V2beta2MetricSpec |
type(String type) |
public static final String SERIALIZED_NAME_EXTERNAL
public static final String SERIALIZED_NAME_OBJECT
public static final String SERIALIZED_NAME_PODS
public static final String SERIALIZED_NAME_RESOURCE
public static final String SERIALIZED_NAME_TYPE
public V2beta2MetricSpec external(V2beta2ExternalMetricSource external)
@Nullable public V2beta2ExternalMetricSource getExternal()
public void setExternal(V2beta2ExternalMetricSource external)
public V2beta2MetricSpec _object(V2beta2ObjectMetricSource _object)
@Nullable public V2beta2ObjectMetricSource getObject()
public void setObject(V2beta2ObjectMetricSource _object)
public V2beta2MetricSpec pods(V2beta2PodsMetricSource pods)
@Nullable public V2beta2PodsMetricSource getPods()
public void setPods(V2beta2PodsMetricSource pods)
public V2beta2MetricSpec resource(V2beta2ResourceMetricSource resource)
@Nullable public V2beta2ResourceMetricSource getResource()
public void setResource(V2beta2ResourceMetricSource resource)
public V2beta2MetricSpec type(String type)
public String getType()
public void setType(String type)
Copyright © 2020. All rights reserved.