Struct aws_sdk_frauddetector::operation::create_batch_prediction_job::builders::CreateBatchPredictionJobFluentBuilder
source · pub struct CreateBatchPredictionJobFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateBatchPredictionJob
.
Creates a batch prediction job.
Implementations§
source§impl CreateBatchPredictionJobFluentBuilder
impl CreateBatchPredictionJobFluentBuilder
sourcepub fn as_input(&self) -> &CreateBatchPredictionJobInputBuilder
pub fn as_input(&self) -> &CreateBatchPredictionJobInputBuilder
Access the CreateBatchPredictionJob as a reference.
sourcepub async fn send(
self
) -> Result<CreateBatchPredictionJobOutput, SdkError<CreateBatchPredictionJobError, HttpResponse>>
pub async fn send( self ) -> Result<CreateBatchPredictionJobOutput, SdkError<CreateBatchPredictionJobError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateBatchPredictionJobOutput, CreateBatchPredictionJobError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateBatchPredictionJobOutput, CreateBatchPredictionJobError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The ID of the batch prediction job.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The ID of the batch prediction job.
sourcepub fn input_path(self, input: impl Into<String>) -> Self
pub fn input_path(self, input: impl Into<String>) -> Self
The Amazon S3 location of your training file.
sourcepub fn set_input_path(self, input: Option<String>) -> Self
pub fn set_input_path(self, input: Option<String>) -> Self
The Amazon S3 location of your training file.
sourcepub fn get_input_path(&self) -> &Option<String>
pub fn get_input_path(&self) -> &Option<String>
The Amazon S3 location of your training file.
sourcepub fn output_path(self, input: impl Into<String>) -> Self
pub fn output_path(self, input: impl Into<String>) -> Self
The Amazon S3 location of your output file.
sourcepub fn set_output_path(self, input: Option<String>) -> Self
pub fn set_output_path(self, input: Option<String>) -> Self
The Amazon S3 location of your output file.
sourcepub fn get_output_path(&self) -> &Option<String>
pub fn get_output_path(&self) -> &Option<String>
The Amazon S3 location of your output file.
sourcepub fn event_type_name(self, input: impl Into<String>) -> Self
pub fn event_type_name(self, input: impl Into<String>) -> Self
The name of the event type.
sourcepub fn set_event_type_name(self, input: Option<String>) -> Self
pub fn set_event_type_name(self, input: Option<String>) -> Self
The name of the event type.
sourcepub fn get_event_type_name(&self) -> &Option<String>
pub fn get_event_type_name(&self) -> &Option<String>
The name of the event type.
sourcepub fn detector_name(self, input: impl Into<String>) -> Self
pub fn detector_name(self, input: impl Into<String>) -> Self
The name of the detector.
sourcepub fn set_detector_name(self, input: Option<String>) -> Self
pub fn set_detector_name(self, input: Option<String>) -> Self
The name of the detector.
sourcepub fn get_detector_name(&self) -> &Option<String>
pub fn get_detector_name(&self) -> &Option<String>
The name of the detector.
sourcepub fn detector_version(self, input: impl Into<String>) -> Self
pub fn detector_version(self, input: impl Into<String>) -> Self
The detector version.
sourcepub fn set_detector_version(self, input: Option<String>) -> Self
pub fn set_detector_version(self, input: Option<String>) -> Self
The detector version.
sourcepub fn get_detector_version(&self) -> &Option<String>
pub fn get_detector_version(&self) -> &Option<String>
The detector version.
sourcepub fn iam_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role to use for this job request.
The IAM Role must have read permissions to your input S3 bucket and write permissions to your output S3 bucket. For more information about bucket permissions, see User policy examples in the Amazon S3 User Guide.
sourcepub fn set_iam_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role to use for this job request.
The IAM Role must have read permissions to your input S3 bucket and write permissions to your output S3 bucket. For more information about bucket permissions, see User policy examples in the Amazon S3 User Guide.
sourcepub fn get_iam_role_arn(&self) -> &Option<String>
pub fn get_iam_role_arn(&self) -> &Option<String>
The ARN of the IAM role to use for this job request.
The IAM Role must have read permissions to your input S3 bucket and write permissions to your output S3 bucket. For more information about bucket permissions, see User policy examples in the Amazon S3 User Guide.
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.
Trait Implementations§
source§impl Clone for CreateBatchPredictionJobFluentBuilder
impl Clone for CreateBatchPredictionJobFluentBuilder
source§fn clone(&self) -> CreateBatchPredictionJobFluentBuilder
fn clone(&self) -> CreateBatchPredictionJobFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more