Struct aws_sdk_amp::operation::get_default_scraper_configuration::builders::GetDefaultScraperConfigurationOutputBuilder
source · #[non_exhaustive]pub struct GetDefaultScraperConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for GetDefaultScraperConfigurationOutput
.
Implementations§
source§impl GetDefaultScraperConfigurationOutputBuilder
impl GetDefaultScraperConfigurationOutputBuilder
sourcepub fn configuration(self, input: Blob) -> Self
pub fn configuration(self, input: Blob) -> Self
The configuration file. Base 64 encoded. For more information, see Scraper configurationin the Amazon Managed Service for Prometheus User Guide.
This field is required.sourcepub fn set_configuration(self, input: Option<Blob>) -> Self
pub fn set_configuration(self, input: Option<Blob>) -> Self
The configuration file. Base 64 encoded. For more information, see Scraper configurationin the Amazon Managed Service for Prometheus User Guide.
sourcepub fn get_configuration(&self) -> &Option<Blob>
pub fn get_configuration(&self) -> &Option<Blob>
The configuration file. Base 64 encoded. For more information, see Scraper configurationin the Amazon Managed Service for Prometheus User Guide.
sourcepub fn build(self) -> Result<GetDefaultScraperConfigurationOutput, BuildError>
pub fn build(self) -> Result<GetDefaultScraperConfigurationOutput, BuildError>
Consumes the builder and constructs a GetDefaultScraperConfigurationOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetDefaultScraperConfigurationOutputBuilder
impl Clone for GetDefaultScraperConfigurationOutputBuilder
source§fn clone(&self) -> GetDefaultScraperConfigurationOutputBuilder
fn clone(&self) -> GetDefaultScraperConfigurationOutputBuilder
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 Default for GetDefaultScraperConfigurationOutputBuilder
impl Default for GetDefaultScraperConfigurationOutputBuilder
source§fn default() -> GetDefaultScraperConfigurationOutputBuilder
fn default() -> GetDefaultScraperConfigurationOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetDefaultScraperConfigurationOutputBuilder
impl PartialEq for GetDefaultScraperConfigurationOutputBuilder
source§fn eq(&self, other: &GetDefaultScraperConfigurationOutputBuilder) -> bool
fn eq(&self, other: &GetDefaultScraperConfigurationOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDefaultScraperConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for GetDefaultScraperConfigurationOutputBuilder
impl RefUnwindSafe for GetDefaultScraperConfigurationOutputBuilder
impl Send for GetDefaultScraperConfigurationOutputBuilder
impl Sync for GetDefaultScraperConfigurationOutputBuilder
impl Unpin for GetDefaultScraperConfigurationOutputBuilder
impl UnwindSafe for GetDefaultScraperConfigurationOutputBuilder
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.