Interface StartMedicalScribeJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartMedicalScribeJobRequest.Builder,,StartMedicalScribeJobRequest> SdkBuilder<StartMedicalScribeJobRequest.Builder,,StartMedicalScribeJobRequest> SdkPojo,SdkRequest.Builder,TranscribeRequest.Builder
- Enclosing class:
StartMedicalScribeJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionchannelDefinitions(Collection<MedicalScribeChannelDefinition> channelDefinitions) Makes it possible to specify which speaker is on which channel.channelDefinitions(Consumer<MedicalScribeChannelDefinition.Builder>... channelDefinitions) Makes it possible to specify which speaker is on which channel.channelDefinitions(MedicalScribeChannelDefinition... channelDefinitions) Makes it possible to specify which speaker is on which channel.dataAccessRoleArn(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, write to the output bucket, and use your KMS key if supplied.kmsEncryptionContext(Map<String, String> kmsEncryptionContext) A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data.media(Consumer<Media.Builder> media) Sets the value of the Media property for this object.Sets the value of the Media property for this object.medicalScribeJobName(String medicalScribeJobName) A unique name, chosen by you, for your Medical Scribe job.outputBucketName(String outputBucketName) The name of the Amazon S3 bucket where you want your Medical Scribe output stored.outputEncryptionKMSKeyId(String outputEncryptionKMSKeyId) The KMS key you want to use to encrypt your Medical Scribe output.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.settings(Consumer<MedicalScribeSettings.Builder> settings) Makes it possible to control how your Medical Scribe job is processed using aMedicalScribeSettingsobject.settings(MedicalScribeSettings settings) Makes it possible to control how your Medical Scribe job is processed using aMedicalScribeSettingsobject.tags(Collection<Tag> tags) Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.tags(Consumer<Tag.Builder>... tags) Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.transcribe.model.TranscribeRequest.Builder
build
-
Method Details
-
medicalScribeJobName
A unique name, chosen by you, for your Medical Scribe 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
ConflictExceptionerror.- Parameters:
medicalScribeJobName- A unique name, chosen by you, for your Medical Scribe 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
ConflictExceptionerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
media
Sets the value of the Media property for this object.- Parameters:
media- The new value for the Media property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
media
Sets the value of the Media property for this object. This is a convenience method that creates an instance of theMedia.Builderavoiding the need to create one manually viaMedia.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomedia(Media).- Parameters:
media- a consumer that will call methods onMedia.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputBucketName
The name of the Amazon S3 bucket where you want your Medical Scribe output stored. Do not include the
S3://prefix of the specified bucket.Note that the role specified in the
DataAccessRoleArnrequest parameter must have permission to use the specified location. You can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles.- Parameters:
outputBucketName- The name of the Amazon S3 bucket where you want your Medical Scribe output stored. Do not include theS3://prefix of the specified bucket.Note that the role specified in the
DataAccessRoleArnrequest parameter must have permission to use the specified location. You can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputEncryptionKMSKeyId
The KMS key you want to use to encrypt your Medical Scribe 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 do not specify an encryption key, your output is encrypted with the default Amazon S3 key (SSE-S3).
Note that the role specified in the
DataAccessRoleArnrequest parameter must have permission to use the specified KMS key.- Parameters:
outputEncryptionKMSKeyId- The KMS key you want to use to encrypt your Medical Scribe 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 do not specify an encryption key, your output is encrypted with the default Amazon S3 key (SSE-S3).
Note that the role specified in the
DataAccessRoleArnrequest parameter must have permission to use the specified KMS key.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
kmsEncryptionContext
A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS.
- Parameters:
kmsEncryptionContext- A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataAccessRoleArn
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files, write to the output bucket, and use your KMS key if supplied. If the role that you specify doesn’t have the appropriate permissions 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.
- Parameters:
dataAccessRoleArn- The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files, write to the output bucket, and use your KMS key if supplied. If the role that you specify doesn’t have the appropriate permissions 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:
- Returns a reference to this object so that method calls can be chained together.
-
settings
Makes it possible to control how your Medical Scribe job is processed using a
MedicalScribeSettingsobject. SpecifyChannelIdentificationifChannelDefinitionsare set. EnabledShowSpeakerLabelsifChannelIdentificationandChannelDefinitionsare not set. One and only one ofChannelIdentificationandShowSpeakerLabelsmust be set. IfShowSpeakerLabelsis set,MaxSpeakerLabelsmust also be set. UseSettingsto specify a vocabulary or vocabulary filter or both usingVocabularyName,VocabularyFilterName.VocabularyFilterMethodmust be specified ifVocabularyFilterNameis set.- Parameters:
settings- Makes it possible to control how your Medical Scribe job is processed using aMedicalScribeSettingsobject. SpecifyChannelIdentificationifChannelDefinitionsare set. EnabledShowSpeakerLabelsifChannelIdentificationandChannelDefinitionsare not set. One and only one ofChannelIdentificationandShowSpeakerLabelsmust be set. IfShowSpeakerLabelsis set,MaxSpeakerLabelsmust also be set. UseSettingsto specify a vocabulary or vocabulary filter or both usingVocabularyName,VocabularyFilterName.VocabularyFilterMethodmust be specified ifVocabularyFilterNameis set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
default StartMedicalScribeJobRequest.Builder settings(Consumer<MedicalScribeSettings.Builder> settings) Makes it possible to control how your Medical Scribe job is processed using a
This is a convenience method that creates an instance of theMedicalScribeSettingsobject. SpecifyChannelIdentificationifChannelDefinitionsare set. EnabledShowSpeakerLabelsifChannelIdentificationandChannelDefinitionsare not set. One and only one ofChannelIdentificationandShowSpeakerLabelsmust be set. IfShowSpeakerLabelsis set,MaxSpeakerLabelsmust also be set. UseSettingsto specify a vocabulary or vocabulary filter or both usingVocabularyName,VocabularyFilterName.VocabularyFilterMethodmust be specified ifVocabularyFilterNameis set.MedicalScribeSettings.Builderavoiding the need to create one manually viaMedicalScribeSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosettings(MedicalScribeSettings).- Parameters:
settings- a consumer that will call methods onMedicalScribeSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channelDefinitions
StartMedicalScribeJobRequest.Builder channelDefinitions(Collection<MedicalScribeChannelDefinition> channelDefinitions) Makes it possible to specify which speaker is on which channel. For example, if the clinician is the first participant to speak, you would set
ChannelIdof the firstChannelDefinitionin the list to0(to indicate the first channel) andParticipantRoletoCLINICIAN(to indicate that it's the clinician speaking). Then you would set theChannelIdof the secondChannelDefinitionin the list to1(to indicate the second channel) andParticipantRoletoPATIENT(to indicate that it's the patient speaking).- Parameters:
channelDefinitions- Makes it possible to specify which speaker is on which channel. For example, if the clinician is the first participant to speak, you would setChannelIdof the firstChannelDefinitionin the list to0(to indicate the first channel) andParticipantRoletoCLINICIAN(to indicate that it's the clinician speaking). Then you would set theChannelIdof the secondChannelDefinitionin the list to1(to indicate the second channel) andParticipantRoletoPATIENT(to indicate that it's the patient speaking).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelDefinitions
StartMedicalScribeJobRequest.Builder channelDefinitions(MedicalScribeChannelDefinition... channelDefinitions) Makes it possible to specify which speaker is on which channel. For example, if the clinician is the first participant to speak, you would set
ChannelIdof the firstChannelDefinitionin the list to0(to indicate the first channel) andParticipantRoletoCLINICIAN(to indicate that it's the clinician speaking). Then you would set theChannelIdof the secondChannelDefinitionin the list to1(to indicate the second channel) andParticipantRoletoPATIENT(to indicate that it's the patient speaking).- Parameters:
channelDefinitions- Makes it possible to specify which speaker is on which channel. For example, if the clinician is the first participant to speak, you would setChannelIdof the firstChannelDefinitionin the list to0(to indicate the first channel) andParticipantRoletoCLINICIAN(to indicate that it's the clinician speaking). Then you would set theChannelIdof the secondChannelDefinitionin the list to1(to indicate the second channel) andParticipantRoletoPATIENT(to indicate that it's the patient speaking).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelDefinitions
StartMedicalScribeJobRequest.Builder channelDefinitions(Consumer<MedicalScribeChannelDefinition.Builder>... channelDefinitions) Makes it possible to specify which speaker is on which channel. For example, if the clinician is the first participant to speak, you would set
This is a convenience method that creates an instance of theChannelIdof the firstChannelDefinitionin the list to0(to indicate the first channel) andParticipantRoletoCLINICIAN(to indicate that it's the clinician speaking). Then you would set theChannelIdof the secondChannelDefinitionin the list to1(to indicate the second channel) andParticipantRoletoPATIENT(to indicate that it's the patient speaking).MedicalScribeChannelDefinition.Builderavoiding the need to create one manually viaMedicalScribeChannelDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelDefinitions(List<MedicalScribeChannelDefinition>).- Parameters:
channelDefinitions- a consumer that will call methods onMedicalScribeChannelDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
- Parameters:
tags- Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
- Parameters:
tags- Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartMedicalScribeJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartMedicalScribeJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-