Struct aws_sdk_kafka::types::builders::PrometheusInfoBuilder
source · #[non_exhaustive]pub struct PrometheusInfoBuilder { /* private fields */ }
Expand description
A builder for PrometheusInfo
.
Implementations§
source§impl PrometheusInfoBuilder
impl PrometheusInfoBuilder
sourcepub fn jmx_exporter(self, input: JmxExporterInfo) -> Self
pub fn jmx_exporter(self, input: JmxExporterInfo) -> Self
Indicates whether you want to turn on or turn off the JMX Exporter.
sourcepub fn set_jmx_exporter(self, input: Option<JmxExporterInfo>) -> Self
pub fn set_jmx_exporter(self, input: Option<JmxExporterInfo>) -> Self
Indicates whether you want to turn on or turn off the JMX Exporter.
sourcepub fn get_jmx_exporter(&self) -> &Option<JmxExporterInfo>
pub fn get_jmx_exporter(&self) -> &Option<JmxExporterInfo>
Indicates whether you want to turn on or turn off the JMX Exporter.
sourcepub fn node_exporter(self, input: NodeExporterInfo) -> Self
pub fn node_exporter(self, input: NodeExporterInfo) -> Self
Indicates whether you want to turn on or turn off the Node Exporter.
sourcepub fn set_node_exporter(self, input: Option<NodeExporterInfo>) -> Self
pub fn set_node_exporter(self, input: Option<NodeExporterInfo>) -> Self
Indicates whether you want to turn on or turn off the Node Exporter.
sourcepub fn get_node_exporter(&self) -> &Option<NodeExporterInfo>
pub fn get_node_exporter(&self) -> &Option<NodeExporterInfo>
Indicates whether you want to turn on or turn off the Node Exporter.
sourcepub fn build(self) -> PrometheusInfo
pub fn build(self) -> PrometheusInfo
Consumes the builder and constructs a PrometheusInfo
.
Trait Implementations§
source§impl Clone for PrometheusInfoBuilder
impl Clone for PrometheusInfoBuilder
source§fn clone(&self) -> PrometheusInfoBuilder
fn clone(&self) -> PrometheusInfoBuilder
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 PrometheusInfoBuilder
impl Debug for PrometheusInfoBuilder
source§impl Default for PrometheusInfoBuilder
impl Default for PrometheusInfoBuilder
source§fn default() -> PrometheusInfoBuilder
fn default() -> PrometheusInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PrometheusInfoBuilder
impl PartialEq for PrometheusInfoBuilder
source§fn eq(&self, other: &PrometheusInfoBuilder) -> bool
fn eq(&self, other: &PrometheusInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PrometheusInfoBuilder
Auto Trait Implementations§
impl Freeze for PrometheusInfoBuilder
impl RefUnwindSafe for PrometheusInfoBuilder
impl Send for PrometheusInfoBuilder
impl Sync for PrometheusInfoBuilder
impl Unpin for PrometheusInfoBuilder
impl UnwindSafe for PrometheusInfoBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.