S
- the class providing the Spec
part of this CustomResourceT
- the class providing the Status
part of this CustomResourcepublic class CustomResourceFluentImpl<S,T,A extends CustomResourceFluent<S,T,A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements CustomResourceFluent<S,T,A>
Group
and Version
.
Properties are set up automatically as follows:
HasMetadata.getGroup(Class)
HasMetadata.getVersion(Class)
HasMetadata.getSingular(Class)
HasMetadata.getPlural(Class)
CustomResource.getCRDName(Class)
CustomResource.setApiVersion(String)
and CustomResource.setKind(String)
are overridden to not do anything since these values
are set.Modifier and Type | Class and Description |
---|---|
class |
CustomResourceFluentImpl.MetadataNestedImpl<N> |
CustomResourceFluent.MetadataNested<N>
Constructor and Description |
---|
CustomResourceFluentImpl() |
CustomResourceFluentImpl(CustomResource<S,T> instance) |
public CustomResourceFluentImpl()
public CustomResourceFluentImpl(CustomResource<S,T> instance)
@Deprecated public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
getMetadata
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public io.fabric8.kubernetes.api.model.ObjectMeta buildMetadata()
buildMetadata
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public A withMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
withMetadata
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public Boolean hasMetadata()
hasMetadata
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public CustomResourceFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public CustomResourceFluent.MetadataNested<A> withNewMetadataLike(io.fabric8.kubernetes.api.model.ObjectMeta item)
withNewMetadataLike
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public CustomResourceFluent.MetadataNested<A> editMetadata()
editMetadata
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public CustomResourceFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public CustomResourceFluent.MetadataNested<A> editOrNewMetadataLike(io.fabric8.kubernetes.api.model.ObjectMeta item)
editOrNewMetadataLike
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public S getSpec()
getSpec
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public A withSpec(S spec)
withSpec
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public Boolean hasSpec()
hasSpec
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public T getStatus()
getStatus
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public A withStatus(T status)
withStatus
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public Boolean hasStatus()
hasStatus
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public String getKind()
getKind
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public A withKind(String kind)
withKind
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public Boolean hasKind()
hasKind
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
@Deprecated public A withNewKind(String arg0)
withNewKind
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public String getApiVersion()
getApiVersion
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
public Boolean hasApiVersion()
hasApiVersion
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
@Deprecated public A withNewApiVersion(String arg0)
withNewApiVersion
in interface CustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
Copyright © 2015–2020 Red Hat. All rights reserved.