Package io.strimzi.api.kafka.model
Class ZookeeperClusterSpecFluentImpl<A extends ZookeeperClusterSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.strimzi.api.kafka.model.ZookeeperClusterSpecFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,ZookeeperClusterSpecFluent<A>
- Direct Known Subclasses:
KafkaSpecFluentImpl.ZookeeperNestedImpl,ZookeeperClusterSpecBuilder
public class ZookeeperClusterSpecFluentImpl<A extends ZookeeperClusterSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements ZookeeperClusterSpecFluent<A>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.strimzi.api.kafka.model.ZookeeperClusterSpecFluent
ZookeeperClusterSpecFluent.EphemeralStorageNested<N>, ZookeeperClusterSpecFluent.ExternalLoggingNested<N>, ZookeeperClusterSpecFluent.InlineLoggingNested<N>, ZookeeperClusterSpecFluent.JmxPrometheusExporterMetricsConfigNested<N>, ZookeeperClusterSpecFluent.JvmOptionsNested<N>, ZookeeperClusterSpecFluent.LivenessProbeNested<N>, ZookeeperClusterSpecFluent.PersistentClaimStorageNested<N>, ZookeeperClusterSpecFluent.ReadinessProbeNested<N>, ZookeeperClusterSpecFluent.TemplateNested<N>, ZookeeperClusterSpecFluent.TlsSidecarNested<N>
-
-
Constructor Summary
Constructors Constructor Description ZookeeperClusterSpecFluentImpl()ZookeeperClusterSpecFluentImpl(ZookeeperClusterSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
ZookeeperClusterSpecFluentImpl
public ZookeeperClusterSpecFluentImpl()
-
ZookeeperClusterSpecFluentImpl
public ZookeeperClusterSpecFluentImpl(ZookeeperClusterSpec instance)
-
-
Method Detail
-
getStorage
@Deprecated public SingleVolumeStorage getStorage()
Deprecated.This method has been deprecated, please use method buildStorage instead.- Specified by:
getStoragein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>- Returns:
- The buildable object.
-
buildStorage
public SingleVolumeStorage buildStorage()
- Specified by:
buildStoragein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withStorage
public A withStorage(SingleVolumeStorage storage)
- Specified by:
withStoragein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasStorage
public Boolean hasStorage()
- Specified by:
hasStoragein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withPersistentClaimStorage
public A withPersistentClaimStorage(PersistentClaimStorage persistentClaimStorage)
- Specified by:
withPersistentClaimStoragein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewPersistentClaimStorage
public ZookeeperClusterSpecFluent.PersistentClaimStorageNested<A> withNewPersistentClaimStorage()
- Specified by:
withNewPersistentClaimStoragein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewPersistentClaimStorageLike
public ZookeeperClusterSpecFluent.PersistentClaimStorageNested<A> withNewPersistentClaimStorageLike(PersistentClaimStorage item)
- Specified by:
withNewPersistentClaimStorageLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withEphemeralStorage
public A withEphemeralStorage(EphemeralStorage ephemeralStorage)
- Specified by:
withEphemeralStoragein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewEphemeralStorage
public ZookeeperClusterSpecFluent.EphemeralStorageNested<A> withNewEphemeralStorage()
- Specified by:
withNewEphemeralStoragein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewEphemeralStorageLike
public ZookeeperClusterSpecFluent.EphemeralStorageNested<A> withNewEphemeralStorageLike(EphemeralStorage item)
- Specified by:
withNewEphemeralStorageLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
addToConfig
public A addToConfig(String key, Object value)
- Specified by:
addToConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
addToConfig
public A addToConfig(Map<String,Object> map)
- Specified by:
addToConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
removeFromConfig
public A removeFromConfig(String key)
- Specified by:
removeFromConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
removeFromConfig
public A removeFromConfig(Map<String,Object> map)
- Specified by:
removeFromConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getConfig
public Map<String,Object> getConfig()
- Specified by:
getConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withConfig
public <K,V> A withConfig(Map<String,Object> config)
- Specified by:
withConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasConfig
public Boolean hasConfig()
- Specified by:
hasConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getLogging
@Deprecated public Logging getLogging()
Deprecated.This method has been deprecated, please use method buildLogging instead.- Specified by:
getLoggingin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>- Returns:
- The buildable object.
-
buildLogging
public Logging buildLogging()
- Specified by:
buildLoggingin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withLogging
public A withLogging(Logging logging)
- Specified by:
withLoggingin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasLogging
public Boolean hasLogging()
- Specified by:
hasLoggingin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withExternalLogging
public A withExternalLogging(ExternalLogging externalLogging)
- Specified by:
withExternalLoggingin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewExternalLogging
public ZookeeperClusterSpecFluent.ExternalLoggingNested<A> withNewExternalLogging()
- Specified by:
withNewExternalLoggingin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewExternalLoggingLike
public ZookeeperClusterSpecFluent.ExternalLoggingNested<A> withNewExternalLoggingLike(ExternalLogging item)
- Specified by:
withNewExternalLoggingLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withInlineLogging
public A withInlineLogging(InlineLogging inlineLogging)
- Specified by:
withInlineLoggingin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewInlineLogging
public ZookeeperClusterSpecFluent.InlineLoggingNested<A> withNewInlineLogging()
- Specified by:
withNewInlineLoggingin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewInlineLoggingLike
public ZookeeperClusterSpecFluent.InlineLoggingNested<A> withNewInlineLoggingLike(InlineLogging item)
- Specified by:
withNewInlineLoggingLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getTlsSidecar
@Deprecated public TlsSidecar getTlsSidecar()
Deprecated.This method has been deprecated, please use method buildTlsSidecar instead.- Specified by:
getTlsSidecarin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>- Returns:
- The buildable object.
-
buildTlsSidecar
public TlsSidecar buildTlsSidecar()
- Specified by:
buildTlsSidecarin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withTlsSidecar
public A withTlsSidecar(TlsSidecar tlsSidecar)
- Specified by:
withTlsSidecarin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasTlsSidecar
public Boolean hasTlsSidecar()
- Specified by:
hasTlsSidecarin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewTlsSidecar
public ZookeeperClusterSpecFluent.TlsSidecarNested<A> withNewTlsSidecar()
- Specified by:
withNewTlsSidecarin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewTlsSidecarLike
public ZookeeperClusterSpecFluent.TlsSidecarNested<A> withNewTlsSidecarLike(TlsSidecar item)
- Specified by:
withNewTlsSidecarLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editTlsSidecar
public ZookeeperClusterSpecFluent.TlsSidecarNested<A> editTlsSidecar()
- Specified by:
editTlsSidecarin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editOrNewTlsSidecar
public ZookeeperClusterSpecFluent.TlsSidecarNested<A> editOrNewTlsSidecar()
- Specified by:
editOrNewTlsSidecarin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editOrNewTlsSidecarLike
public ZookeeperClusterSpecFluent.TlsSidecarNested<A> editOrNewTlsSidecarLike(TlsSidecar item)
- Specified by:
editOrNewTlsSidecarLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getReplicas
public int getReplicas()
- Specified by:
getReplicasin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withReplicas
public A withReplicas(int replicas)
- Specified by:
withReplicasin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasReplicas
public Boolean hasReplicas()
- Specified by:
hasReplicasin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getImage
public String getImage()
- Specified by:
getImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withImage
public A withImage(String image)
- Specified by:
withImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasImage
public Boolean hasImage()
- Specified by:
hasImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewImage
public A withNewImage(StringBuilder arg1)
- Specified by:
withNewImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewImage
public A withNewImage(int[] arg1, int arg2, int arg3)
- Specified by:
withNewImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewImage
public A withNewImage(char[] arg1)
- Specified by:
withNewImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewImage
public A withNewImage(StringBuffer arg1)
- Specified by:
withNewImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewImage
public A withNewImage(byte[] arg1, int arg2)
- Specified by:
withNewImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewImage
public A withNewImage(byte[] arg1)
- Specified by:
withNewImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewImage
public A withNewImage(char[] arg1, int arg2, int arg3)
- Specified by:
withNewImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewImage
public A withNewImage(byte[] arg1, int arg2, int arg3)
- Specified by:
withNewImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewImage
public A withNewImage(byte[] arg1, int arg2, int arg3, int arg4)
- Specified by:
withNewImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewImage
public A withNewImage(String arg1)
- Specified by:
withNewImagein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getResources
public io.fabric8.kubernetes.api.model.ResourceRequirements getResources()
- Specified by:
getResourcesin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withResources
public A withResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
- Specified by:
withResourcesin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasResources
public Boolean hasResources()
- Specified by:
hasResourcesin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getLivenessProbe
@Deprecated public Probe getLivenessProbe()
Deprecated.This method has been deprecated, please use method buildLivenessProbe instead.- Specified by:
getLivenessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>- Returns:
- The buildable object.
-
buildLivenessProbe
public Probe buildLivenessProbe()
- Specified by:
buildLivenessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withLivenessProbe
public A withLivenessProbe(Probe livenessProbe)
- Specified by:
withLivenessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasLivenessProbe
public Boolean hasLivenessProbe()
- Specified by:
hasLivenessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewLivenessProbe
public A withNewLivenessProbe(int initialDelaySeconds, int timeoutSeconds)
- Specified by:
withNewLivenessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewLivenessProbe
public ZookeeperClusterSpecFluent.LivenessProbeNested<A> withNewLivenessProbe()
- Specified by:
withNewLivenessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewLivenessProbeLike
public ZookeeperClusterSpecFluent.LivenessProbeNested<A> withNewLivenessProbeLike(Probe item)
- Specified by:
withNewLivenessProbeLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editLivenessProbe
public ZookeeperClusterSpecFluent.LivenessProbeNested<A> editLivenessProbe()
- Specified by:
editLivenessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editOrNewLivenessProbe
public ZookeeperClusterSpecFluent.LivenessProbeNested<A> editOrNewLivenessProbe()
- Specified by:
editOrNewLivenessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editOrNewLivenessProbeLike
public ZookeeperClusterSpecFluent.LivenessProbeNested<A> editOrNewLivenessProbeLike(Probe item)
- Specified by:
editOrNewLivenessProbeLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getReadinessProbe
@Deprecated public Probe getReadinessProbe()
Deprecated.This method has been deprecated, please use method buildReadinessProbe instead.- Specified by:
getReadinessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>- Returns:
- The buildable object.
-
buildReadinessProbe
public Probe buildReadinessProbe()
- Specified by:
buildReadinessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withReadinessProbe
public A withReadinessProbe(Probe readinessProbe)
- Specified by:
withReadinessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasReadinessProbe
public Boolean hasReadinessProbe()
- Specified by:
hasReadinessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewReadinessProbe
public A withNewReadinessProbe(int initialDelaySeconds, int timeoutSeconds)
- Specified by:
withNewReadinessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewReadinessProbe
public ZookeeperClusterSpecFluent.ReadinessProbeNested<A> withNewReadinessProbe()
- Specified by:
withNewReadinessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewReadinessProbeLike
public ZookeeperClusterSpecFluent.ReadinessProbeNested<A> withNewReadinessProbeLike(Probe item)
- Specified by:
withNewReadinessProbeLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editReadinessProbe
public ZookeeperClusterSpecFluent.ReadinessProbeNested<A> editReadinessProbe()
- Specified by:
editReadinessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editOrNewReadinessProbe
public ZookeeperClusterSpecFluent.ReadinessProbeNested<A> editOrNewReadinessProbe()
- Specified by:
editOrNewReadinessProbein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editOrNewReadinessProbeLike
public ZookeeperClusterSpecFluent.ReadinessProbeNested<A> editOrNewReadinessProbeLike(Probe item)
- Specified by:
editOrNewReadinessProbeLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getJvmOptions
@Deprecated public JvmOptions getJvmOptions()
Deprecated.This method has been deprecated, please use method buildJvmOptions instead.- Specified by:
getJvmOptionsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>- Returns:
- The buildable object.
-
buildJvmOptions
public JvmOptions buildJvmOptions()
- Specified by:
buildJvmOptionsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withJvmOptions
public A withJvmOptions(JvmOptions jvmOptions)
- Specified by:
withJvmOptionsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasJvmOptions
public Boolean hasJvmOptions()
- Specified by:
hasJvmOptionsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewJvmOptions
public ZookeeperClusterSpecFluent.JvmOptionsNested<A> withNewJvmOptions()
- Specified by:
withNewJvmOptionsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewJvmOptionsLike
public ZookeeperClusterSpecFluent.JvmOptionsNested<A> withNewJvmOptionsLike(JvmOptions item)
- Specified by:
withNewJvmOptionsLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editJvmOptions
public ZookeeperClusterSpecFluent.JvmOptionsNested<A> editJvmOptions()
- Specified by:
editJvmOptionsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editOrNewJvmOptions
public ZookeeperClusterSpecFluent.JvmOptionsNested<A> editOrNewJvmOptions()
- Specified by:
editOrNewJvmOptionsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editOrNewJvmOptionsLike
public ZookeeperClusterSpecFluent.JvmOptionsNested<A> editOrNewJvmOptionsLike(JvmOptions item)
- Specified by:
editOrNewJvmOptionsLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getMetricsConfig
@Deprecated public MetricsConfig getMetricsConfig()
Deprecated.This method has been deprecated, please use method buildMetricsConfig instead.- Specified by:
getMetricsConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>- Returns:
- The buildable object.
-
buildMetricsConfig
public MetricsConfig buildMetricsConfig()
- Specified by:
buildMetricsConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withMetricsConfig
public A withMetricsConfig(MetricsConfig metricsConfig)
- Specified by:
withMetricsConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasMetricsConfig
public Boolean hasMetricsConfig()
- Specified by:
hasMetricsConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withJmxPrometheusExporterMetricsConfig
public A withJmxPrometheusExporterMetricsConfig(JmxPrometheusExporterMetrics jmxPrometheusExporterMetricsConfig)
- Specified by:
withJmxPrometheusExporterMetricsConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewJmxPrometheusExporterMetricsConfig
public ZookeeperClusterSpecFluent.JmxPrometheusExporterMetricsConfigNested<A> withNewJmxPrometheusExporterMetricsConfig()
- Specified by:
withNewJmxPrometheusExporterMetricsConfigin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewJmxPrometheusExporterMetricsConfigLike
public ZookeeperClusterSpecFluent.JmxPrometheusExporterMetricsConfigNested<A> withNewJmxPrometheusExporterMetricsConfigLike(JmxPrometheusExporterMetrics item)
- Specified by:
withNewJmxPrometheusExporterMetricsConfigLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
addToMetrics
public A addToMetrics(String key, Object value)
- Specified by:
addToMetricsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
addToMetrics
public A addToMetrics(Map<String,Object> map)
- Specified by:
addToMetricsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
removeFromMetrics
public A removeFromMetrics(String key)
- Specified by:
removeFromMetricsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
removeFromMetrics
public A removeFromMetrics(Map<String,Object> map)
- Specified by:
removeFromMetricsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getMetrics
public Map<String,Object> getMetrics()
- Specified by:
getMetricsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withMetrics
public <K,V> A withMetrics(Map<String,Object> metrics)
- Specified by:
withMetricsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasMetrics
public Boolean hasMetrics()
- Specified by:
hasMetricsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getAffinity
public io.fabric8.kubernetes.api.model.Affinity getAffinity()
- Specified by:
getAffinityin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withAffinity
public A withAffinity(io.fabric8.kubernetes.api.model.Affinity affinity)
- Specified by:
withAffinityin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasAffinity
public Boolean hasAffinity()
- Specified by:
hasAffinityin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
addToTolerations
public A addToTolerations(int index, io.fabric8.kubernetes.api.model.Toleration item)
- Specified by:
addToTolerationsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
setToTolerations
public A setToTolerations(int index, io.fabric8.kubernetes.api.model.Toleration item)
- Specified by:
setToTolerationsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
addToTolerations
public A addToTolerations(io.fabric8.kubernetes.api.model.Toleration... items)
- Specified by:
addToTolerationsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
addAllToTolerations
public A addAllToTolerations(Collection<io.fabric8.kubernetes.api.model.Toleration> items)
- Specified by:
addAllToTolerationsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
removeFromTolerations
public A removeFromTolerations(io.fabric8.kubernetes.api.model.Toleration... items)
- Specified by:
removeFromTolerationsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
removeAllFromTolerations
public A removeAllFromTolerations(Collection<io.fabric8.kubernetes.api.model.Toleration> items)
- Specified by:
removeAllFromTolerationsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getTolerations
public List<io.fabric8.kubernetes.api.model.Toleration> getTolerations()
- Specified by:
getTolerationsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getToleration
public io.fabric8.kubernetes.api.model.Toleration getToleration(int index)
- Specified by:
getTolerationin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getFirstToleration
public io.fabric8.kubernetes.api.model.Toleration getFirstToleration()
- Specified by:
getFirstTolerationin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getLastToleration
public io.fabric8.kubernetes.api.model.Toleration getLastToleration()
- Specified by:
getLastTolerationin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getMatchingToleration
public io.fabric8.kubernetes.api.model.Toleration getMatchingToleration(Predicate<io.fabric8.kubernetes.api.model.Toleration> predicate)
- Specified by:
getMatchingTolerationin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasMatchingToleration
public Boolean hasMatchingToleration(Predicate<io.fabric8.kubernetes.api.model.Toleration> predicate)
- Specified by:
hasMatchingTolerationin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withTolerations
public A withTolerations(List<io.fabric8.kubernetes.api.model.Toleration> tolerations)
- Specified by:
withTolerationsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withTolerations
public A withTolerations(io.fabric8.kubernetes.api.model.Toleration... tolerations)
- Specified by:
withTolerationsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasTolerations
public Boolean hasTolerations()
- Specified by:
hasTolerationsin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
addNewToleration
public A addNewToleration(String effect, String key, String operator, Long tolerationSeconds, String value)
- Specified by:
addNewTolerationin interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
getTemplate
@Deprecated public ZookeeperClusterTemplate getTemplate()
Deprecated.This method has been deprecated, please use method buildTemplate instead.- Specified by:
getTemplatein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>- Returns:
- The buildable object.
-
buildTemplate
public ZookeeperClusterTemplate buildTemplate()
- Specified by:
buildTemplatein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withTemplate
public A withTemplate(ZookeeperClusterTemplate template)
- Specified by:
withTemplatein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
hasTemplate
public Boolean hasTemplate()
- Specified by:
hasTemplatein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewTemplate
public ZookeeperClusterSpecFluent.TemplateNested<A> withNewTemplate()
- Specified by:
withNewTemplatein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
withNewTemplateLike
public ZookeeperClusterSpecFluent.TemplateNested<A> withNewTemplateLike(ZookeeperClusterTemplate item)
- Specified by:
withNewTemplateLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editTemplate
public ZookeeperClusterSpecFluent.TemplateNested<A> editTemplate()
- Specified by:
editTemplatein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editOrNewTemplate
public ZookeeperClusterSpecFluent.TemplateNested<A> editOrNewTemplate()
- Specified by:
editOrNewTemplatein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
editOrNewTemplateLike
public ZookeeperClusterSpecFluent.TemplateNested<A> editOrNewTemplateLike(ZookeeperClusterTemplate item)
- Specified by:
editOrNewTemplateLikein interfaceZookeeperClusterSpecFluent<A extends ZookeeperClusterSpecFluent<A>>
-
-