/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.transcribe.model; import java.io.Serializable; import com.amazonaws.AmazonWebServiceRequest; /** *
* Transcribes the audio from a customer service call and applies any additional * Request Parameters you choose to include in your request. *
** In addition to many standard transcription features, Call Analytics provides * you with call characteristics, call summarization, speaker sentiment, and * optional redaction of your text transcript and your audio file. You can also * apply custom categories to flag specified conditions. To learn more about * these features and insights, refer to Analyzing call center audio with Call Analytics. *
** If you want to apply categories to your Call Analytics job, you must create * them before submitting your job request. Categories cannot be retroactively * applied to a job. To create a new category, use the operation. To learn more * about Call Analytics categories, see Creating categories for post-call transcriptions and Creating categories for real-time transcriptions. *
*
* To make a StartCallAnalyticsJob
request, you must first upload
* your media file into an Amazon S3 bucket; you can then specify the Amazon S3
* location of the file using the Media
parameter.
*
* Note that job queuing is enabled by default for Call Analytics jobs. *
*
* You must include the following parameters in your
* StartCallAnalyticsJob
request:
*
* region
: The Amazon Web Services Region where you are making your
* request. For a list of Amazon Web Services Regions supported with Amazon
* Transcribe, refer to Amazon
* Transcribe endpoints and quotas.
*
* CallAnalyticsJobName
: A custom name that you create for your
* transcription job that's unique within your Amazon Web Services account.
*
* DataAccessRoleArn
: The Amazon Resource Name (ARN) of an IAM role
* that has permissions to access the Amazon S3 bucket that contains your input
* files.
*
* Media
(MediaFileUri
or
* RedactedMediaFileUri
): The Amazon S3 location of your media
* file.
*
* With Call Analytics, you can redact the audio contained in your media file by
* including RedactedMediaFileUri
, instead of
* MediaFileUri
, to specify the location of your input audio. If
* you choose to redact your audio, you can find your redacted media at the
* location specified in the RedactedMediaFileUri
field of your
* response.
*
* A unique name, chosen by you, for your Call Analytics job. *
*
* This name is case sensitive, cannot contain spaces, and must be unique
* within an Amazon Web Services account. If you try to create a new job
* with the same name as an existing job, you get a
* ConflictException
error.
*
* Constraints:
* Length: 1 - 200
* Pattern: ^[0-9a-zA-Z._-]+
*/
private String callAnalyticsJobName;
/**
*
* Describes the Amazon S3 location of the media file you want to use in * your Call Analytics request. *
*/ private Media media; /** ** The Amazon S3 location where you want your Call Analytics transcription * output stored. You can use any of the following formats to specify the * output location: *
** s3://DOC-EXAMPLE-BUCKET *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/ *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job.json *
*
* Unless you specify a file name (option 3), the name of your output file
* has a default value that matches the name you specified for your
* transcription job using the CallAnalyticsJobName
parameter.
*
* You can specify a KMS key to encrypt your output using the
* OutputEncryptionKMSKeyId
parameter. If you don't specify a
* KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side
* encryption.
*
* If you don't specify OutputLocation
, your transcript is
* placed in a service-managed Amazon S3 bucket and you are provided with a
* URI to access your transcript.
*
* Constraints:
* Length: 1 - 2000
* Pattern: (s3://|http(s*)://).+
*/
private String outputLocation;
/**
*
* The KMS key you want to use to encrypt your Call Analytics output. *
** If using a key located in the current Amazon Web Services account, * you can specify your KMS key in one of four ways: *
*
* Use the KMS key ID itself. For example,
* 1234abcd-12ab-34cd-56ef-1234567890ab
.
*
* Use an alias for the KMS key ID. For example,
* alias/ExampleAlias
.
*
* Use the Amazon Resource Name (ARN) for the KMS key ID. For example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If using a key located in a different Amazon Web Services account * than the current Amazon Web Services account, you can specify your KMS * key in one of two ways: *
*
* Use the ARN for the KMS key ID. For example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If you don't specify an encryption key, your output is encrypted with the * default Amazon S3 key (SSE-S3). *
*
* If you specify a KMS key to encrypt your output, you must also specify an
* output location using the OutputLocation
parameter.
*
* Note that the role making the request must have permission to use the * specified KMS key. *
*
* Constraints:
* Length: 1 - 2048
* Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
*/
private String outputEncryptionKMSKeyId;
/**
*
* The Amazon Resource Name (ARN) of an IAM role that has permissions to * access the Amazon S3 bucket that contains your input files. If the role * that you specify doesn’t have the appropriate permissions to access the * specified Amazon S3 location, your request fails. *
*
* IAM role ARNs have the format
* arn:partition:iam::account:role/role-name-with-path
. For
* example: arn:aws:iam::111122223333:role/Admin
.
*
* For more information, see IAM ARNs. *
*
* Constraints:
* Length: 20 - 2048
* Pattern:
* ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam::
* [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
*/
private String dataAccessRoleArn;
/**
*
* Specify additional optional settings in your request, including content * redaction; allows you to apply custom language models, vocabulary * filters, and custom vocabularies to your Call Analytics job. *
*/ private CallAnalyticsJobSettings settings; /** *
* Makes it possible to specify which speaker is on which channel. For
* example, if your agent is the first participant to speak, you would set
* ChannelId
to 0
(to indicate the first channel)
* and ParticipantRole
to AGENT
(to indicate that
* it's the agent speaking).
*
* A unique name, chosen by you, for your Call Analytics job. *
*
* This name is case sensitive, cannot contain spaces, and must be unique
* within an Amazon Web Services account. If you try to create a new job
* with the same name as an existing job, you get a
* ConflictException
error.
*
* Constraints:
* Length: 1 - 200
* Pattern: ^[0-9a-zA-Z._-]+
*
* @return
* A unique name, chosen by you, for your Call Analytics job. *
*
* This name is case sensitive, cannot contain spaces, and must be
* unique within an Amazon Web Services account. If you try to
* create a new job with the same name as an existing job, you get a
* ConflictException
error.
*
* A unique name, chosen by you, for your Call Analytics job. *
*
* This name is case sensitive, cannot contain spaces, and must be unique
* within an Amazon Web Services account. If you try to create a new job
* with the same name as an existing job, you get a
* ConflictException
error.
*
* Constraints:
* Length: 1 - 200
* Pattern: ^[0-9a-zA-Z._-]+
*
* @param callAnalyticsJobName
* A unique name, chosen by you, for your Call Analytics job. *
*
* This name is case sensitive, cannot contain spaces, and must
* be unique within an Amazon Web Services account. If you try to
* create a new job with the same name as an existing job, you
* get a ConflictException
error.
*
* A unique name, chosen by you, for your Call Analytics job. *
*
* This name is case sensitive, cannot contain spaces, and must be unique
* within an Amazon Web Services account. If you try to create a new job
* with the same name as an existing job, you get a
* ConflictException
error.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Length: 1 - 200
* Pattern: ^[0-9a-zA-Z._-]+
*
* @param callAnalyticsJobName
* A unique name, chosen by you, for your Call Analytics job. *
*
* This name is case sensitive, cannot contain spaces, and must
* be unique within an Amazon Web Services account. If you try to
* create a new job with the same name as an existing job, you
* get a ConflictException
error.
*
* Describes the Amazon S3 location of the media file you want to use in * your Call Analytics request. *
* * @return* Describes the Amazon S3 location of the media file you want to * use in your Call Analytics request. *
*/ public Media getMedia() { return media; } /** ** Describes the Amazon S3 location of the media file you want to use in * your Call Analytics request. *
* * @param media* Describes the Amazon S3 location of the media file you want to * use in your Call Analytics request. *
*/ public void setMedia(Media media) { this.media = media; } /** ** Describes the Amazon S3 location of the media file you want to use in * your Call Analytics request. *
** Returns a reference to this object so that method calls can be chained * together. * * @param media
* Describes the Amazon S3 location of the media file you want to * use in your Call Analytics request. *
* @return A reference to this updated object so that method calls can be * chained together. */ public StartCallAnalyticsJobRequest withMedia(Media media) { this.media = media; return this; } /** ** The Amazon S3 location where you want your Call Analytics transcription * output stored. You can use any of the following formats to specify the * output location: *
** s3://DOC-EXAMPLE-BUCKET *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/ *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job.json *
*
* Unless you specify a file name (option 3), the name of your output file
* has a default value that matches the name you specified for your
* transcription job using the CallAnalyticsJobName
parameter.
*
* You can specify a KMS key to encrypt your output using the
* OutputEncryptionKMSKeyId
parameter. If you don't specify a
* KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side
* encryption.
*
* If you don't specify OutputLocation
, your transcript is
* placed in a service-managed Amazon S3 bucket and you are provided with a
* URI to access your transcript.
*
* Constraints:
* Length: 1 - 2000
* Pattern: (s3://|http(s*)://).+
*
* @return
* The Amazon S3 location where you want your Call Analytics * transcription output stored. You can use any of the following * formats to specify the output location: *
** s3://DOC-EXAMPLE-BUCKET *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/ *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job. * json *
*
* Unless you specify a file name (option 3), the name of your
* output file has a default value that matches the name you
* specified for your transcription job using the
* CallAnalyticsJobName
parameter.
*
* You can specify a KMS key to encrypt your output using the
* OutputEncryptionKMSKeyId
parameter. If you don't
* specify a KMS key, Amazon Transcribe uses the default Amazon S3
* key for server-side encryption.
*
* If you don't specify OutputLocation
, your transcript
* is placed in a service-managed Amazon S3 bucket and you are
* provided with a URI to access your transcript.
*
* The Amazon S3 location where you want your Call Analytics transcription * output stored. You can use any of the following formats to specify the * output location: *
** s3://DOC-EXAMPLE-BUCKET *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/ *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job.json *
*
* Unless you specify a file name (option 3), the name of your output file
* has a default value that matches the name you specified for your
* transcription job using the CallAnalyticsJobName
parameter.
*
* You can specify a KMS key to encrypt your output using the
* OutputEncryptionKMSKeyId
parameter. If you don't specify a
* KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side
* encryption.
*
* If you don't specify OutputLocation
, your transcript is
* placed in a service-managed Amazon S3 bucket and you are provided with a
* URI to access your transcript.
*
* Constraints:
* Length: 1 - 2000
* Pattern: (s3://|http(s*)://).+
*
* @param outputLocation
* The Amazon S3 location where you want your Call Analytics * transcription output stored. You can use any of the following * formats to specify the output location: *
** s3://DOC-EXAMPLE-BUCKET *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/ *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job * .json *
*
* Unless you specify a file name (option 3), the name of your
* output file has a default value that matches the name you
* specified for your transcription job using the
* CallAnalyticsJobName
parameter.
*
* You can specify a KMS key to encrypt your output using the
* OutputEncryptionKMSKeyId
parameter. If you don't
* specify a KMS key, Amazon Transcribe uses the default Amazon
* S3 key for server-side encryption.
*
* If you don't specify OutputLocation
, your
* transcript is placed in a service-managed Amazon S3 bucket and
* you are provided with a URI to access your transcript.
*
* The Amazon S3 location where you want your Call Analytics transcription * output stored. You can use any of the following formats to specify the * output location: *
** s3://DOC-EXAMPLE-BUCKET *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/ *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job.json *
*
* Unless you specify a file name (option 3), the name of your output file
* has a default value that matches the name you specified for your
* transcription job using the CallAnalyticsJobName
parameter.
*
* You can specify a KMS key to encrypt your output using the
* OutputEncryptionKMSKeyId
parameter. If you don't specify a
* KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side
* encryption.
*
* If you don't specify OutputLocation
, your transcript is
* placed in a service-managed Amazon S3 bucket and you are provided with a
* URI to access your transcript.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Length: 1 - 2000
* Pattern: (s3://|http(s*)://).+
*
* @param outputLocation
* The Amazon S3 location where you want your Call Analytics * transcription output stored. You can use any of the following * formats to specify the output location: *
** s3://DOC-EXAMPLE-BUCKET *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/ *
** s3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job * .json *
*
* Unless you specify a file name (option 3), the name of your
* output file has a default value that matches the name you
* specified for your transcription job using the
* CallAnalyticsJobName
parameter.
*
* You can specify a KMS key to encrypt your output using the
* OutputEncryptionKMSKeyId
parameter. If you don't
* specify a KMS key, Amazon Transcribe uses the default Amazon
* S3 key for server-side encryption.
*
* If you don't specify OutputLocation
, your
* transcript is placed in a service-managed Amazon S3 bucket and
* you are provided with a URI to access your transcript.
*
* The KMS key you want to use to encrypt your Call Analytics output. *
** If using a key located in the current Amazon Web Services account, * you can specify your KMS key in one of four ways: *
*
* Use the KMS key ID itself. For example,
* 1234abcd-12ab-34cd-56ef-1234567890ab
.
*
* Use an alias for the KMS key ID. For example,
* alias/ExampleAlias
.
*
* Use the Amazon Resource Name (ARN) for the KMS key ID. For example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If using a key located in a different Amazon Web Services account * than the current Amazon Web Services account, you can specify your KMS * key in one of two ways: *
*
* Use the ARN for the KMS key ID. For example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If you don't specify an encryption key, your output is encrypted with the * default Amazon S3 key (SSE-S3). *
*
* If you specify a KMS key to encrypt your output, you must also specify an
* output location using the OutputLocation
parameter.
*
* Note that the role making the request must have permission to use the * specified KMS key. *
*
* Constraints:
* Length: 1 - 2048
* Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
*
* @return
* The KMS key you want to use to encrypt your Call Analytics * output. *
** If using a key located in the current Amazon Web Services * account, you can specify your KMS key in one of four ways: *
*
* Use the KMS key ID itself. For example,
* 1234abcd-12ab-34cd-56ef-1234567890ab
.
*
* Use an alias for the KMS key ID. For example,
* alias/ExampleAlias
.
*
* Use the Amazon Resource Name (ARN) for the KMS key ID. For
* example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If using a key located in a different Amazon Web Services * account than the current Amazon Web Services account, you can * specify your KMS key in one of two ways: *
*
* Use the ARN for the KMS key ID. For example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If you don't specify an encryption key, your output is encrypted * with the default Amazon S3 key (SSE-S3). *
*
* If you specify a KMS key to encrypt your output, you must also
* specify an output location using the OutputLocation
* parameter.
*
* Note that the role making the request must have permission to use * the specified KMS key. *
*/ public String getOutputEncryptionKMSKeyId() { return outputEncryptionKMSKeyId; } /** ** The KMS key you want to use to encrypt your Call Analytics output. *
** If using a key located in the current Amazon Web Services account, * you can specify your KMS key in one of four ways: *
*
* Use the KMS key ID itself. For example,
* 1234abcd-12ab-34cd-56ef-1234567890ab
.
*
* Use an alias for the KMS key ID. For example,
* alias/ExampleAlias
.
*
* Use the Amazon Resource Name (ARN) for the KMS key ID. For example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If using a key located in a different Amazon Web Services account * than the current Amazon Web Services account, you can specify your KMS * key in one of two ways: *
*
* Use the ARN for the KMS key ID. For example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If you don't specify an encryption key, your output is encrypted with the * default Amazon S3 key (SSE-S3). *
*
* If you specify a KMS key to encrypt your output, you must also specify an
* output location using the OutputLocation
parameter.
*
* Note that the role making the request must have permission to use the * specified KMS key. *
*
* Constraints:
* Length: 1 - 2048
* Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
*
* @param outputEncryptionKMSKeyId
* The KMS key you want to use to encrypt your Call Analytics * output. *
** If using a key located in the current Amazon Web * Services account, you can specify your KMS key in one of four * ways: *
*
* Use the KMS key ID itself. For example,
* 1234abcd-12ab-34cd-56ef-1234567890ab
.
*
* Use an alias for the KMS key ID. For example,
* alias/ExampleAlias
.
*
* Use the Amazon Resource Name (ARN) for the KMS key ID. For
* example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If using a key located in a different Amazon Web * Services account than the current Amazon Web Services account, * you can specify your KMS key in one of two ways: *
*
* Use the ARN for the KMS key ID. For example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If you don't specify an encryption key, your output is * encrypted with the default Amazon S3 key (SSE-S3). *
*
* If you specify a KMS key to encrypt your output, you must also
* specify an output location using the
* OutputLocation
parameter.
*
* Note that the role making the request must have permission to * use the specified KMS key. *
*/ public void setOutputEncryptionKMSKeyId(String outputEncryptionKMSKeyId) { this.outputEncryptionKMSKeyId = outputEncryptionKMSKeyId; } /** ** The KMS key you want to use to encrypt your Call Analytics output. *
** If using a key located in the current Amazon Web Services account, * you can specify your KMS key in one of four ways: *
*
* Use the KMS key ID itself. For example,
* 1234abcd-12ab-34cd-56ef-1234567890ab
.
*
* Use an alias for the KMS key ID. For example,
* alias/ExampleAlias
.
*
* Use the Amazon Resource Name (ARN) for the KMS key ID. For example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If using a key located in a different Amazon Web Services account * than the current Amazon Web Services account, you can specify your KMS * key in one of two ways: *
*
* Use the ARN for the KMS key ID. For example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If you don't specify an encryption key, your output is encrypted with the * default Amazon S3 key (SSE-S3). *
*
* If you specify a KMS key to encrypt your output, you must also specify an
* output location using the OutputLocation
parameter.
*
* Note that the role making the request must have permission to use the * specified KMS key. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Length: 1 - 2048
* Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
*
* @param outputEncryptionKMSKeyId
* The KMS key you want to use to encrypt your Call Analytics * output. *
** If using a key located in the current Amazon Web * Services account, you can specify your KMS key in one of four * ways: *
*
* Use the KMS key ID itself. For example,
* 1234abcd-12ab-34cd-56ef-1234567890ab
.
*
* Use an alias for the KMS key ID. For example,
* alias/ExampleAlias
.
*
* Use the Amazon Resource Name (ARN) for the KMS key ID. For
* example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If using a key located in a different Amazon Web * Services account than the current Amazon Web Services account, * you can specify your KMS key in one of two ways: *
*
* Use the ARN for the KMS key ID. For example,
* arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
* .
*
* Use the ARN for the KMS key alias. For example,
* arn:aws:kms:region:account-ID:alias/ExampleAlias
.
*
* If you don't specify an encryption key, your output is * encrypted with the default Amazon S3 key (SSE-S3). *
*
* If you specify a KMS key to encrypt your output, you must also
* specify an output location using the
* OutputLocation
parameter.
*
* Note that the role making the request must have permission to * use the specified KMS key. *
* @return A reference to this updated object so that method calls can be * chained together. */ public StartCallAnalyticsJobRequest withOutputEncryptionKMSKeyId(String outputEncryptionKMSKeyId) { this.outputEncryptionKMSKeyId = outputEncryptionKMSKeyId; return this; } /** ** The Amazon Resource Name (ARN) of an IAM role that has permissions to * access the Amazon S3 bucket that contains your input files. If the role * that you specify doesn’t have the appropriate permissions to access the * specified Amazon S3 location, your request fails. *
*
* IAM role ARNs have the format
* arn:partition:iam::account:role/role-name-with-path
. For
* example: arn:aws:iam::111122223333:role/Admin
.
*
* For more information, see IAM ARNs. *
*
* Constraints:
* Length: 20 - 2048
* Pattern:
* ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam::
* [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
*
* @return
* The Amazon Resource Name (ARN) of an IAM role that has * permissions to access the Amazon S3 bucket that contains your * input files. If the role that you specify doesn’t have the * appropriate permissions to access the specified Amazon S3 * location, your request fails. *
*
* IAM role ARNs have the format
* arn:partition:iam::account:role/role-name-with-path
.
* For example: arn:aws:iam::111122223333:role/Admin
.
*
* For more information, see IAM ARNs. *
*/ public String getDataAccessRoleArn() { return dataAccessRoleArn; } /** ** The Amazon Resource Name (ARN) of an IAM role that has permissions to * access the Amazon S3 bucket that contains your input files. If the role * that you specify doesn’t have the appropriate permissions to access the * specified Amazon S3 location, your request fails. *
*
* IAM role ARNs have the format
* arn:partition:iam::account:role/role-name-with-path
. For
* example: arn:aws:iam::111122223333:role/Admin
.
*
* For more information, see IAM ARNs. *
*
* Constraints:
* Length: 20 - 2048
* Pattern:
* ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam::
* [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
*
* @param dataAccessRoleArn
* The Amazon Resource Name (ARN) of an IAM role that has * permissions to access the Amazon S3 bucket that contains your * input files. If the role that you specify doesn’t have the * appropriate permissions to access the specified Amazon S3 * location, your request fails. *
*
* IAM role ARNs have the format
* arn:partition:iam::account:role/role-name-with-path
* . For example:
* arn:aws:iam::111122223333:role/Admin
.
*
* For more information, see IAM ARNs. *
*/ public void setDataAccessRoleArn(String dataAccessRoleArn) { this.dataAccessRoleArn = dataAccessRoleArn; } /** ** The Amazon Resource Name (ARN) of an IAM role that has permissions to * access the Amazon S3 bucket that contains your input files. If the role * that you specify doesn’t have the appropriate permissions to access the * specified Amazon S3 location, your request fails. *
*
* IAM role ARNs have the format
* arn:partition:iam::account:role/role-name-with-path
. For
* example: arn:aws:iam::111122223333:role/Admin
.
*
* For more information, see IAM ARNs. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Length: 20 - 2048
* Pattern:
* ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam::
* [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
*
* @param dataAccessRoleArn
* The Amazon Resource Name (ARN) of an IAM role that has * permissions to access the Amazon S3 bucket that contains your * input files. If the role that you specify doesn’t have the * appropriate permissions to access the specified Amazon S3 * location, your request fails. *
*
* IAM role ARNs have the format
* arn:partition:iam::account:role/role-name-with-path
* . For example:
* arn:aws:iam::111122223333:role/Admin
.
*
* For more information, see IAM ARNs. *
* @return A reference to this updated object so that method calls can be * chained together. */ public StartCallAnalyticsJobRequest withDataAccessRoleArn(String dataAccessRoleArn) { this.dataAccessRoleArn = dataAccessRoleArn; return this; } /** ** Specify additional optional settings in your request, including content * redaction; allows you to apply custom language models, vocabulary * filters, and custom vocabularies to your Call Analytics job. *
* * @return* Specify additional optional settings in your request, including * content redaction; allows you to apply custom language models, * vocabulary filters, and custom vocabularies to your Call * Analytics job. *
*/ public CallAnalyticsJobSettings getSettings() { return settings; } /** ** Specify additional optional settings in your request, including content * redaction; allows you to apply custom language models, vocabulary * filters, and custom vocabularies to your Call Analytics job. *
* * @param settings* Specify additional optional settings in your request, * including content redaction; allows you to apply custom * language models, vocabulary filters, and custom vocabularies * to your Call Analytics job. *
*/ public void setSettings(CallAnalyticsJobSettings settings) { this.settings = settings; } /** ** Specify additional optional settings in your request, including content * redaction; allows you to apply custom language models, vocabulary * filters, and custom vocabularies to your Call Analytics job. *
** Returns a reference to this object so that method calls can be chained * together. * * @param settings
* Specify additional optional settings in your request, * including content redaction; allows you to apply custom * language models, vocabulary filters, and custom vocabularies * to your Call Analytics job. *
* @return A reference to this updated object so that method calls can be * chained together. */ public StartCallAnalyticsJobRequest withSettings(CallAnalyticsJobSettings settings) { this.settings = settings; return this; } /** *
* Makes it possible to specify which speaker is on which channel. For
* example, if your agent is the first participant to speak, you would set
* ChannelId
to 0
(to indicate the first channel)
* and ParticipantRole
to AGENT
(to indicate that
* it's the agent speaking).
*
* Makes it possible to specify which speaker is on which channel.
* For example, if your agent is the first participant to speak, you
* would set ChannelId
to 0
(to indicate
* the first channel) and ParticipantRole
to
* AGENT
(to indicate that it's the agent speaking).
*
* Makes it possible to specify which speaker is on which channel. For
* example, if your agent is the first participant to speak, you would set
* ChannelId
to 0
(to indicate the first channel)
* and ParticipantRole
to AGENT
(to indicate that
* it's the agent speaking).
*
* Makes it possible to specify which speaker is on which
* channel. For example, if your agent is the first participant
* to speak, you would set ChannelId
to
* 0
(to indicate the first channel) and
* ParticipantRole
to AGENT
(to
* indicate that it's the agent speaking).
*
* Makes it possible to specify which speaker is on which channel. For
* example, if your agent is the first participant to speak, you would set
* ChannelId
to 0
(to indicate the first channel)
* and ParticipantRole
to AGENT
(to indicate that
* it's the agent speaking).
*
* Returns a reference to this object so that method calls can be chained * together. * * @param channelDefinitions
* Makes it possible to specify which speaker is on which
* channel. For example, if your agent is the first participant
* to speak, you would set ChannelId
to
* 0
(to indicate the first channel) and
* ParticipantRole
to AGENT
(to
* indicate that it's the agent speaking).
*
* Makes it possible to specify which speaker is on which channel. For
* example, if your agent is the first participant to speak, you would set
* ChannelId
to 0
(to indicate the first channel)
* and ParticipantRole
to AGENT
(to indicate that
* it's the agent speaking).
*
* Returns a reference to this object so that method calls can be chained * together. * * @param channelDefinitions
* Makes it possible to specify which speaker is on which
* channel. For example, if your agent is the first participant
* to speak, you would set ChannelId
to
* 0
(to indicate the first channel) and
* ParticipantRole
to AGENT
(to
* indicate that it's the agent speaking).
*