Struct aws_sdk_cognitoidentityprovider::types::builders::LogDeliveryConfigurationTypeBuilder
source · #[non_exhaustive]pub struct LogDeliveryConfigurationTypeBuilder { /* private fields */ }Expand description
A builder for LogDeliveryConfigurationType.
Implementations§
source§impl LogDeliveryConfigurationTypeBuilder
impl LogDeliveryConfigurationTypeBuilder
sourcepub fn user_pool_id(self, input: impl Into<String>) -> Self
pub fn user_pool_id(self, input: impl Into<String>) -> Self
The ID of the user pool where you configured detailed activity logging.
This field is required.sourcepub fn set_user_pool_id(self, input: Option<String>) -> Self
pub fn set_user_pool_id(self, input: Option<String>) -> Self
The ID of the user pool where you configured detailed activity logging.
sourcepub fn get_user_pool_id(&self) -> &Option<String>
pub fn get_user_pool_id(&self) -> &Option<String>
The ID of the user pool where you configured detailed activity logging.
sourcepub fn log_configurations(self, input: LogConfigurationType) -> Self
pub fn log_configurations(self, input: LogConfigurationType) -> Self
Appends an item to log_configurations.
To override the contents of this collection use set_log_configurations.
The detailed activity logging destination of a user pool.
sourcepub fn set_log_configurations(
self,
input: Option<Vec<LogConfigurationType>>
) -> Self
pub fn set_log_configurations( self, input: Option<Vec<LogConfigurationType>> ) -> Self
The detailed activity logging destination of a user pool.
sourcepub fn get_log_configurations(&self) -> &Option<Vec<LogConfigurationType>>
pub fn get_log_configurations(&self) -> &Option<Vec<LogConfigurationType>>
The detailed activity logging destination of a user pool.
sourcepub fn build(self) -> Result<LogDeliveryConfigurationType, BuildError>
pub fn build(self) -> Result<LogDeliveryConfigurationType, BuildError>
Consumes the builder and constructs a LogDeliveryConfigurationType.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LogDeliveryConfigurationTypeBuilder
impl Clone for LogDeliveryConfigurationTypeBuilder
source§fn clone(&self) -> LogDeliveryConfigurationTypeBuilder
fn clone(&self) -> LogDeliveryConfigurationTypeBuilder
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 LogDeliveryConfigurationTypeBuilder
impl Default for LogDeliveryConfigurationTypeBuilder
source§fn default() -> LogDeliveryConfigurationTypeBuilder
fn default() -> LogDeliveryConfigurationTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LogDeliveryConfigurationTypeBuilder
impl PartialEq for LogDeliveryConfigurationTypeBuilder
source§fn eq(&self, other: &LogDeliveryConfigurationTypeBuilder) -> bool
fn eq(&self, other: &LogDeliveryConfigurationTypeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LogDeliveryConfigurationTypeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LogDeliveryConfigurationTypeBuilder
impl Send for LogDeliveryConfigurationTypeBuilder
impl Sync for LogDeliveryConfigurationTypeBuilder
impl Unpin for LogDeliveryConfigurationTypeBuilder
impl UnwindSafe for LogDeliveryConfigurationTypeBuilder
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.