Struct aws_sdk_connect::types::builders::SecurityKeyBuilder
source · #[non_exhaustive]pub struct SecurityKeyBuilder { /* private fields */ }
Expand description
A builder for SecurityKey
.
Implementations§
source§impl SecurityKeyBuilder
impl SecurityKeyBuilder
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
When the security key was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
When the security key was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
When the security key was created.
sourcepub fn build(self) -> SecurityKey
pub fn build(self) -> SecurityKey
Consumes the builder and constructs a SecurityKey
.
Trait Implementations§
source§impl Clone for SecurityKeyBuilder
impl Clone for SecurityKeyBuilder
source§fn clone(&self) -> SecurityKeyBuilder
fn clone(&self) -> SecurityKeyBuilder
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 SecurityKeyBuilder
impl Debug for SecurityKeyBuilder
source§impl Default for SecurityKeyBuilder
impl Default for SecurityKeyBuilder
source§fn default() -> SecurityKeyBuilder
fn default() -> SecurityKeyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SecurityKeyBuilder
impl PartialEq for SecurityKeyBuilder
source§fn eq(&self, other: &SecurityKeyBuilder) -> bool
fn eq(&self, other: &SecurityKeyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityKeyBuilder
Auto Trait Implementations§
impl Freeze for SecurityKeyBuilder
impl RefUnwindSafe for SecurityKeyBuilder
impl Send for SecurityKeyBuilder
impl Sync for SecurityKeyBuilder
impl Unpin for SecurityKeyBuilder
impl UnwindSafe for SecurityKeyBuilder
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.