Class V2MetricSpecFluentImpl<A extends V2MetricSpecFluent<A>>
java.lang.Object
io.kubernetes.client.fluent.BaseFluent<A>
io.kubernetes.client.openapi.models.V2MetricSpecFluentImpl<A>
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,V2MetricSpecFluent<A>
- Direct Known Subclasses:
V2MetricSpecBuilder
public class V2MetricSpecFluentImpl<A extends V2MetricSpecFluent<A>>
extends BaseFluent<A>
implements V2MetricSpecFluent<A>
Generated
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.kubernetes.client.openapi.models.V2MetricSpecFluent
V2MetricSpecFluent.ContainerResourceNested<N>, V2MetricSpecFluent.ExternalNested<N>, V2MetricSpecFluent.ObjectNested<N>, V2MetricSpecFluent.PodsNested<N>, V2MetricSpecFluent.ResourceNested<N> -
Field Summary
Fields inherited from class io.kubernetes.client.fluent.BaseFluent
_visitables, VISIT -
Constructor Summary
ConstructorsConstructorDescriptionV2MetricSpecFluentImpl(io.kubernetes.client.openapi.models.V2MetricSpec instance) -
Method Summary
Modifier and TypeMethodDescriptionio.kubernetes.client.openapi.models.V2ContainerResourceMetricSourceio.kubernetes.client.openapi.models.V2ExternalMetricSourceio.kubernetes.client.openapi.models.V2ObjectMetricSourceio.kubernetes.client.openapi.models.V2PodsMetricSourceio.kubernetes.client.openapi.models.V2ResourceMetricSourceeditOrNewContainerResourceLike(io.kubernetes.client.openapi.models.V2ContainerResourceMetricSource item) editOrNewExternalLike(io.kubernetes.client.openapi.models.V2ExternalMetricSource item) editOrNewObjectLike(io.kubernetes.client.openapi.models.V2ObjectMetricSource item) editOrNewPodsLike(io.kubernetes.client.openapi.models.V2PodsMetricSource item) editOrNewResourceLike(io.kubernetes.client.openapi.models.V2ResourceMetricSource item) editPods()booleanio.kubernetes.client.openapi.models.V2ContainerResourceMetricSourceDeprecated.io.kubernetes.client.openapi.models.V2ExternalMetricSourceDeprecated.io.kubernetes.client.openapi.models.V2ObjectMetricSourceDeprecated.io.kubernetes.client.openapi.models.V2PodsMetricSourcegetPods()Deprecated.io.kubernetes.client.openapi.models.V2ResourceMetricSourceDeprecated.getType()inthashCode()hasPods()hasType()toString()withContainerResource(io.kubernetes.client.openapi.models.V2ContainerResourceMetricSource containerResource) withExternal(io.kubernetes.client.openapi.models.V2ExternalMetricSource external) withNewContainerResourceLike(io.kubernetes.client.openapi.models.V2ContainerResourceMetricSource item) withNewExternalLike(io.kubernetes.client.openapi.models.V2ExternalMetricSource item) withNewObjectLike(io.kubernetes.client.openapi.models.V2ObjectMetricSource item) withNewPodsLike(io.kubernetes.client.openapi.models.V2PodsMetricSource item) withNewResourceLike(io.kubernetes.client.openapi.models.V2ResourceMetricSource item) withObject(io.kubernetes.client.openapi.models.V2ObjectMetricSource _object) withPods(io.kubernetes.client.openapi.models.V2PodsMetricSource pods) withResource(io.kubernetes.client.openapi.models.V2ResourceMetricSource resource) Methods inherited from class io.kubernetes.client.fluent.BaseFluent
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOf
-
Constructor Details
-
V2MetricSpecFluentImpl
public V2MetricSpecFluentImpl() -
V2MetricSpecFluentImpl
public V2MetricSpecFluentImpl(io.kubernetes.client.openapi.models.V2MetricSpec instance)
-
-
Method Details
-
getContainerResource
@Deprecated public io.kubernetes.client.openapi.models.V2ContainerResourceMetricSource getContainerResource()Deprecated.This method has been deprecated, please use method buildContainerResource instead.- Specified by:
getContainerResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>- Returns:
- The buildable object.
-
buildContainerResource
public io.kubernetes.client.openapi.models.V2ContainerResourceMetricSource buildContainerResource()- Specified by:
buildContainerResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withContainerResource
public A withContainerResource(io.kubernetes.client.openapi.models.V2ContainerResourceMetricSource containerResource) - Specified by:
withContainerResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
hasContainerResource
- Specified by:
hasContainerResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withNewContainerResource
- Specified by:
withNewContainerResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withNewContainerResourceLike
public V2MetricSpecFluent.ContainerResourceNested<A> withNewContainerResourceLike(io.kubernetes.client.openapi.models.V2ContainerResourceMetricSource item) - Specified by:
withNewContainerResourceLikein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editContainerResource
- Specified by:
editContainerResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editOrNewContainerResource
- Specified by:
editOrNewContainerResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editOrNewContainerResourceLike
public V2MetricSpecFluent.ContainerResourceNested<A> editOrNewContainerResourceLike(io.kubernetes.client.openapi.models.V2ContainerResourceMetricSource item) - Specified by:
editOrNewContainerResourceLikein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
getExternal
Deprecated.This method has been deprecated, please use method buildExternal instead.- Specified by:
getExternalin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>- Returns:
- The buildable object.
-
buildExternal
public io.kubernetes.client.openapi.models.V2ExternalMetricSource buildExternal()- Specified by:
buildExternalin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withExternal
- Specified by:
withExternalin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
hasExternal
- Specified by:
hasExternalin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withNewExternal
- Specified by:
withNewExternalin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withNewExternalLike
public V2MetricSpecFluent.ExternalNested<A> withNewExternalLike(io.kubernetes.client.openapi.models.V2ExternalMetricSource item) - Specified by:
withNewExternalLikein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editExternal
- Specified by:
editExternalin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editOrNewExternal
- Specified by:
editOrNewExternalin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editOrNewExternalLike
public V2MetricSpecFluent.ExternalNested<A> editOrNewExternalLike(io.kubernetes.client.openapi.models.V2ExternalMetricSource item) - Specified by:
editOrNewExternalLikein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
getObject
Deprecated.This method has been deprecated, please use method buildObject instead.- Specified by:
getObjectin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>- Returns:
- The buildable object.
-
buildObject
public io.kubernetes.client.openapi.models.V2ObjectMetricSource buildObject()- Specified by:
buildObjectin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withObject
- Specified by:
withObjectin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
hasObject
- Specified by:
hasObjectin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withNewObject
- Specified by:
withNewObjectin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withNewObjectLike
public V2MetricSpecFluent.ObjectNested<A> withNewObjectLike(io.kubernetes.client.openapi.models.V2ObjectMetricSource item) - Specified by:
withNewObjectLikein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editObject
- Specified by:
editObjectin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editOrNewObject
- Specified by:
editOrNewObjectin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editOrNewObjectLike
public V2MetricSpecFluent.ObjectNested<A> editOrNewObjectLike(io.kubernetes.client.openapi.models.V2ObjectMetricSource item) - Specified by:
editOrNewObjectLikein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
getPods
Deprecated.This method has been deprecated, please use method buildPods instead.- Specified by:
getPodsin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>- Returns:
- The buildable object.
-
buildPods
public io.kubernetes.client.openapi.models.V2PodsMetricSource buildPods()- Specified by:
buildPodsin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withPods
- Specified by:
withPodsin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
hasPods
- Specified by:
hasPodsin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withNewPods
- Specified by:
withNewPodsin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withNewPodsLike
public V2MetricSpecFluent.PodsNested<A> withNewPodsLike(io.kubernetes.client.openapi.models.V2PodsMetricSource item) - Specified by:
withNewPodsLikein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editPods
- Specified by:
editPodsin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editOrNewPods
- Specified by:
editOrNewPodsin interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editOrNewPodsLike
public V2MetricSpecFluent.PodsNested<A> editOrNewPodsLike(io.kubernetes.client.openapi.models.V2PodsMetricSource item) - Specified by:
editOrNewPodsLikein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
getResource
Deprecated.This method has been deprecated, please use method buildResource instead.- Specified by:
getResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>- Returns:
- The buildable object.
-
buildResource
public io.kubernetes.client.openapi.models.V2ResourceMetricSource buildResource()- Specified by:
buildResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withResource
- Specified by:
withResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
hasResource
- Specified by:
hasResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withNewResource
- Specified by:
withNewResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withNewResourceLike
public V2MetricSpecFluent.ResourceNested<A> withNewResourceLike(io.kubernetes.client.openapi.models.V2ResourceMetricSource item) - Specified by:
withNewResourceLikein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editResource
- Specified by:
editResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editOrNewResource
- Specified by:
editOrNewResourcein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
editOrNewResourceLike
public V2MetricSpecFluent.ResourceNested<A> editOrNewResourceLike(io.kubernetes.client.openapi.models.V2ResourceMetricSource item) - Specified by:
editOrNewResourceLikein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
getType
- Specified by:
getTypein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
withType
- Specified by:
withTypein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
hasType
- Specified by:
hasTypein interfaceV2MetricSpecFluent<A extends V2MetricSpecFluent<A>>
-
equals
- Overrides:
equalsin classBaseFluent<A extends V2MetricSpecFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseFluent<A extends V2MetricSpecFluent<A>>
-
toString
-