Struct aws_sdk_frauddetector::operation::create_batch_prediction_job::builders::CreateBatchPredictionJobInputBuilder
source · #[non_exhaustive]pub struct CreateBatchPredictionJobInputBuilder { /* private fields */ }
Expand description
A builder for CreateBatchPredictionJobInput
.
Implementations§
source§impl CreateBatchPredictionJobInputBuilder
impl CreateBatchPredictionJobInputBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The ID of the batch prediction job.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateBatchPredictionJobInput, BuildError>
pub fn build(self) -> Result<CreateBatchPredictionJobInput, BuildError>
Consumes the builder and constructs a CreateBatchPredictionJobInput
.
source§impl CreateBatchPredictionJobInputBuilder
impl CreateBatchPredictionJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateBatchPredictionJobOutput, SdkError<CreateBatchPredictionJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateBatchPredictionJobOutput, SdkError<CreateBatchPredictionJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateBatchPredictionJobInputBuilder
impl Clone for CreateBatchPredictionJobInputBuilder
source§fn clone(&self) -> CreateBatchPredictionJobInputBuilder
fn clone(&self) -> CreateBatchPredictionJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateBatchPredictionJobInputBuilder
impl Default for CreateBatchPredictionJobInputBuilder
source§fn default() -> CreateBatchPredictionJobInputBuilder
fn default() -> CreateBatchPredictionJobInputBuilder
source§impl PartialEq for CreateBatchPredictionJobInputBuilder
impl PartialEq for CreateBatchPredictionJobInputBuilder
source§fn eq(&self, other: &CreateBatchPredictionJobInputBuilder) -> bool
fn eq(&self, other: &CreateBatchPredictionJobInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.