Class PostCallAnalyticsSettings
- java.lang.Object
-
- software.amazon.awssdk.services.transcribestreaming.model.PostCallAnalyticsSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PostCallAnalyticsSettings.Builder,PostCallAnalyticsSettings>
@Generated("software.amazon.awssdk:codegen") public final class PostCallAnalyticsSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PostCallAnalyticsSettings.Builder,PostCallAnalyticsSettings>
Allows you to specify additional settings for your Call Analytics post-call request, including output locations for your redacted transcript, which IAM role to use, and which encryption key to use.
DataAccessRoleArnandOutputLocationare required fields.PostCallAnalyticsSettingsprovides you with the same insights as a Call Analytics post-call transcription. Refer to Post-call analytics for more information on this feature.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePostCallAnalyticsSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PostCallAnalyticsSettings.Builderbuilder()ContentRedactionOutputcontentRedactionOutput()Specify whether you want only a redacted transcript or both a redacted and an unredacted transcript.StringcontentRedactionOutputAsString()Specify whether you want only a redacted transcript or both a redacted and an unredacted transcript.StringdataAccessRoleArn()The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringoutputEncryptionKMSKeyId()The KMS key you want to use to encrypt your Call Analytics post-call output.StringoutputLocation()The Amazon S3 location where you want your Call Analytics post-call transcription output stored.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PostCallAnalyticsSettings.Builder>serializableBuilderClass()PostCallAnalyticsSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
outputLocation
public final String outputLocation()
The Amazon S3 location where you want your Call Analytics post-call 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
- Returns:
- The Amazon S3 location where you want your Call Analytics post-call 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
-
-
-
dataAccessRoleArn
public final String 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:
- 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.
-
contentRedactionOutput
public final ContentRedactionOutput contentRedactionOutput()
Specify whether you want only a redacted transcript or both a redacted and an unredacted transcript. If you choose redacted and unredacted, two JSON files are generated and stored in the Amazon S3 output location you specify.
Note that to include
ContentRedactionOutputin your request, you must enable content redaction (ContentRedactionType).If the service returns an enum value that is not available in the current SDK version,
contentRedactionOutputwill returnContentRedactionOutput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentRedactionOutputAsString().- Returns:
- Specify whether you want only a redacted transcript or both a redacted and an unredacted transcript. If
you choose redacted and unredacted, two JSON files are generated and stored in the Amazon S3 output
location you specify.
Note that to include
ContentRedactionOutputin your request, you must enable content redaction (ContentRedactionType). - See Also:
ContentRedactionOutput
-
contentRedactionOutputAsString
public final String contentRedactionOutputAsString()
Specify whether you want only a redacted transcript or both a redacted and an unredacted transcript. If you choose redacted and unredacted, two JSON files are generated and stored in the Amazon S3 output location you specify.
Note that to include
ContentRedactionOutputin your request, you must enable content redaction (ContentRedactionType).If the service returns an enum value that is not available in the current SDK version,
contentRedactionOutputwill returnContentRedactionOutput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentRedactionOutputAsString().- Returns:
- Specify whether you want only a redacted transcript or both a redacted and an unredacted transcript. If
you choose redacted and unredacted, two JSON files are generated and stored in the Amazon S3 output
location you specify.
Note that to include
ContentRedactionOutputin your request, you must enable content redaction (ContentRedactionType). - See Also:
ContentRedactionOutput
-
outputEncryptionKMSKeyId
public final String outputEncryptionKMSKeyId()
The KMS key you want to use to encrypt your Call Analytics post-call 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.
Note that the role making the request must have permission to use the specified KMS key.
- Returns:
- The KMS key you want to use to encrypt your Call Analytics post-call 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.
Note that the role making the request must have permission to use the specified KMS key.
-
-
-
toBuilder
public PostCallAnalyticsSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PostCallAnalyticsSettings.Builder,PostCallAnalyticsSettings>
-
builder
public static PostCallAnalyticsSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends PostCallAnalyticsSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-