Struct aws_sdk_comprehend::operation::start_events_detection_job::builders::StartEventsDetectionJobInputBuilder
source · #[non_exhaustive]pub struct StartEventsDetectionJobInputBuilder { /* private fields */ }Expand description
A builder for StartEventsDetectionJobInput.
Implementations§
source§impl StartEventsDetectionJobInputBuilder
impl StartEventsDetectionJobInputBuilder
sourcepub fn input_data_config(self, input: InputDataConfig) -> Self
pub fn input_data_config(self, input: InputDataConfig) -> Self
Specifies the format and location of the input data for the job.
sourcepub fn set_input_data_config(self, input: Option<InputDataConfig>) -> Self
pub fn set_input_data_config(self, input: Option<InputDataConfig>) -> Self
Specifies the format and location of the input data for the job.
sourcepub fn get_input_data_config(&self) -> &Option<InputDataConfig>
pub fn get_input_data_config(&self) -> &Option<InputDataConfig>
Specifies the format and location of the input data for the job.
sourcepub fn output_data_config(self, input: OutputDataConfig) -> Self
pub fn output_data_config(self, input: OutputDataConfig) -> Self
Specifies where to send the output files.
sourcepub fn set_output_data_config(self, input: Option<OutputDataConfig>) -> Self
pub fn set_output_data_config(self, input: Option<OutputDataConfig>) -> Self
Specifies where to send the output files.
sourcepub fn get_output_data_config(&self) -> &Option<OutputDataConfig>
pub fn get_output_data_config(&self) -> &Option<OutputDataConfig>
Specifies where to send the output files.
sourcepub fn data_access_role_arn(self, input: impl Into<String>) -> Self
pub fn data_access_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
sourcepub fn set_data_access_role_arn(self, input: Option<String>) -> Self
pub fn set_data_access_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
sourcepub fn get_data_access_role_arn(&self) -> &Option<String>
pub fn get_data_access_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The identifier of the events detection job.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The identifier of the events detection job.
sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The identifier of the events detection job.
sourcepub fn language_code(self, input: LanguageCode) -> Self
pub fn language_code(self, input: LanguageCode) -> Self
The language code of the input documents.
sourcepub fn set_language_code(self, input: Option<LanguageCode>) -> Self
pub fn set_language_code(self, input: Option<LanguageCode>) -> Self
The language code of the input documents.
sourcepub fn get_language_code(&self) -> &Option<LanguageCode>
pub fn get_language_code(&self) -> &Option<LanguageCode>
The language code of the input documents.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
sourcepub fn target_event_types(self, input: impl Into<String>) -> Self
pub fn target_event_types(self, input: impl Into<String>) -> Self
Appends an item to target_event_types.
To override the contents of this collection use set_target_event_types.
The types of events to detect in the input documents.
sourcepub fn set_target_event_types(self, input: Option<Vec<String>>) -> Self
pub fn set_target_event_types(self, input: Option<Vec<String>>) -> Self
The types of events to detect in the input documents.
sourcepub fn get_target_event_types(&self) -> &Option<Vec<String>>
pub fn get_target_event_types(&self) -> &Option<Vec<String>>
The types of events to detect in the input documents.
Appends an item to tags.
To override the contents of this collection use set_tags.
Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
sourcepub fn build(self) -> Result<StartEventsDetectionJobInput, BuildError>
pub fn build(self) -> Result<StartEventsDetectionJobInput, BuildError>
Consumes the builder and constructs a StartEventsDetectionJobInput.
source§impl StartEventsDetectionJobInputBuilder
impl StartEventsDetectionJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartEventsDetectionJobOutput, SdkError<StartEventsDetectionJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartEventsDetectionJobOutput, SdkError<StartEventsDetectionJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartEventsDetectionJobInputBuilder
impl Clone for StartEventsDetectionJobInputBuilder
source§fn clone(&self) -> StartEventsDetectionJobInputBuilder
fn clone(&self) -> StartEventsDetectionJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartEventsDetectionJobInputBuilder
impl Default for StartEventsDetectionJobInputBuilder
source§fn default() -> StartEventsDetectionJobInputBuilder
fn default() -> StartEventsDetectionJobInputBuilder
source§impl PartialEq for StartEventsDetectionJobInputBuilder
impl PartialEq for StartEventsDetectionJobInputBuilder
source§fn eq(&self, other: &StartEventsDetectionJobInputBuilder) -> bool
fn eq(&self, other: &StartEventsDetectionJobInputBuilder) -> bool
self and other values to be equal, and is used
by ==.