#[non_exhaustive]pub struct UpdateMonitorInputBuilder { /* private fields */ }Expand description
A builder for UpdateMonitorInput.
Implementations§
source§impl UpdateMonitorInputBuilder
impl UpdateMonitorInputBuilder
sourcepub fn monitor_id(self, input: impl Into<String>) -> Self
pub fn monitor_id(self, input: impl Into<String>) -> Self
The unique identifier of the monitor to update.
This field is required.sourcepub fn set_monitor_id(self, input: Option<String>) -> Self
pub fn set_monitor_id(self, input: Option<String>) -> Self
The unique identifier of the monitor to update.
sourcepub fn get_monitor_id(&self) -> &Option<String>
pub fn get_monitor_id(&self) -> &Option<String>
The unique identifier of the monitor to update.
sourcepub fn subdomain(self, input: impl Into<String>) -> Self
pub fn subdomain(self, input: impl Into<String>) -> Self
The new value of the subdomain to use when forming the monitor URL.
sourcepub fn set_subdomain(self, input: Option<String>) -> Self
pub fn set_subdomain(self, input: Option<String>) -> Self
The new value of the subdomain to use when forming the monitor URL.
sourcepub fn get_subdomain(&self) -> &Option<String>
pub fn get_subdomain(&self) -> &Option<String>
The new value of the subdomain to use when forming the monitor URL.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The new value to use for the monitor's display name.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The new value to use for the monitor's display name.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The new value to use for the monitor's display name.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the new IAM role to use with the monitor.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the new IAM role to use with the monitor.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the new IAM role to use with the monitor.
sourcepub fn build(self) -> Result<UpdateMonitorInput, BuildError>
pub fn build(self) -> Result<UpdateMonitorInput, BuildError>
Consumes the builder and constructs a UpdateMonitorInput.
source§impl UpdateMonitorInputBuilder
impl UpdateMonitorInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateMonitorOutput, SdkError<UpdateMonitorError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateMonitorOutput, SdkError<UpdateMonitorError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateMonitorInputBuilder
impl Clone for UpdateMonitorInputBuilder
source§fn clone(&self) -> UpdateMonitorInputBuilder
fn clone(&self) -> UpdateMonitorInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateMonitorInputBuilder
impl Debug for UpdateMonitorInputBuilder
source§impl Default for UpdateMonitorInputBuilder
impl Default for UpdateMonitorInputBuilder
source§fn default() -> UpdateMonitorInputBuilder
fn default() -> UpdateMonitorInputBuilder
source§impl PartialEq for UpdateMonitorInputBuilder
impl PartialEq for UpdateMonitorInputBuilder
source§fn eq(&self, other: &UpdateMonitorInputBuilder) -> bool
fn eq(&self, other: &UpdateMonitorInputBuilder) -> bool
self and other values to be equal, and is used
by ==.