#[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 ==
.