Struct aws_sdk_rbin::operation::lock_rule::builders::LockRuleInputBuilder
source · #[non_exhaustive]pub struct LockRuleInputBuilder { /* private fields */ }
Expand description
A builder for LockRuleInput
.
Implementations§
source§impl LockRuleInputBuilder
impl LockRuleInputBuilder
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The unique ID of the retention rule.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The unique ID of the retention rule.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The unique ID of the retention rule.
sourcepub fn lock_configuration(self, input: LockConfiguration) -> Self
pub fn lock_configuration(self, input: LockConfiguration) -> Self
Information about the retention rule lock configuration.
sourcepub fn set_lock_configuration(self, input: Option<LockConfiguration>) -> Self
pub fn set_lock_configuration(self, input: Option<LockConfiguration>) -> Self
Information about the retention rule lock configuration.
sourcepub fn get_lock_configuration(&self) -> &Option<LockConfiguration>
pub fn get_lock_configuration(&self) -> &Option<LockConfiguration>
Information about the retention rule lock configuration.
sourcepub fn build(self) -> Result<LockRuleInput, BuildError>
pub fn build(self) -> Result<LockRuleInput, BuildError>
Consumes the builder and constructs a LockRuleInput
.
source§impl LockRuleInputBuilder
impl LockRuleInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<LockRuleOutput, SdkError<LockRuleError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<LockRuleOutput, SdkError<LockRuleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for LockRuleInputBuilder
impl Clone for LockRuleInputBuilder
source§fn clone(&self) -> LockRuleInputBuilder
fn clone(&self) -> LockRuleInputBuilder
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 Debug for LockRuleInputBuilder
impl Debug for LockRuleInputBuilder
source§impl Default for LockRuleInputBuilder
impl Default for LockRuleInputBuilder
source§fn default() -> LockRuleInputBuilder
fn default() -> LockRuleInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<LockRuleInputBuilder> for LockRuleInputBuilder
impl PartialEq<LockRuleInputBuilder> for LockRuleInputBuilder
source§fn eq(&self, other: &LockRuleInputBuilder) -> bool
fn eq(&self, other: &LockRuleInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LockRuleInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LockRuleInputBuilder
impl Send for LockRuleInputBuilder
impl Sync for LockRuleInputBuilder
impl Unpin for LockRuleInputBuilder
impl UnwindSafe for LockRuleInputBuilder
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