Struct aws_sdk_frauddetector::operation::update_model_version::builders::UpdateModelVersionInputBuilder
source · #[non_exhaustive]pub struct UpdateModelVersionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateModelVersionInput
.
Implementations§
source§impl UpdateModelVersionInputBuilder
impl UpdateModelVersionInputBuilder
sourcepub fn set_model_id(self, input: Option<String>) -> Self
pub fn set_model_id(self, input: Option<String>) -> Self
The model ID.
sourcepub fn get_model_id(&self) -> &Option<String>
pub fn get_model_id(&self) -> &Option<String>
The model ID.
sourcepub fn model_type(self, input: ModelTypeEnum) -> Self
pub fn model_type(self, input: ModelTypeEnum) -> Self
The model type.
This field is required.sourcepub fn set_model_type(self, input: Option<ModelTypeEnum>) -> Self
pub fn set_model_type(self, input: Option<ModelTypeEnum>) -> Self
The model type.
sourcepub fn get_model_type(&self) -> &Option<ModelTypeEnum>
pub fn get_model_type(&self) -> &Option<ModelTypeEnum>
The model type.
sourcepub fn major_version_number(self, input: impl Into<String>) -> Self
pub fn major_version_number(self, input: impl Into<String>) -> Self
The major version number.
This field is required.sourcepub fn set_major_version_number(self, input: Option<String>) -> Self
pub fn set_major_version_number(self, input: Option<String>) -> Self
The major version number.
sourcepub fn get_major_version_number(&self) -> &Option<String>
pub fn get_major_version_number(&self) -> &Option<String>
The major version number.
sourcepub fn external_events_detail(self, input: ExternalEventsDetail) -> Self
pub fn external_events_detail(self, input: ExternalEventsDetail) -> Self
The details of the external events data used for training the model version. Required if trainingDataSource
is EXTERNAL_EVENTS
.
sourcepub fn set_external_events_detail(
self,
input: Option<ExternalEventsDetail>
) -> Self
pub fn set_external_events_detail( self, input: Option<ExternalEventsDetail> ) -> Self
The details of the external events data used for training the model version. Required if trainingDataSource
is EXTERNAL_EVENTS
.
sourcepub fn get_external_events_detail(&self) -> &Option<ExternalEventsDetail>
pub fn get_external_events_detail(&self) -> &Option<ExternalEventsDetail>
The details of the external events data used for training the model version. Required if trainingDataSource
is EXTERNAL_EVENTS
.
sourcepub fn ingested_events_detail(self, input: IngestedEventsDetail) -> Self
pub fn ingested_events_detail(self, input: IngestedEventsDetail) -> Self
The details of the ingested event used for training the model version. Required if your trainingDataSource
is INGESTED_EVENTS
.
sourcepub fn set_ingested_events_detail(
self,
input: Option<IngestedEventsDetail>
) -> Self
pub fn set_ingested_events_detail( self, input: Option<IngestedEventsDetail> ) -> Self
The details of the ingested event used for training the model version. Required if your trainingDataSource
is INGESTED_EVENTS
.
sourcepub fn get_ingested_events_detail(&self) -> &Option<IngestedEventsDetail>
pub fn get_ingested_events_detail(&self) -> &Option<IngestedEventsDetail>
The details of the ingested event used for training the model version. Required if your trainingDataSource
is INGESTED_EVENTS
.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A collection of key and value pairs.
A collection of key and value pairs.
A collection of key and value pairs.
sourcepub fn build(self) -> Result<UpdateModelVersionInput, BuildError>
pub fn build(self) -> Result<UpdateModelVersionInput, BuildError>
Consumes the builder and constructs a UpdateModelVersionInput
.
source§impl UpdateModelVersionInputBuilder
impl UpdateModelVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateModelVersionOutput, SdkError<UpdateModelVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateModelVersionOutput, SdkError<UpdateModelVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateModelVersionInputBuilder
impl Clone for UpdateModelVersionInputBuilder
source§fn clone(&self) -> UpdateModelVersionInputBuilder
fn clone(&self) -> UpdateModelVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateModelVersionInputBuilder
impl Default for UpdateModelVersionInputBuilder
source§fn default() -> UpdateModelVersionInputBuilder
fn default() -> UpdateModelVersionInputBuilder
source§impl PartialEq for UpdateModelVersionInputBuilder
impl PartialEq for UpdateModelVersionInputBuilder
source§fn eq(&self, other: &UpdateModelVersionInputBuilder) -> bool
fn eq(&self, other: &UpdateModelVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.