Struct aws_sdk_amp::operation::put_rule_groups_namespace::builders::PutRuleGroupsNamespaceInputBuilder
source · #[non_exhaustive]pub struct PutRuleGroupsNamespaceInputBuilder { /* private fields */ }Expand description
A builder for PutRuleGroupsNamespaceInput.
Implementations§
source§impl PutRuleGroupsNamespaceInputBuilder
impl PutRuleGroupsNamespaceInputBuilder
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 update 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 update 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 update 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.
sourcepub fn build(self) -> Result<PutRuleGroupsNamespaceInput, BuildError>
pub fn build(self) -> Result<PutRuleGroupsNamespaceInput, BuildError>
Consumes the builder and constructs a PutRuleGroupsNamespaceInput.
source§impl PutRuleGroupsNamespaceInputBuilder
impl PutRuleGroupsNamespaceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutRuleGroupsNamespaceOutput, SdkError<PutRuleGroupsNamespaceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutRuleGroupsNamespaceOutput, SdkError<PutRuleGroupsNamespaceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutRuleGroupsNamespaceInputBuilder
impl Clone for PutRuleGroupsNamespaceInputBuilder
source§fn clone(&self) -> PutRuleGroupsNamespaceInputBuilder
fn clone(&self) -> PutRuleGroupsNamespaceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PutRuleGroupsNamespaceInputBuilder
impl Default for PutRuleGroupsNamespaceInputBuilder
source§fn default() -> PutRuleGroupsNamespaceInputBuilder
fn default() -> PutRuleGroupsNamespaceInputBuilder
source§impl PartialEq for PutRuleGroupsNamespaceInputBuilder
impl PartialEq for PutRuleGroupsNamespaceInputBuilder
source§fn eq(&self, other: &PutRuleGroupsNamespaceInputBuilder) -> bool
fn eq(&self, other: &PutRuleGroupsNamespaceInputBuilder) -> bool
self and other values to be equal, and is used
by ==.