#[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 ==.impl StructuralPartialEq for UpdateMonitorInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateMonitorInputBuilder
impl RefUnwindSafe for UpdateMonitorInputBuilder
impl Send for UpdateMonitorInputBuilder
impl Sync for UpdateMonitorInputBuilder
impl Unpin for UpdateMonitorInputBuilder
impl UnwindSafe for UpdateMonitorInputBuilder
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