#[non_exhaustive]pub struct CreateRuleGroupsNamespaceInput {
pub workspace_id: Option<String>,
pub name: Option<String>,
pub data: Option<Blob>,
pub client_token: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
Represents the input of a CreateRuleGroupsNamespace
operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.workspace_id: Option<String>
The ID of the workspace to add the rule groups namespace.
name: Option<String>
The name for the new rule groups namespace.
data: 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.
client_token: Option<String>
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
The list of tag keys and values to associate with the rule groups namespace.
Implementations§
source§impl CreateRuleGroupsNamespaceInput
impl CreateRuleGroupsNamespaceInput
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&str>
The ID of the workspace to add the rule groups namespace.
sourcepub fn data(&self) -> Option<&Blob>
pub fn 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) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
The list of tag keys and values to associate with the rule groups namespace.
source§impl CreateRuleGroupsNamespaceInput
impl CreateRuleGroupsNamespaceInput
sourcepub fn builder() -> CreateRuleGroupsNamespaceInputBuilder
pub fn builder() -> CreateRuleGroupsNamespaceInputBuilder
Creates a new builder-style object to manufacture CreateRuleGroupsNamespaceInput
.
Trait Implementations§
source§impl Clone for CreateRuleGroupsNamespaceInput
impl Clone for CreateRuleGroupsNamespaceInput
source§fn clone(&self) -> CreateRuleGroupsNamespaceInput
fn clone(&self) -> CreateRuleGroupsNamespaceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateRuleGroupsNamespaceInput
impl PartialEq for CreateRuleGroupsNamespaceInput
source§fn eq(&self, other: &CreateRuleGroupsNamespaceInput) -> bool
fn eq(&self, other: &CreateRuleGroupsNamespaceInput) -> bool
self
and other
values to be equal, and is used
by ==
.