#[non_exhaustive]pub struct CreateProbeInputBuilder { /* private fields */ }
Expand description
A builder for CreateProbeInput
.
Implementations§
source§impl CreateProbeInputBuilder
impl CreateProbeInputBuilder
sourcepub fn monitor_name(self, input: impl Into<String>) -> Self
pub fn monitor_name(self, input: impl Into<String>) -> Self
The name of the monitor to associated with the probe. To get a list of available monitors, use ListMonitors
.
sourcepub fn set_monitor_name(self, input: Option<String>) -> Self
pub fn set_monitor_name(self, input: Option<String>) -> Self
The name of the monitor to associated with the probe. To get a list of available monitors, use ListMonitors
.
sourcepub fn get_monitor_name(&self) -> &Option<String>
pub fn get_monitor_name(&self) -> &Option<String>
The name of the monitor to associated with the probe. To get a list of available monitors, use ListMonitors
.
sourcepub fn probe(self, input: ProbeInput) -> Self
pub fn probe(self, input: ProbeInput) -> Self
Describes the details of an individual probe for a monitor.
This field is required.sourcepub fn set_probe(self, input: Option<ProbeInput>) -> Self
pub fn set_probe(self, input: Option<ProbeInput>) -> Self
Describes the details of an individual probe for a monitor.
sourcepub fn get_probe(&self) -> &Option<ProbeInput>
pub fn get_probe(&self) -> &Option<ProbeInput>
Describes the details of an individual probe for a monitor.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The list of key-value pairs created and assigned to the probe.
The list of key-value pairs created and assigned to the probe.
The list of key-value pairs created and assigned to the probe.
sourcepub fn build(self) -> Result<CreateProbeInput, BuildError>
pub fn build(self) -> Result<CreateProbeInput, BuildError>
Consumes the builder and constructs a CreateProbeInput
.
source§impl CreateProbeInputBuilder
impl CreateProbeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateProbeOutput, SdkError<CreateProbeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateProbeOutput, SdkError<CreateProbeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateProbeInputBuilder
impl Clone for CreateProbeInputBuilder
source§fn clone(&self) -> CreateProbeInputBuilder
fn clone(&self) -> CreateProbeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateProbeInputBuilder
impl Debug for CreateProbeInputBuilder
source§impl Default for CreateProbeInputBuilder
impl Default for CreateProbeInputBuilder
source§fn default() -> CreateProbeInputBuilder
fn default() -> CreateProbeInputBuilder
source§impl PartialEq for CreateProbeInputBuilder
impl PartialEq for CreateProbeInputBuilder
source§fn eq(&self, other: &CreateProbeInputBuilder) -> bool
fn eq(&self, other: &CreateProbeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.