Struct aws_sdk_kafka::types::builders::PrometheusBuilder
source · #[non_exhaustive]pub struct PrometheusBuilder { /* private fields */ }
Expand description
A builder for Prometheus
.
Implementations§
source§impl PrometheusBuilder
impl PrometheusBuilder
sourcepub fn jmx_exporter(self, input: JmxExporter) -> Self
pub fn jmx_exporter(self, input: JmxExporter) -> Self
Indicates whether you want to turn on or turn off the JMX Exporter.
sourcepub fn set_jmx_exporter(self, input: Option<JmxExporter>) -> Self
pub fn set_jmx_exporter(self, input: Option<JmxExporter>) -> Self
Indicates whether you want to turn on or turn off the JMX Exporter.
sourcepub fn get_jmx_exporter(&self) -> &Option<JmxExporter>
pub fn get_jmx_exporter(&self) -> &Option<JmxExporter>
Indicates whether you want to turn on or turn off the JMX Exporter.
sourcepub fn node_exporter(self, input: NodeExporter) -> Self
pub fn node_exporter(self, input: NodeExporter) -> Self
Indicates whether you want to turn on or turn off the Node Exporter.
sourcepub fn set_node_exporter(self, input: Option<NodeExporter>) -> Self
pub fn set_node_exporter(self, input: Option<NodeExporter>) -> Self
Indicates whether you want to turn on or turn off the Node Exporter.
sourcepub fn get_node_exporter(&self) -> &Option<NodeExporter>
pub fn get_node_exporter(&self) -> &Option<NodeExporter>
Indicates whether you want to turn on or turn off the Node Exporter.
sourcepub fn build(self) -> Prometheus
pub fn build(self) -> Prometheus
Consumes the builder and constructs a Prometheus
.
Trait Implementations§
source§impl Clone for PrometheusBuilder
impl Clone for PrometheusBuilder
source§fn clone(&self) -> PrometheusBuilder
fn clone(&self) -> PrometheusBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PrometheusBuilder
impl Debug for PrometheusBuilder
source§impl Default for PrometheusBuilder
impl Default for PrometheusBuilder
source§fn default() -> PrometheusBuilder
fn default() -> PrometheusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PrometheusBuilder
impl PartialEq for PrometheusBuilder
source§fn eq(&self, other: &PrometheusBuilder) -> bool
fn eq(&self, other: &PrometheusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PrometheusBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PrometheusBuilder
impl Send for PrometheusBuilder
impl Sync for PrometheusBuilder
impl Unpin for PrometheusBuilder
impl UnwindSafe for PrometheusBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.