public class ScaleFluentImpl<A extends ScaleFluent<A>> extends BaseFluent<A> implements ScaleFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ScaleFluentImpl.MetadataNestedImpl<N> |
class |
ScaleFluentImpl.SpecNestedImpl<N> |
class |
ScaleFluentImpl.StatusNestedImpl<N> |
ScaleFluent.MetadataNested<N>, ScaleFluent.SpecNested<N>, ScaleFluent.StatusNested<N>
_visitables
Constructor and Description |
---|
ScaleFluentImpl() |
ScaleFluentImpl(Scale instance) |
public ScaleFluentImpl()
public ScaleFluentImpl(Scale instance)
public String getApiVersion()
getApiVersion
in interface ScaleFluent<A extends ScaleFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface ScaleFluent<A extends ScaleFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface ScaleFluent<A extends ScaleFluent<A>>
public A withNewApiVersion(String arg1)
withNewApiVersion
in interface ScaleFluent<A extends ScaleFluent<A>>
public A withNewApiVersion(StringBuilder arg1)
withNewApiVersion
in interface ScaleFluent<A extends ScaleFluent<A>>
public A withNewApiVersion(StringBuffer arg1)
withNewApiVersion
in interface ScaleFluent<A extends ScaleFluent<A>>
public String getKind()
getKind
in interface ScaleFluent<A extends ScaleFluent<A>>
public A withKind(String kind)
withKind
in interface ScaleFluent<A extends ScaleFluent<A>>
public Boolean hasKind()
hasKind
in interface ScaleFluent<A extends ScaleFluent<A>>
public A withNewKind(String arg1)
withNewKind
in interface ScaleFluent<A extends ScaleFluent<A>>
public A withNewKind(StringBuilder arg1)
withNewKind
in interface ScaleFluent<A extends ScaleFluent<A>>
public A withNewKind(StringBuffer arg1)
withNewKind
in interface ScaleFluent<A extends ScaleFluent<A>>
@Deprecated public ObjectMeta getMetadata()
getMetadata
in interface ScaleFluent<A extends ScaleFluent<A>>
public ObjectMeta buildMetadata()
buildMetadata
in interface ScaleFluent<A extends ScaleFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface ScaleFluent<A extends ScaleFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.MetadataNested<A> editMetadata()
editMetadata
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
editOrNewMetadataLike
in interface ScaleFluent<A extends ScaleFluent<A>>
@Deprecated public ScaleSpec getSpec()
getSpec
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleSpec buildSpec()
buildSpec
in interface ScaleFluent<A extends ScaleFluent<A>>
public A withSpec(ScaleSpec spec)
withSpec
in interface ScaleFluent<A extends ScaleFluent<A>>
public Boolean hasSpec()
hasSpec
in interface ScaleFluent<A extends ScaleFluent<A>>
public A withNewSpec(Integer replicas)
withNewSpec
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.SpecNested<A> withNewSpec()
withNewSpec
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.SpecNested<A> withNewSpecLike(ScaleSpec item)
withNewSpecLike
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.SpecNested<A> editSpec()
editSpec
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.SpecNested<A> editOrNewSpec()
editOrNewSpec
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.SpecNested<A> editOrNewSpecLike(ScaleSpec item)
editOrNewSpecLike
in interface ScaleFluent<A extends ScaleFluent<A>>
@Deprecated public ScaleStatus getStatus()
getStatus
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleStatus buildStatus()
buildStatus
in interface ScaleFluent<A extends ScaleFluent<A>>
public A withStatus(ScaleStatus status)
withStatus
in interface ScaleFluent<A extends ScaleFluent<A>>
public Boolean hasStatus()
hasStatus
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.StatusNested<A> withNewStatus()
withNewStatus
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.StatusNested<A> withNewStatusLike(ScaleStatus item)
withNewStatusLike
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.StatusNested<A> editStatus()
editStatus
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.StatusNested<A> editOrNewStatus()
editOrNewStatus
in interface ScaleFluent<A extends ScaleFluent<A>>
public ScaleFluent.StatusNested<A> editOrNewStatusLike(ScaleStatus item)
editOrNewStatusLike
in interface ScaleFluent<A extends ScaleFluent<A>>
Copyright © 2015–2019 Red Hat. All rights reserved.