Struct aws_sdk_amp::operation::create_rule_groups_namespace::builders::CreateRuleGroupsNamespaceInputBuilder
source · #[non_exhaustive]pub struct CreateRuleGroupsNamespaceInputBuilder { /* private fields */ }
Expand description
A builder for CreateRuleGroupsNamespaceInput
.
Implementations§
source§impl CreateRuleGroupsNamespaceInputBuilder
impl CreateRuleGroupsNamespaceInputBuilder
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 rule group namespace. 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 rule group namespace.
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 rule group namespace.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The rule groups namespace name. This field is required.
sourcepub fn data(self, input: Blob) -> Self
pub fn data(self, input: Blob) -> Self
The namespace data that define the rule groups. This field is required.
sourcepub fn set_data(self, input: Option<Blob>) -> Self
pub fn set_data(self, input: Option<Blob>) -> Self
The namespace data that define the rule groups.
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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Optional, user-provided tags for this rule groups namespace.
Optional, user-provided tags for this rule groups namespace.
Optional, user-provided tags for this rule groups namespace.
sourcepub fn build(self) -> Result<CreateRuleGroupsNamespaceInput, BuildError>
pub fn build(self) -> Result<CreateRuleGroupsNamespaceInput, BuildError>
Consumes the builder and constructs a CreateRuleGroupsNamespaceInput
.
source§impl CreateRuleGroupsNamespaceInputBuilder
impl CreateRuleGroupsNamespaceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateRuleGroupsNamespaceOutput, SdkError<CreateRuleGroupsNamespaceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateRuleGroupsNamespaceOutput, SdkError<CreateRuleGroupsNamespaceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateRuleGroupsNamespaceInputBuilder
impl Clone for CreateRuleGroupsNamespaceInputBuilder
source§fn clone(&self) -> CreateRuleGroupsNamespaceInputBuilder
fn clone(&self) -> CreateRuleGroupsNamespaceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateRuleGroupsNamespaceInputBuilder
impl Default for CreateRuleGroupsNamespaceInputBuilder
source§fn default() -> CreateRuleGroupsNamespaceInputBuilder
fn default() -> CreateRuleGroupsNamespaceInputBuilder
source§impl PartialEq for CreateRuleGroupsNamespaceInputBuilder
impl PartialEq for CreateRuleGroupsNamespaceInputBuilder
source§fn eq(&self, other: &CreateRuleGroupsNamespaceInputBuilder) -> bool
fn eq(&self, other: &CreateRuleGroupsNamespaceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.