pub struct GetProbeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetProbe
.
Returns the details about a probe. You'll need both the monitorName
and probeId
.
Implementations§
source§impl GetProbeFluentBuilder
impl GetProbeFluentBuilder
sourcepub fn as_input(&self) -> &GetProbeInputBuilder
pub fn as_input(&self) -> &GetProbeInputBuilder
Access the GetProbe as a reference.
sourcepub async fn send(
self
) -> Result<GetProbeOutput, SdkError<GetProbeError, HttpResponse>>
pub async fn send( self ) -> Result<GetProbeOutput, SdkError<GetProbeError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetProbeOutput, GetProbeError, Self>
pub fn customize( self ) -> CustomizableOperation<GetProbeOutput, GetProbeError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for GetProbeFluentBuilder
impl Clone for GetProbeFluentBuilder
source§fn clone(&self) -> GetProbeFluentBuilder
fn clone(&self) -> GetProbeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more