#[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.
This field is required.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.
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.
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 ==
.impl StructuralPartialEq for CreateProbeInputBuilder
Auto Trait Implementations§
impl Freeze for CreateProbeInputBuilder
impl RefUnwindSafe for CreateProbeInputBuilder
impl Send for CreateProbeInputBuilder
impl Sync for CreateProbeInputBuilder
impl Unpin for CreateProbeInputBuilder
impl UnwindSafe for CreateProbeInputBuilder
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
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>
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>
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 more