Struct aws_sdk_frauddetector::operation::create_batch_import_job::builders::CreateBatchImportJobInputBuilder
source · #[non_exhaustive]pub struct CreateBatchImportJobInputBuilder { /* private fields */ }
Expand description
A builder for CreateBatchImportJobInput
.
Implementations§
source§impl CreateBatchImportJobInputBuilder
impl CreateBatchImportJobInputBuilder
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 import job. The ID cannot be of a past job, unless the job exists in CREATE_FAILED
state.
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 import job. The ID cannot be of a past job, unless the job exists in CREATE_FAILED
state.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The ID of the batch import job. The ID cannot be of a past job, unless the job exists in CREATE_FAILED
state.
sourcepub fn input_path(self, input: impl Into<String>) -> Self
pub fn input_path(self, input: impl Into<String>) -> Self
The URI that points to the Amazon S3 location of your data 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 URI that points to the Amazon S3 location of your data file.
sourcepub fn get_input_path(&self) -> &Option<String>
pub fn get_input_path(&self) -> &Option<String>
The URI that points to the Amazon S3 location of your data file.
sourcepub fn output_path(self, input: impl Into<String>) -> Self
pub fn output_path(self, input: impl Into<String>) -> Self
The URI that points to the Amazon S3 location for storing your results.
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 URI that points to the Amazon S3 location for storing your results.
sourcepub fn get_output_path(&self) -> &Option<String>
pub fn get_output_path(&self) -> &Option<String>
The URI that points to the Amazon S3 location for storing your results.
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 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 created for Amazon S3 bucket that holds your data file.
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 created for Amazon S3 bucket that holds your data file.
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 created for Amazon S3 bucket that holds your data file.
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-value pairs associated with this request.
A collection of key-value pairs associated with this request.
A collection of key-value pairs associated with this request.
sourcepub fn build(self) -> Result<CreateBatchImportJobInput, BuildError>
pub fn build(self) -> Result<CreateBatchImportJobInput, BuildError>
Consumes the builder and constructs a CreateBatchImportJobInput
.
source§impl CreateBatchImportJobInputBuilder
impl CreateBatchImportJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateBatchImportJobOutput, SdkError<CreateBatchImportJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateBatchImportJobOutput, SdkError<CreateBatchImportJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateBatchImportJobInputBuilder
impl Clone for CreateBatchImportJobInputBuilder
source§fn clone(&self) -> CreateBatchImportJobInputBuilder
fn clone(&self) -> CreateBatchImportJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateBatchImportJobInputBuilder
impl Default for CreateBatchImportJobInputBuilder
source§fn default() -> CreateBatchImportJobInputBuilder
fn default() -> CreateBatchImportJobInputBuilder
source§impl PartialEq for CreateBatchImportJobInputBuilder
impl PartialEq for CreateBatchImportJobInputBuilder
source§fn eq(&self, other: &CreateBatchImportJobInputBuilder) -> bool
fn eq(&self, other: &CreateBatchImportJobInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.