Struct aws_sdk_amp::operation::create_alert_manager_definition::builders::CreateAlertManagerDefinitionInputBuilder
source · #[non_exhaustive]pub struct CreateAlertManagerDefinitionInputBuilder { /* private fields */ }
Expand description
A builder for CreateAlertManagerDefinitionInput
.
Implementations§
source§impl CreateAlertManagerDefinitionInputBuilder
impl CreateAlertManagerDefinitionInputBuilder
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The ID of the workspace in which to create the alert manager definition.
sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The ID of the workspace in which to create the alert manager definition.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace in which to create the alert manager definition.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
sourcepub fn build(self) -> Result<CreateAlertManagerDefinitionInput, BuildError>
pub fn build(self) -> Result<CreateAlertManagerDefinitionInput, BuildError>
Consumes the builder and constructs a CreateAlertManagerDefinitionInput
.
source§impl CreateAlertManagerDefinitionInputBuilder
impl CreateAlertManagerDefinitionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAlertManagerDefinitionOutput, SdkError<CreateAlertManagerDefinitionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAlertManagerDefinitionOutput, SdkError<CreateAlertManagerDefinitionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAlertManagerDefinitionInputBuilder
impl Clone for CreateAlertManagerDefinitionInputBuilder
source§fn clone(&self) -> CreateAlertManagerDefinitionInputBuilder
fn clone(&self) -> CreateAlertManagerDefinitionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateAlertManagerDefinitionInputBuilder
impl Default for CreateAlertManagerDefinitionInputBuilder
source§fn default() -> CreateAlertManagerDefinitionInputBuilder
fn default() -> CreateAlertManagerDefinitionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateAlertManagerDefinitionInputBuilder> for CreateAlertManagerDefinitionInputBuilder
impl PartialEq<CreateAlertManagerDefinitionInputBuilder> for CreateAlertManagerDefinitionInputBuilder
source§fn eq(&self, other: &CreateAlertManagerDefinitionInputBuilder) -> bool
fn eq(&self, other: &CreateAlertManagerDefinitionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateAlertManagerDefinitionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateAlertManagerDefinitionInputBuilder
impl Send for CreateAlertManagerDefinitionInputBuilder
impl Sync for CreateAlertManagerDefinitionInputBuilder
impl Unpin for CreateAlertManagerDefinitionInputBuilder
impl UnwindSafe for CreateAlertManagerDefinitionInputBuilder
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
Mutably borrows from an owned value. Read more