#[non_exhaustive]pub struct GetProbeInputBuilder { /* private fields */ }
Expand description
A builder for GetProbeInput
.
Implementations§
source§impl GetProbeInputBuilder
impl GetProbeInputBuilder
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 associated with the probe. Run ListMonitors
to get a list of monitor names.
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 associated with the probe. Run ListMonitors
to get a list of monitor names.
sourcepub fn get_monitor_name(&self) -> &Option<String>
pub fn get_monitor_name(&self) -> &Option<String>
The name of the monitor associated with the probe. Run ListMonitors
to get a list of monitor names.
sourcepub fn probe_id(self, input: impl Into<String>) -> Self
pub fn probe_id(self, input: impl Into<String>) -> Self
The ID of the probe to get information about. Run GetMonitor
action to get a list of probes and probe IDs for the monitor.
sourcepub fn set_probe_id(self, input: Option<String>) -> Self
pub fn set_probe_id(self, input: Option<String>) -> Self
The ID of the probe to get information about. Run GetMonitor
action to get a list of probes and probe IDs for the monitor.
sourcepub fn get_probe_id(&self) -> &Option<String>
pub fn get_probe_id(&self) -> &Option<String>
The ID of the probe to get information about. Run GetMonitor
action to get a list of probes and probe IDs for the monitor.
sourcepub fn build(self) -> Result<GetProbeInput, BuildError>
pub fn build(self) -> Result<GetProbeInput, BuildError>
Consumes the builder and constructs a GetProbeInput
.
source§impl GetProbeInputBuilder
impl GetProbeInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetProbeOutput, SdkError<GetProbeError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetProbeOutput, SdkError<GetProbeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetProbeInputBuilder
impl Clone for GetProbeInputBuilder
source§fn clone(&self) -> GetProbeInputBuilder
fn clone(&self) -> GetProbeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetProbeInputBuilder
impl Debug for GetProbeInputBuilder
source§impl Default for GetProbeInputBuilder
impl Default for GetProbeInputBuilder
source§fn default() -> GetProbeInputBuilder
fn default() -> GetProbeInputBuilder
source§impl PartialEq for GetProbeInputBuilder
impl PartialEq for GetProbeInputBuilder
source§fn eq(&self, other: &GetProbeInputBuilder) -> bool
fn eq(&self, other: &GetProbeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetProbeInputBuilder
Auto Trait Implementations§
impl Freeze for GetProbeInputBuilder
impl RefUnwindSafe for GetProbeInputBuilder
impl Send for GetProbeInputBuilder
impl Sync for GetProbeInputBuilder
impl Unpin for GetProbeInputBuilder
impl UnwindSafe for GetProbeInputBuilder
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