pub struct Builder { /* private fields */ }Expand description
A builder for ExternalMetricsPreference.
Implementations§
source§impl Builder
impl Builder
sourcepub fn source(self, input: ExternalMetricsSource) -> Self
pub fn source(self, input: ExternalMetricsSource) -> Self
Contains the source options for external metrics preferences.
sourcepub fn set_source(self, input: Option<ExternalMetricsSource>) -> Self
pub fn set_source(self, input: Option<ExternalMetricsSource>) -> Self
Contains the source options for external metrics preferences.
sourcepub fn build(self) -> ExternalMetricsPreference
pub fn build(self) -> ExternalMetricsPreference
Consumes the builder and constructs a ExternalMetricsPreference.