Struct aws_sdk_frauddetector::operation::get_event_prediction_metadata::builders::GetEventPredictionMetadataInputBuilder
source · #[non_exhaustive]pub struct GetEventPredictionMetadataInputBuilder { /* private fields */ }
Expand description
A builder for GetEventPredictionMetadataInput
.
Implementations§
source§impl GetEventPredictionMetadataInputBuilder
impl GetEventPredictionMetadataInputBuilder
sourcepub fn set_event_id(self, input: Option<String>) -> Self
pub fn set_event_id(self, input: Option<String>) -> Self
The event ID.
sourcepub fn get_event_id(&self) -> &Option<String>
pub fn get_event_id(&self) -> &Option<String>
The event ID.
sourcepub fn event_type_name(self, input: impl Into<String>) -> Self
pub fn event_type_name(self, input: impl Into<String>) -> Self
The event type associated with the detector specified for the prediction.
This field is required.sourcepub fn set_event_type_name(self, input: Option<String>) -> Self
pub fn set_event_type_name(self, input: Option<String>) -> Self
The event type associated with the detector specified for the prediction.
sourcepub fn get_event_type_name(&self) -> &Option<String>
pub fn get_event_type_name(&self) -> &Option<String>
The event type associated with the detector specified for the prediction.
sourcepub fn detector_id(self, input: impl Into<String>) -> Self
pub fn detector_id(self, input: impl Into<String>) -> Self
The detector ID.
This field is required.sourcepub fn set_detector_id(self, input: Option<String>) -> Self
pub fn set_detector_id(self, input: Option<String>) -> Self
The detector ID.
sourcepub fn get_detector_id(&self) -> &Option<String>
pub fn get_detector_id(&self) -> &Option<String>
The detector ID.
sourcepub fn detector_version_id(self, input: impl Into<String>) -> Self
pub fn detector_version_id(self, input: impl Into<String>) -> Self
The detector version ID.
This field is required.sourcepub fn set_detector_version_id(self, input: Option<String>) -> Self
pub fn set_detector_version_id(self, input: Option<String>) -> Self
The detector version ID.
sourcepub fn get_detector_version_id(&self) -> &Option<String>
pub fn get_detector_version_id(&self) -> &Option<String>
The detector version ID.
sourcepub fn prediction_timestamp(self, input: impl Into<String>) -> Self
pub fn prediction_timestamp(self, input: impl Into<String>) -> Self
The timestamp that defines when the prediction was generated. The timestamp must be specified using ISO 8601 standard in UTC.
We recommend calling ListEventPredictions first, and using the predictionTimestamp
value in the response to provide an accurate prediction timestamp value.
sourcepub fn set_prediction_timestamp(self, input: Option<String>) -> Self
pub fn set_prediction_timestamp(self, input: Option<String>) -> Self
The timestamp that defines when the prediction was generated. The timestamp must be specified using ISO 8601 standard in UTC.
We recommend calling ListEventPredictions first, and using the predictionTimestamp
value in the response to provide an accurate prediction timestamp value.
sourcepub fn get_prediction_timestamp(&self) -> &Option<String>
pub fn get_prediction_timestamp(&self) -> &Option<String>
The timestamp that defines when the prediction was generated. The timestamp must be specified using ISO 8601 standard in UTC.
We recommend calling ListEventPredictions first, and using the predictionTimestamp
value in the response to provide an accurate prediction timestamp value.
sourcepub fn build(self) -> Result<GetEventPredictionMetadataInput, BuildError>
pub fn build(self) -> Result<GetEventPredictionMetadataInput, BuildError>
Consumes the builder and constructs a GetEventPredictionMetadataInput
.
source§impl GetEventPredictionMetadataInputBuilder
impl GetEventPredictionMetadataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetEventPredictionMetadataOutput, SdkError<GetEventPredictionMetadataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetEventPredictionMetadataOutput, SdkError<GetEventPredictionMetadataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetEventPredictionMetadataInputBuilder
impl Clone for GetEventPredictionMetadataInputBuilder
source§fn clone(&self) -> GetEventPredictionMetadataInputBuilder
fn clone(&self) -> GetEventPredictionMetadataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetEventPredictionMetadataInputBuilder
impl Default for GetEventPredictionMetadataInputBuilder
source§fn default() -> GetEventPredictionMetadataInputBuilder
fn default() -> GetEventPredictionMetadataInputBuilder
source§impl PartialEq for GetEventPredictionMetadataInputBuilder
impl PartialEq for GetEventPredictionMetadataInputBuilder
source§fn eq(&self, other: &GetEventPredictionMetadataInputBuilder) -> bool
fn eq(&self, other: &GetEventPredictionMetadataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.