Struct aws_sdk_kms::operation::get_key_rotation_status::builders::GetKeyRotationStatusOutputBuilder
source · #[non_exhaustive]pub struct GetKeyRotationStatusOutputBuilder { /* private fields */ }
Expand description
A builder for GetKeyRotationStatusOutput
.
Implementations§
source§impl GetKeyRotationStatusOutputBuilder
impl GetKeyRotationStatusOutputBuilder
sourcepub fn key_rotation_enabled(self, input: bool) -> Self
pub fn key_rotation_enabled(self, input: bool) -> Self
A Boolean value that specifies whether key rotation is enabled.
sourcepub fn set_key_rotation_enabled(self, input: Option<bool>) -> Self
pub fn set_key_rotation_enabled(self, input: Option<bool>) -> Self
A Boolean value that specifies whether key rotation is enabled.
sourcepub fn get_key_rotation_enabled(&self) -> &Option<bool>
pub fn get_key_rotation_enabled(&self) -> &Option<bool>
A Boolean value that specifies whether key rotation is enabled.
sourcepub fn build(self) -> GetKeyRotationStatusOutput
pub fn build(self) -> GetKeyRotationStatusOutput
Consumes the builder and constructs a GetKeyRotationStatusOutput
.
Trait Implementations§
source§impl Clone for GetKeyRotationStatusOutputBuilder
impl Clone for GetKeyRotationStatusOutputBuilder
source§fn clone(&self) -> GetKeyRotationStatusOutputBuilder
fn clone(&self) -> GetKeyRotationStatusOutputBuilder
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 GetKeyRotationStatusOutputBuilder
impl Default for GetKeyRotationStatusOutputBuilder
source§fn default() -> GetKeyRotationStatusOutputBuilder
fn default() -> GetKeyRotationStatusOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetKeyRotationStatusOutputBuilder
impl PartialEq for GetKeyRotationStatusOutputBuilder
source§fn eq(&self, other: &GetKeyRotationStatusOutputBuilder) -> bool
fn eq(&self, other: &GetKeyRotationStatusOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetKeyRotationStatusOutputBuilder
Auto Trait Implementations§
impl Freeze for GetKeyRotationStatusOutputBuilder
impl RefUnwindSafe for GetKeyRotationStatusOutputBuilder
impl Send for GetKeyRotationStatusOutputBuilder
impl Sync for GetKeyRotationStatusOutputBuilder
impl Unpin for GetKeyRotationStatusOutputBuilder
impl UnwindSafe for GetKeyRotationStatusOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.