#[non_exhaustive]pub struct EventsDetectionJobPropertiesBuilder { /* private fields */ }Expand description
A builder for EventsDetectionJobProperties.
Implementations§
source§impl EventsDetectionJobPropertiesBuilder
impl EventsDetectionJobPropertiesBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The identifier assigned to the events detection job.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The identifier assigned to the events detection job.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The identifier assigned to the events detection job.
sourcepub fn job_arn(self, input: impl Into<String>) -> Self
pub fn job_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the events detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:events-detection-job/1234abcd12ab34cd56ef1234567890ab
sourcepub fn set_job_arn(self, input: Option<String>) -> Self
pub fn set_job_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the events detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:events-detection-job/1234abcd12ab34cd56ef1234567890ab
sourcepub fn get_job_arn(&self) -> &Option<String>
pub fn get_job_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the events detection job. It is a unique, fully qualified identifier for the job. It includes the Amazon Web Services account, Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
arn:
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:events-detection-job/1234abcd12ab34cd56ef1234567890ab
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The name you assigned 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 name you assigned the events detection job.
sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
The name you assigned the events detection job.
sourcepub fn job_status(self, input: JobStatus) -> Self
pub fn job_status(self, input: JobStatus) -> Self
The current status of the events detection job.
sourcepub fn set_job_status(self, input: Option<JobStatus>) -> Self
pub fn set_job_status(self, input: Option<JobStatus>) -> Self
The current status of the events detection job.
sourcepub fn get_job_status(&self) -> &Option<JobStatus>
pub fn get_job_status(&self) -> &Option<JobStatus>
The current status of the events detection job.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A description of the status of the events detection job.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A description of the status of the events detection job.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
A description of the status of the events detection job.
sourcepub fn submit_time(self, input: DateTime) -> Self
pub fn submit_time(self, input: DateTime) -> Self
The time that the events detection job was submitted for processing.
sourcepub fn set_submit_time(self, input: Option<DateTime>) -> Self
pub fn set_submit_time(self, input: Option<DateTime>) -> Self
The time that the events detection job was submitted for processing.
sourcepub fn get_submit_time(&self) -> &Option<DateTime>
pub fn get_submit_time(&self) -> &Option<DateTime>
The time that the events detection job was submitted for processing.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The time that the events detection job completed.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The time that the events detection job completed.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The time that the events detection job completed.
sourcepub fn input_data_config(self, input: InputDataConfig) -> Self
pub fn input_data_config(self, input: InputDataConfig) -> Self
The input data configuration that you supplied when you created the events detection job.
sourcepub fn set_input_data_config(self, input: Option<InputDataConfig>) -> Self
pub fn set_input_data_config(self, input: Option<InputDataConfig>) -> Self
The input data configuration that you supplied when you created the events detection job.
sourcepub fn get_input_data_config(&self) -> &Option<InputDataConfig>
pub fn get_input_data_config(&self) -> &Option<InputDataConfig>
The input data configuration that you supplied when you created the events detection job.
sourcepub fn output_data_config(self, input: OutputDataConfig) -> Self
pub fn output_data_config(self, input: OutputDataConfig) -> Self
The output data configuration that you supplied when you created the events detection job.
sourcepub fn set_output_data_config(self, input: Option<OutputDataConfig>) -> Self
pub fn set_output_data_config(self, input: Option<OutputDataConfig>) -> Self
The output data configuration that you supplied when you created the events detection job.
sourcepub fn get_output_data_config(&self) -> &Option<OutputDataConfig>
pub fn get_output_data_config(&self) -> &Option<OutputDataConfig>
The output data configuration that you supplied when you created 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 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 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 that are detected by the job.
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 that are detected by the job.
sourcepub fn get_target_event_types(&self) -> &Option<Vec<String>>
pub fn get_target_event_types(&self) -> &Option<Vec<String>>
The types of events that are detected by the job.
sourcepub fn build(self) -> EventsDetectionJobProperties
pub fn build(self) -> EventsDetectionJobProperties
Consumes the builder and constructs a EventsDetectionJobProperties.
Trait Implementations§
source§impl Clone for EventsDetectionJobPropertiesBuilder
impl Clone for EventsDetectionJobPropertiesBuilder
source§fn clone(&self) -> EventsDetectionJobPropertiesBuilder
fn clone(&self) -> EventsDetectionJobPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for EventsDetectionJobPropertiesBuilder
impl Default for EventsDetectionJobPropertiesBuilder
source§fn default() -> EventsDetectionJobPropertiesBuilder
fn default() -> EventsDetectionJobPropertiesBuilder
source§impl PartialEq for EventsDetectionJobPropertiesBuilder
impl PartialEq for EventsDetectionJobPropertiesBuilder
source§fn eq(&self, other: &EventsDetectionJobPropertiesBuilder) -> bool
fn eq(&self, other: &EventsDetectionJobPropertiesBuilder) -> bool
self and other values to be equal, and is used
by ==.