Struct aws_sdk_frauddetector::types::builders::AllowDenyListBuilder
source · #[non_exhaustive]pub struct AllowDenyListBuilder { /* private fields */ }
Expand description
A builder for AllowDenyList
.
Implementations§
source§impl AllowDenyListBuilder
impl AllowDenyListBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the list.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the list.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the list.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the list.
sourcepub fn variable_type(self, input: impl Into<String>) -> Self
pub fn variable_type(self, input: impl Into<String>) -> Self
The variable type of the list.
sourcepub fn set_variable_type(self, input: Option<String>) -> Self
pub fn set_variable_type(self, input: Option<String>) -> Self
The variable type of the list.
sourcepub fn get_variable_type(&self) -> &Option<String>
pub fn get_variable_type(&self) -> &Option<String>
The variable type of the list.
sourcepub fn created_time(self, input: impl Into<String>) -> Self
pub fn created_time(self, input: impl Into<String>) -> Self
The time the list was created.
sourcepub fn set_created_time(self, input: Option<String>) -> Self
pub fn set_created_time(self, input: Option<String>) -> Self
The time the list was created.
sourcepub fn get_created_time(&self) -> &Option<String>
pub fn get_created_time(&self) -> &Option<String>
The time the list was created.
sourcepub fn updated_time(self, input: impl Into<String>) -> Self
pub fn updated_time(self, input: impl Into<String>) -> Self
The time the list was last updated.
sourcepub fn set_updated_time(self, input: Option<String>) -> Self
pub fn set_updated_time(self, input: Option<String>) -> Self
The time the list was last updated.
sourcepub fn get_updated_time(&self) -> &Option<String>
pub fn get_updated_time(&self) -> &Option<String>
The time the list was last updated.
sourcepub fn build(self) -> Result<AllowDenyList, BuildError>
pub fn build(self) -> Result<AllowDenyList, BuildError>
Consumes the builder and constructs a AllowDenyList
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AllowDenyListBuilder
impl Clone for AllowDenyListBuilder
source§fn clone(&self) -> AllowDenyListBuilder
fn clone(&self) -> AllowDenyListBuilder
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 AllowDenyListBuilder
impl Debug for AllowDenyListBuilder
source§impl Default for AllowDenyListBuilder
impl Default for AllowDenyListBuilder
source§fn default() -> AllowDenyListBuilder
fn default() -> AllowDenyListBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AllowDenyListBuilder
impl PartialEq for AllowDenyListBuilder
source§fn eq(&self, other: &AllowDenyListBuilder) -> bool
fn eq(&self, other: &AllowDenyListBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AllowDenyListBuilder
Auto Trait Implementations§
impl Freeze for AllowDenyListBuilder
impl RefUnwindSafe for AllowDenyListBuilder
impl Send for AllowDenyListBuilder
impl Sync for AllowDenyListBuilder
impl Unpin for AllowDenyListBuilder
impl UnwindSafe for AllowDenyListBuilder
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.