Struct aws_sdk_frauddetector::operation::get_detector_version::builders::GetDetectorVersionOutputBuilder
source · #[non_exhaustive]pub struct GetDetectorVersionOutputBuilder { /* private fields */ }
Expand description
A builder for GetDetectorVersionOutput
.
Implementations§
source§impl GetDetectorVersionOutputBuilder
impl GetDetectorVersionOutputBuilder
sourcepub fn detector_id(self, input: impl Into<String>) -> Self
pub fn detector_id(self, input: impl Into<String>) -> Self
The detector ID.
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.
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The detector version description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The detector version description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The detector version description.
sourcepub fn external_model_endpoints(self, input: impl Into<String>) -> Self
pub fn external_model_endpoints(self, input: impl Into<String>) -> Self
Appends an item to external_model_endpoints
.
To override the contents of this collection use set_external_model_endpoints
.
The Amazon SageMaker model endpoints included in the detector version.
sourcepub fn set_external_model_endpoints(self, input: Option<Vec<String>>) -> Self
pub fn set_external_model_endpoints(self, input: Option<Vec<String>>) -> Self
The Amazon SageMaker model endpoints included in the detector version.
sourcepub fn get_external_model_endpoints(&self) -> &Option<Vec<String>>
pub fn get_external_model_endpoints(&self) -> &Option<Vec<String>>
The Amazon SageMaker model endpoints included in the detector version.
sourcepub fn model_versions(self, input: ModelVersion) -> Self
pub fn model_versions(self, input: ModelVersion) -> Self
Appends an item to model_versions
.
To override the contents of this collection use set_model_versions
.
The model versions included in the detector version.
sourcepub fn set_model_versions(self, input: Option<Vec<ModelVersion>>) -> Self
pub fn set_model_versions(self, input: Option<Vec<ModelVersion>>) -> Self
The model versions included in the detector version.
sourcepub fn get_model_versions(&self) -> &Option<Vec<ModelVersion>>
pub fn get_model_versions(&self) -> &Option<Vec<ModelVersion>>
The model versions included in the detector version.
sourcepub fn rules(self, input: Rule) -> Self
pub fn rules(self, input: Rule) -> Self
Appends an item to rules
.
To override the contents of this collection use set_rules
.
The rules included in the detector version.
sourcepub fn set_rules(self, input: Option<Vec<Rule>>) -> Self
pub fn set_rules(self, input: Option<Vec<Rule>>) -> Self
The rules included in the detector version.
sourcepub fn status(self, input: DetectorVersionStatus) -> Self
pub fn status(self, input: DetectorVersionStatus) -> Self
The status of the detector version.
sourcepub fn set_status(self, input: Option<DetectorVersionStatus>) -> Self
pub fn set_status(self, input: Option<DetectorVersionStatus>) -> Self
The status of the detector version.
sourcepub fn get_status(&self) -> &Option<DetectorVersionStatus>
pub fn get_status(&self) -> &Option<DetectorVersionStatus>
The status of the detector version.
sourcepub fn last_updated_time(self, input: impl Into<String>) -> Self
pub fn last_updated_time(self, input: impl Into<String>) -> Self
The timestamp when the detector version was last updated.
sourcepub fn set_last_updated_time(self, input: Option<String>) -> Self
pub fn set_last_updated_time(self, input: Option<String>) -> Self
The timestamp when the detector version was last updated.
sourcepub fn get_last_updated_time(&self) -> &Option<String>
pub fn get_last_updated_time(&self) -> &Option<String>
The timestamp when the detector version was last updated.
sourcepub fn created_time(self, input: impl Into<String>) -> Self
pub fn created_time(self, input: impl Into<String>) -> Self
The timestamp when the detector version was created.
sourcepub fn set_created_time(self, input: Option<String>) -> Self
pub fn set_created_time(self, input: Option<String>) -> Self
The timestamp when the detector version was created.
sourcepub fn get_created_time(&self) -> &Option<String>
pub fn get_created_time(&self) -> &Option<String>
The timestamp when the detector version was created.
sourcepub fn rule_execution_mode(self, input: RuleExecutionMode) -> Self
pub fn rule_execution_mode(self, input: RuleExecutionMode) -> Self
The execution mode of the rule in the dectector
FIRST_MATCHED
indicates that Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.
ALL_MATCHED
indicates that Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.
sourcepub fn set_rule_execution_mode(self, input: Option<RuleExecutionMode>) -> Self
pub fn set_rule_execution_mode(self, input: Option<RuleExecutionMode>) -> Self
The execution mode of the rule in the dectector
FIRST_MATCHED
indicates that Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.
ALL_MATCHED
indicates that Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.
sourcepub fn get_rule_execution_mode(&self) -> &Option<RuleExecutionMode>
pub fn get_rule_execution_mode(&self) -> &Option<RuleExecutionMode>
The execution mode of the rule in the dectector
FIRST_MATCHED
indicates that Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.
ALL_MATCHED
indicates that Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.
sourcepub fn build(self) -> GetDetectorVersionOutput
pub fn build(self) -> GetDetectorVersionOutput
Consumes the builder and constructs a GetDetectorVersionOutput
.
Trait Implementations§
source§impl Clone for GetDetectorVersionOutputBuilder
impl Clone for GetDetectorVersionOutputBuilder
source§fn clone(&self) -> GetDetectorVersionOutputBuilder
fn clone(&self) -> GetDetectorVersionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetDetectorVersionOutputBuilder
impl Default for GetDetectorVersionOutputBuilder
source§fn default() -> GetDetectorVersionOutputBuilder
fn default() -> GetDetectorVersionOutputBuilder
source§impl PartialEq for GetDetectorVersionOutputBuilder
impl PartialEq for GetDetectorVersionOutputBuilder
source§fn eq(&self, other: &GetDetectorVersionOutputBuilder) -> bool
fn eq(&self, other: &GetDetectorVersionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.