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. This field is required.
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 data(self, input: Blob) -> Self
pub fn data(self, input: Blob) -> Self
The alert manager definition data. This field is required.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateAlertManagerDefinitionInputBuilder
impl Default for CreateAlertManagerDefinitionInputBuilder
source§fn default() -> CreateAlertManagerDefinitionInputBuilder
fn default() -> CreateAlertManagerDefinitionInputBuilder
source§impl PartialEq for CreateAlertManagerDefinitionInputBuilder
impl PartialEq for CreateAlertManagerDefinitionInputBuilder
source§fn eq(&self, other: &CreateAlertManagerDefinitionInputBuilder) -> bool
fn eq(&self, other: &CreateAlertManagerDefinitionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.