Class PrometheusSourceFluentImpl<A extends PrometheusSourceFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.knative.eventing.contrib.prometheus.v1alpha1.PrometheusSourceFluentImpl<A>
-
- All Implemented Interfaces:
PrometheusSourceFluent<A>,io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>
- Direct Known Subclasses:
PrometheusSourceBuilder,PrometheusSourceListFluentImpl.ItemsNestedImpl
public class PrometheusSourceFluentImpl<A extends PrometheusSourceFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements PrometheusSourceFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classPrometheusSourceFluentImpl.MetadataNestedImpl<N>classPrometheusSourceFluentImpl.SpecNestedImpl<N>classPrometheusSourceFluentImpl.StatusNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.knative.eventing.contrib.prometheus.v1alpha1.PrometheusSourceFluent
PrometheusSourceFluent.MetadataNested<N>, PrometheusSourceFluent.SpecNested<N>, PrometheusSourceFluent.StatusNested<N>
-
-
Constructor Summary
Constructors Constructor Description PrometheusSourceFluentImpl()PrometheusSourceFluentImpl(PrometheusSource instance)
-
Method Summary
-
-
-
Constructor Detail
-
PrometheusSourceFluentImpl
public PrometheusSourceFluentImpl()
-
PrometheusSourceFluentImpl
public PrometheusSourceFluentImpl(PrometheusSource instance)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersionin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withApiVersion
public A withApiVersion(String apiVersion)
- Specified by:
withApiVersionin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
hasApiVersion
public Boolean hasApiVersion()
- Specified by:
hasApiVersionin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(String arg1)
- Specified by:
withNewApiVersionin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuilder arg1)
- Specified by:
withNewApiVersionin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuffer arg1)
- Specified by:
withNewApiVersionin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
getKind
public String getKind()
- Specified by:
getKindin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withKind
public A withKind(String kind)
- Specified by:
withKindin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
hasKind
public Boolean hasKind()
- Specified by:
hasKindin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withNewKind
public A withNewKind(String arg1)
- Specified by:
withNewKindin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withNewKind
public A withNewKind(StringBuilder arg1)
- Specified by:
withNewKindin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withNewKind
public A withNewKind(StringBuffer arg1)
- Specified by:
withNewKindin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
getMetadata
@Deprecated public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadatain interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>- Returns:
- The buildable object.
-
buildMetadata
public io.fabric8.kubernetes.api.model.ObjectMeta buildMetadata()
- Specified by:
buildMetadatain interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withMetadata
public A withMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
- Specified by:
withMetadatain interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
hasMetadata
public Boolean hasMetadata()
- Specified by:
hasMetadatain interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withNewMetadata
public PrometheusSourceFluent.MetadataNested<A> withNewMetadata()
- Specified by:
withNewMetadatain interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withNewMetadataLike
public PrometheusSourceFluent.MetadataNested<A> withNewMetadataLike(io.fabric8.kubernetes.api.model.ObjectMeta item)
- Specified by:
withNewMetadataLikein interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
editMetadata
public PrometheusSourceFluent.MetadataNested<A> editMetadata()
- Specified by:
editMetadatain interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
editOrNewMetadata
public PrometheusSourceFluent.MetadataNested<A> editOrNewMetadata()
- Specified by:
editOrNewMetadatain interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
editOrNewMetadataLike
public PrometheusSourceFluent.MetadataNested<A> editOrNewMetadataLike(io.fabric8.kubernetes.api.model.ObjectMeta item)
- Specified by:
editOrNewMetadataLikein interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
getSpec
@Deprecated public PrometheusSourceSpec getSpec()
Deprecated.This method has been deprecated, please use method buildSpec instead.- Specified by:
getSpecin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>- Returns:
- The buildable object.
-
buildSpec
public PrometheusSourceSpec buildSpec()
- Specified by:
buildSpecin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withSpec
public A withSpec(PrometheusSourceSpec spec)
- Specified by:
withSpecin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
hasSpec
public Boolean hasSpec()
- Specified by:
hasSpecin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withNewSpec
public PrometheusSourceFluent.SpecNested<A> withNewSpec()
- Specified by:
withNewSpecin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withNewSpecLike
public PrometheusSourceFluent.SpecNested<A> withNewSpecLike(PrometheusSourceSpec item)
- Specified by:
withNewSpecLikein interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
editSpec
public PrometheusSourceFluent.SpecNested<A> editSpec()
- Specified by:
editSpecin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
editOrNewSpec
public PrometheusSourceFluent.SpecNested<A> editOrNewSpec()
- Specified by:
editOrNewSpecin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
editOrNewSpecLike
public PrometheusSourceFluent.SpecNested<A> editOrNewSpecLike(PrometheusSourceSpec item)
- Specified by:
editOrNewSpecLikein interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
getStatus
@Deprecated public PrometheusSourceStatus getStatus()
Deprecated.This method has been deprecated, please use method buildStatus instead.- Specified by:
getStatusin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>- Returns:
- The buildable object.
-
buildStatus
public PrometheusSourceStatus buildStatus()
- Specified by:
buildStatusin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withStatus
public A withStatus(PrometheusSourceStatus status)
- Specified by:
withStatusin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
hasStatus
public Boolean hasStatus()
- Specified by:
hasStatusin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withNewStatus
public PrometheusSourceFluent.StatusNested<A> withNewStatus()
- Specified by:
withNewStatusin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
withNewStatusLike
public PrometheusSourceFluent.StatusNested<A> withNewStatusLike(PrometheusSourceStatus item)
- Specified by:
withNewStatusLikein interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
editStatus
public PrometheusSourceFluent.StatusNested<A> editStatus()
- Specified by:
editStatusin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
editOrNewStatus
public PrometheusSourceFluent.StatusNested<A> editOrNewStatus()
- Specified by:
editOrNewStatusin interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
editOrNewStatusLike
public PrometheusSourceFluent.StatusNested<A> editOrNewStatusLike(PrometheusSourceStatus item)
- Specified by:
editOrNewStatusLikein interfacePrometheusSourceFluent<A extends PrometheusSourceFluent<A>>
-
-