Struct aws_sdk_frauddetector::operation::put_external_model::builders::PutExternalModelInputBuilder
source · #[non_exhaustive]pub struct PutExternalModelInputBuilder { /* private fields */ }
Expand description
A builder for PutExternalModelInput
.
Implementations§
source§impl PutExternalModelInputBuilder
impl PutExternalModelInputBuilder
sourcepub fn model_endpoint(self, input: impl Into<String>) -> Self
pub fn model_endpoint(self, input: impl Into<String>) -> Self
The model endpoints name.
This field is required.sourcepub fn set_model_endpoint(self, input: Option<String>) -> Self
pub fn set_model_endpoint(self, input: Option<String>) -> Self
The model endpoints name.
sourcepub fn get_model_endpoint(&self) -> &Option<String>
pub fn get_model_endpoint(&self) -> &Option<String>
The model endpoints name.
sourcepub fn model_source(self, input: ModelSource) -> Self
pub fn model_source(self, input: ModelSource) -> Self
The source of the model.
This field is required.sourcepub fn set_model_source(self, input: Option<ModelSource>) -> Self
pub fn set_model_source(self, input: Option<ModelSource>) -> Self
The source of the model.
sourcepub fn get_model_source(&self) -> &Option<ModelSource>
pub fn get_model_source(&self) -> &Option<ModelSource>
The source of the model.
sourcepub fn invoke_model_endpoint_role_arn(self, input: impl Into<String>) -> Self
pub fn invoke_model_endpoint_role_arn(self, input: impl Into<String>) -> Self
The IAM role used to invoke the model endpoint.
This field is required.sourcepub fn set_invoke_model_endpoint_role_arn(self, input: Option<String>) -> Self
pub fn set_invoke_model_endpoint_role_arn(self, input: Option<String>) -> Self
The IAM role used to invoke the model endpoint.
sourcepub fn get_invoke_model_endpoint_role_arn(&self) -> &Option<String>
pub fn get_invoke_model_endpoint_role_arn(&self) -> &Option<String>
The IAM role used to invoke the model endpoint.
sourcepub fn input_configuration(self, input: ModelInputConfiguration) -> Self
pub fn input_configuration(self, input: ModelInputConfiguration) -> Self
The model endpoint input configuration.
This field is required.sourcepub fn set_input_configuration(
self,
input: Option<ModelInputConfiguration>
) -> Self
pub fn set_input_configuration( self, input: Option<ModelInputConfiguration> ) -> Self
The model endpoint input configuration.
sourcepub fn get_input_configuration(&self) -> &Option<ModelInputConfiguration>
pub fn get_input_configuration(&self) -> &Option<ModelInputConfiguration>
The model endpoint input configuration.
sourcepub fn output_configuration(self, input: ModelOutputConfiguration) -> Self
pub fn output_configuration(self, input: ModelOutputConfiguration) -> Self
The model endpoint output configuration.
This field is required.sourcepub fn set_output_configuration(
self,
input: Option<ModelOutputConfiguration>
) -> Self
pub fn set_output_configuration( self, input: Option<ModelOutputConfiguration> ) -> Self
The model endpoint output configuration.
sourcepub fn get_output_configuration(&self) -> &Option<ModelOutputConfiguration>
pub fn get_output_configuration(&self) -> &Option<ModelOutputConfiguration>
The model endpoint output configuration.
sourcepub fn model_endpoint_status(self, input: ModelEndpointStatus) -> Self
pub fn model_endpoint_status(self, input: ModelEndpointStatus) -> Self
The model endpoint’s status in Amazon Fraud Detector.
This field is required.sourcepub fn set_model_endpoint_status(
self,
input: Option<ModelEndpointStatus>
) -> Self
pub fn set_model_endpoint_status( self, input: Option<ModelEndpointStatus> ) -> Self
The model endpoint’s status in Amazon Fraud Detector.
sourcepub fn get_model_endpoint_status(&self) -> &Option<ModelEndpointStatus>
pub fn get_model_endpoint_status(&self) -> &Option<ModelEndpointStatus>
The model endpoint’s status in Amazon Fraud Detector.
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<PutExternalModelInput, BuildError>
pub fn build(self) -> Result<PutExternalModelInput, BuildError>
Consumes the builder and constructs a PutExternalModelInput
.
source§impl PutExternalModelInputBuilder
impl PutExternalModelInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutExternalModelOutput, SdkError<PutExternalModelError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutExternalModelOutput, SdkError<PutExternalModelError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutExternalModelInputBuilder
impl Clone for PutExternalModelInputBuilder
source§fn clone(&self) -> PutExternalModelInputBuilder
fn clone(&self) -> PutExternalModelInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutExternalModelInputBuilder
impl Debug for PutExternalModelInputBuilder
source§impl Default for PutExternalModelInputBuilder
impl Default for PutExternalModelInputBuilder
source§fn default() -> PutExternalModelInputBuilder
fn default() -> PutExternalModelInputBuilder
source§impl PartialEq for PutExternalModelInputBuilder
impl PartialEq for PutExternalModelInputBuilder
source§fn eq(&self, other: &PutExternalModelInputBuilder) -> bool
fn eq(&self, other: &PutExternalModelInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.