#[non_exhaustive]pub struct ExternalEventsDetailBuilder { /* private fields */ }
Expand description
A builder for ExternalEventsDetail
.
Implementations§
source§impl ExternalEventsDetailBuilder
impl ExternalEventsDetailBuilder
sourcepub fn data_location(self, input: impl Into<String>) -> Self
pub fn data_location(self, input: impl Into<String>) -> Self
The Amazon S3 bucket location for the data.
This field is required.sourcepub fn set_data_location(self, input: Option<String>) -> Self
pub fn set_data_location(self, input: Option<String>) -> Self
The Amazon S3 bucket location for the data.
sourcepub fn get_data_location(&self) -> &Option<String>
pub fn get_data_location(&self) -> &Option<String>
The Amazon S3 bucket location for the data.
sourcepub fn data_access_role_arn(self, input: impl Into<String>) -> Self
pub fn data_access_role_arn(self, input: impl Into<String>) -> Self
The ARN of the role that provides Amazon Fraud Detector access to the data location.
This field is required.sourcepub fn set_data_access_role_arn(self, input: Option<String>) -> Self
pub fn set_data_access_role_arn(self, input: Option<String>) -> Self
The ARN of the role that provides Amazon Fraud Detector access to the data location.
sourcepub fn get_data_access_role_arn(&self) -> &Option<String>
pub fn get_data_access_role_arn(&self) -> &Option<String>
The ARN of the role that provides Amazon Fraud Detector access to the data location.
sourcepub fn build(self) -> Result<ExternalEventsDetail, BuildError>
pub fn build(self) -> Result<ExternalEventsDetail, BuildError>
Consumes the builder and constructs a ExternalEventsDetail
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ExternalEventsDetailBuilder
impl Clone for ExternalEventsDetailBuilder
source§fn clone(&self) -> ExternalEventsDetailBuilder
fn clone(&self) -> ExternalEventsDetailBuilder
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 ExternalEventsDetailBuilder
impl Debug for ExternalEventsDetailBuilder
source§impl Default for ExternalEventsDetailBuilder
impl Default for ExternalEventsDetailBuilder
source§fn default() -> ExternalEventsDetailBuilder
fn default() -> ExternalEventsDetailBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExternalEventsDetailBuilder
impl PartialEq for ExternalEventsDetailBuilder
source§fn eq(&self, other: &ExternalEventsDetailBuilder) -> bool
fn eq(&self, other: &ExternalEventsDetailBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExternalEventsDetailBuilder
Auto Trait Implementations§
impl Freeze for ExternalEventsDetailBuilder
impl RefUnwindSafe for ExternalEventsDetailBuilder
impl Send for ExternalEventsDetailBuilder
impl Sync for ExternalEventsDetailBuilder
impl Unpin for ExternalEventsDetailBuilder
impl UnwindSafe for ExternalEventsDetailBuilder
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.