Struct aws_sdk_comprehend::operation::start_dominant_language_detection_job::builders::StartDominantLanguageDetectionJobInputBuilder
source · #[non_exhaustive]pub struct StartDominantLanguageDetectionJobInputBuilder { /* private fields */ }Expand description
A builder for StartDominantLanguageDetectionJobInput.
Implementations§
source§impl StartDominantLanguageDetectionJobInputBuilder
impl StartDominantLanguageDetectionJobInputBuilder
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.
This field is required.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.
This field is required.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. For more information, see Role-based permissions.
This field is required.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. For more information, see Role-based permissions.
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. For more information, see Role-based permissions.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
An identifier for the job.
sourcepub fn get_job_name(&self) -> &Option<String>
pub fn get_job_name(&self) -> &Option<String>
An identifier for the job.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A unique identifier for the request. If you do not 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
A unique identifier for the request. If you do not 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>
A unique identifier for the request. If you do not set the client request token, Amazon Comprehend generates one.
sourcepub fn volume_kms_key_id(self, input: impl Into<String>) -> Self
pub fn volume_kms_key_id(self, input: impl Into<String>) -> Self
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab" -
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
sourcepub fn set_volume_kms_key_id(self, input: Option<String>) -> Self
pub fn set_volume_kms_key_id(self, input: Option<String>) -> Self
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab" -
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
sourcepub fn get_volume_kms_key_id(&self) -> &Option<String>
pub fn get_volume_kms_key_id(&self) -> &Option<String>
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab" -
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
sourcepub fn vpc_config(self, input: VpcConfig) -> Self
pub fn vpc_config(self, input: VpcConfig) -> Self
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your dominant language detection job. For more information, see Amazon VPC.
sourcepub fn set_vpc_config(self, input: Option<VpcConfig>) -> Self
pub fn set_vpc_config(self, input: Option<VpcConfig>) -> Self
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your dominant language detection job. For more information, see Amazon VPC.
sourcepub fn get_vpc_config(&self) -> &Option<VpcConfig>
pub fn get_vpc_config(&self) -> &Option<VpcConfig>
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for your dominant language detection job. For more information, see Amazon VPC.
Appends an item to tags.
To override the contents of this collection use set_tags.
Tags to associate with the dominant language 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 dominant language 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 dominant language 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<StartDominantLanguageDetectionJobInput, BuildError>
pub fn build(self) -> Result<StartDominantLanguageDetectionJobInput, BuildError>
Consumes the builder and constructs a StartDominantLanguageDetectionJobInput.
source§impl StartDominantLanguageDetectionJobInputBuilder
impl StartDominantLanguageDetectionJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartDominantLanguageDetectionJobOutput, SdkError<StartDominantLanguageDetectionJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartDominantLanguageDetectionJobOutput, SdkError<StartDominantLanguageDetectionJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartDominantLanguageDetectionJobInputBuilder
impl Clone for StartDominantLanguageDetectionJobInputBuilder
source§fn clone(&self) -> StartDominantLanguageDetectionJobInputBuilder
fn clone(&self) -> StartDominantLanguageDetectionJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartDominantLanguageDetectionJobInputBuilder
impl Default for StartDominantLanguageDetectionJobInputBuilder
source§fn default() -> StartDominantLanguageDetectionJobInputBuilder
fn default() -> StartDominantLanguageDetectionJobInputBuilder
source§impl PartialEq for StartDominantLanguageDetectionJobInputBuilder
impl PartialEq for StartDominantLanguageDetectionJobInputBuilder
source§fn eq(&self, other: &StartDominantLanguageDetectionJobInputBuilder) -> bool
fn eq(&self, other: &StartDominantLanguageDetectionJobInputBuilder) -> bool
self and other values to be equal, and is used
by ==.