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.
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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PutRuleGroupsNamespaceInputBuilder
impl Default for PutRuleGroupsNamespaceInputBuilder
source§fn default() -> PutRuleGroupsNamespaceInputBuilder
fn default() -> PutRuleGroupsNamespaceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PutRuleGroupsNamespaceInputBuilder> for PutRuleGroupsNamespaceInputBuilder
impl PartialEq<PutRuleGroupsNamespaceInputBuilder> for PutRuleGroupsNamespaceInputBuilder
source§fn eq(&self, other: &PutRuleGroupsNamespaceInputBuilder) -> bool
fn eq(&self, other: &PutRuleGroupsNamespaceInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutRuleGroupsNamespaceInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PutRuleGroupsNamespaceInputBuilder
impl Send for PutRuleGroupsNamespaceInputBuilder
impl Sync for PutRuleGroupsNamespaceInputBuilder
impl Unpin for PutRuleGroupsNamespaceInputBuilder
impl UnwindSafe for PutRuleGroupsNamespaceInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more