Struct aws_sdk_amp::operation::create_scraper::CreateScraperInput
source · #[non_exhaustive]pub struct CreateScraperInput {
pub alias: Option<String>,
pub scrape_configuration: Option<ScrapeConfiguration>,
pub source: Option<Source>,
pub destination: Option<Destination>,
pub client_token: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
Represents the input of a CreateScraper operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.alias: Option<String>
An optional user-assigned alias for this scraper. This alias is for user reference and does not need to be unique.
scrape_configuration: Option<ScrapeConfiguration>
The configuration used to create the scraper.
source: Option<Source>
The source that the scraper will be discovering and collecting metrics from.
destination: Option<Destination>
The destination that the scraper will be producing metrics to.
client_token: Option<String>
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
Optional, user-provided tags for this scraper.
Implementations§
source§impl CreateScraperInput
impl CreateScraperInput
sourcepub fn alias(&self) -> Option<&str>
pub fn alias(&self) -> Option<&str>
An optional user-assigned alias for this scraper. This alias is for user reference and does not need to be unique.
sourcepub fn scrape_configuration(&self) -> Option<&ScrapeConfiguration>
pub fn scrape_configuration(&self) -> Option<&ScrapeConfiguration>
The configuration used to create the scraper.
sourcepub fn source(&self) -> Option<&Source>
pub fn source(&self) -> Option<&Source>
The source that the scraper will be discovering and collecting metrics from.
sourcepub fn destination(&self) -> Option<&Destination>
pub fn destination(&self) -> Option<&Destination>
The destination that the scraper will be producing metrics to.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
Optional, user-provided tags for this scraper.
source§impl CreateScraperInput
impl CreateScraperInput
sourcepub fn builder() -> CreateScraperInputBuilder
pub fn builder() -> CreateScraperInputBuilder
Creates a new builder-style object to manufacture CreateScraperInput
.
Trait Implementations§
source§impl Clone for CreateScraperInput
impl Clone for CreateScraperInput
source§fn clone(&self) -> CreateScraperInput
fn clone(&self) -> CreateScraperInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateScraperInput
impl Debug for CreateScraperInput
source§impl PartialEq for CreateScraperInput
impl PartialEq for CreateScraperInput
source§fn eq(&self, other: &CreateScraperInput) -> bool
fn eq(&self, other: &CreateScraperInput) -> bool
self
and other
values to be equal, and is used
by ==
.