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 to add the rule groups 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 to add the rule groups namespace.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace to add the rule groups namespace.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name for the new rule groups namespace.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name for the new rule groups namespace.
sourcepub fn data(self, input: Blob) -> Self
pub fn data(self, input: Blob) -> Self
The rules file to use in the new namespace.
Contains the base64-encoded version of the YAML rules file.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
This field is required.sourcepub fn set_data(self, input: Option<Blob>) -> Self
pub fn set_data(self, input: Option<Blob>) -> Self
The rules file to use in the new namespace.
Contains the base64-encoded version of the YAML rules file.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
sourcepub fn get_data(&self) -> &Option<Blob>
pub fn get_data(&self) -> &Option<Blob>
The rules file to use in the new namespace.
Contains the base64-encoded version of the YAML rules file.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The list of tag keys and values to associate with the rule groups namespace.
The list of tag keys and values to associate with the rule groups namespace.
The list of tag keys and values to associate with the 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 ==
.