Struct aws_sdk_frauddetector::operation::get_event_prediction::builders::GetEventPredictionOutputBuilder
source · #[non_exhaustive]pub struct GetEventPredictionOutputBuilder { /* private fields */ }
Expand description
A builder for GetEventPredictionOutput
.
Implementations§
source§impl GetEventPredictionOutputBuilder
impl GetEventPredictionOutputBuilder
sourcepub fn model_scores(self, input: ModelScores) -> Self
pub fn model_scores(self, input: ModelScores) -> Self
Appends an item to model_scores
.
To override the contents of this collection use set_model_scores
.
The model scores. Amazon Fraud Detector generates model scores between 0 and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores are directly related to the false positive rate (FPR). For example, a score of 600 corresponds to an estimated 10% false positive rate whereas a score of 900 corresponds to an estimated 2% false positive rate.
sourcepub fn set_model_scores(self, input: Option<Vec<ModelScores>>) -> Self
pub fn set_model_scores(self, input: Option<Vec<ModelScores>>) -> Self
The model scores. Amazon Fraud Detector generates model scores between 0 and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores are directly related to the false positive rate (FPR). For example, a score of 600 corresponds to an estimated 10% false positive rate whereas a score of 900 corresponds to an estimated 2% false positive rate.
sourcepub fn get_model_scores(&self) -> &Option<Vec<ModelScores>>
pub fn get_model_scores(&self) -> &Option<Vec<ModelScores>>
The model scores. Amazon Fraud Detector generates model scores between 0 and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores are directly related to the false positive rate (FPR). For example, a score of 600 corresponds to an estimated 10% false positive rate whereas a score of 900 corresponds to an estimated 2% false positive rate.
sourcepub fn rule_results(self, input: RuleResult) -> Self
pub fn rule_results(self, input: RuleResult) -> Self
Appends an item to rule_results
.
To override the contents of this collection use set_rule_results
.
The results from the rules.
sourcepub fn set_rule_results(self, input: Option<Vec<RuleResult>>) -> Self
pub fn set_rule_results(self, input: Option<Vec<RuleResult>>) -> Self
The results from the rules.
sourcepub fn get_rule_results(&self) -> &Option<Vec<RuleResult>>
pub fn get_rule_results(&self) -> &Option<Vec<RuleResult>>
The results from the rules.
sourcepub fn external_model_outputs(self, input: ExternalModelOutputs) -> Self
pub fn external_model_outputs(self, input: ExternalModelOutputs) -> Self
Appends an item to external_model_outputs
.
To override the contents of this collection use set_external_model_outputs
.
The model scores for Amazon SageMaker models.
sourcepub fn set_external_model_outputs(
self,
input: Option<Vec<ExternalModelOutputs>>
) -> Self
pub fn set_external_model_outputs( self, input: Option<Vec<ExternalModelOutputs>> ) -> Self
The model scores for Amazon SageMaker models.
sourcepub fn get_external_model_outputs(&self) -> &Option<Vec<ExternalModelOutputs>>
pub fn get_external_model_outputs(&self) -> &Option<Vec<ExternalModelOutputs>>
The model scores for Amazon SageMaker models.
sourcepub fn build(self) -> GetEventPredictionOutput
pub fn build(self) -> GetEventPredictionOutput
Consumes the builder and constructs a GetEventPredictionOutput
.
Trait Implementations§
source§impl Clone for GetEventPredictionOutputBuilder
impl Clone for GetEventPredictionOutputBuilder
source§fn clone(&self) -> GetEventPredictionOutputBuilder
fn clone(&self) -> GetEventPredictionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetEventPredictionOutputBuilder
impl Default for GetEventPredictionOutputBuilder
source§fn default() -> GetEventPredictionOutputBuilder
fn default() -> GetEventPredictionOutputBuilder
source§impl PartialEq for GetEventPredictionOutputBuilder
impl PartialEq for GetEventPredictionOutputBuilder
source§fn eq(&self, other: &GetEventPredictionOutputBuilder) -> bool
fn eq(&self, other: &GetEventPredictionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.