Interface MedicalScribeJob.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MedicalScribeJob.Builder,,MedicalScribeJob> SdkBuilder<MedicalScribeJob.Builder,,MedicalScribeJob> SdkPojo
- Enclosing class:
MedicalScribeJob
-
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.completionTime(Instant completionTime) The date and time the specified Medical Scribe job finished processing.creationTime(Instant creationTime) The date and time the specified Medical Scribe job request was made.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.failureReason(String failureReason) IfMedicalScribeJobStatusisFAILED,FailureReasoncontains information about why the transcription job failed.languageCode(String languageCode) The language code used to create your Medical Scribe job.languageCode(MedicalScribeLanguageCode languageCode) The language code used to create your Medical Scribe job.default MedicalScribeJob.Buildermedia(Consumer<Media.Builder> media) Sets the value of the Media property for this object.Sets the value of the Media property for this object.medicalScribeContextProvided(Boolean medicalScribeContextProvided) Indicates whether theMedicalScribeContextobject was provided when the Medical Scribe job was started.medicalScribeJobName(String medicalScribeJobName) The name of the Medical Scribe job.medicalScribeJobStatus(String medicalScribeJobStatus) Provides the status of the specified Medical Scribe job.medicalScribeJobStatus(MedicalScribeJobStatus medicalScribeJobStatus) Provides the status of the specified Medical Scribe job.default MedicalScribeJob.BuildermedicalScribeOutput(Consumer<MedicalScribeOutput.Builder> medicalScribeOutput) The location of the output of your Medical Scribe job.medicalScribeOutput(MedicalScribeOutput medicalScribeOutput) The location of the output of your Medical Scribe job.default MedicalScribeJob.Buildersettings(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.The date and time your Medical Scribe job began processing.tags(Collection<Tag> tags) Adds one or more custom tags, each in the form of a key:value pair, to the Medical Scribe job.tags(Consumer<Tag.Builder>... tags) Adds one or more custom tags, each in the form of a key:value pair, to the Medical Scribe job.Adds one or more custom tags, each in the form of a key:value pair, to the Medical Scribe job.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
medicalScribeJobName
The name of the Medical Scribe job. Job names are case sensitive and must be unique within an Amazon Web Services account.
- Parameters:
medicalScribeJobName- The name of the Medical Scribe job. Job names are case sensitive and must be unique within an Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
medicalScribeJobStatus
Provides the status of the specified Medical Scribe job.
If the status is
COMPLETED, the job is finished and you can find the results at the location specified inMedicalScribeOutputIf the status isFAILED,FailureReasonprovides details on why your Medical Scribe job failed.- Parameters:
medicalScribeJobStatus- Provides the status of the specified Medical Scribe job.If the status is
COMPLETED, the job is finished and you can find the results at the location specified inMedicalScribeOutputIf the status isFAILED,FailureReasonprovides details on why your Medical Scribe job failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
medicalScribeJobStatus
Provides the status of the specified Medical Scribe job.
If the status is
COMPLETED, the job is finished and you can find the results at the location specified inMedicalScribeOutputIf the status isFAILED,FailureReasonprovides details on why your Medical Scribe job failed.- Parameters:
medicalScribeJobStatus- Provides the status of the specified Medical Scribe job.If the status is
COMPLETED, the job is finished and you can find the results at the location specified inMedicalScribeOutputIf the status isFAILED,FailureReasonprovides details on why your Medical Scribe job failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
The language code used to create your Medical Scribe job. US English (
en-US) is the only supported language for Medical Scribe jobs.- Parameters:
languageCode- The language code used to create your Medical Scribe job. US English (en-US) is the only supported language for Medical Scribe jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
The language code used to create your Medical Scribe job. US English (
en-US) is the only supported language for Medical Scribe jobs.- Parameters:
languageCode- The language code used to create your Medical Scribe job. US English (en-US) is the only supported language for Medical Scribe jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
-
medicalScribeOutput
The location of the output of your Medical Scribe job.
ClinicalDocumentUriholds the Amazon S3 URI for the Clinical Document andTranscriptFileUriholds the Amazon S3 URI for the Transcript.- Parameters:
medicalScribeOutput- The location of the output of your Medical Scribe job.ClinicalDocumentUriholds the Amazon S3 URI for the Clinical Document andTranscriptFileUriholds the Amazon S3 URI for the Transcript.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
medicalScribeOutput
default MedicalScribeJob.Builder medicalScribeOutput(Consumer<MedicalScribeOutput.Builder> medicalScribeOutput) The location of the output of your Medical Scribe job.
This is a convenience method that creates an instance of theClinicalDocumentUriholds the Amazon S3 URI for the Clinical Document andTranscriptFileUriholds the Amazon S3 URI for the Transcript.MedicalScribeOutput.Builderavoiding the need to create one manually viaMedicalScribeOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomedicalScribeOutput(MedicalScribeOutput).- Parameters:
medicalScribeOutput- a consumer that will call methods onMedicalScribeOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The date and time your Medical Scribe job began processing.
Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:32:58.789000-07:00represents a Medical Scribe job that started processing at 12:32 PM UTC-7 on May 4, 2022.- Parameters:
startTime- The date and time your Medical Scribe job began processing.Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:32:58.789000-07:00represents a Medical Scribe job that started processing at 12:32 PM UTC-7 on May 4, 2022.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date and time the specified Medical Scribe job request was made.
Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:32:58.761000-07:00represents a Medical Scribe job that started processing at 12:32 PM UTC-7 on May 4, 2022.- Parameters:
creationTime- The date and time the specified Medical Scribe job request was made.Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:32:58.761000-07:00represents a Medical Scribe job that started processing at 12:32 PM UTC-7 on May 4, 2022.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completionTime
The date and time the specified Medical Scribe job finished processing.
Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:32:58.761000-07:00represents a Medical Scribe job that finished processing at 12:32 PM UTC-7 on May 4, 2022.- Parameters:
completionTime- The date and time the specified Medical Scribe job finished processing.Timestamps are in the format
YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example,2022-05-04T12:32:58.761000-07:00represents a Medical Scribe job that finished processing at 12:32 PM UTC-7 on May 4, 2022.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
If
MedicalScribeJobStatusisFAILED,FailureReasoncontains information about why the transcription job failed. See also: Common Errors.- Parameters:
failureReason- IfMedicalScribeJobStatusisFAILED,FailureReasoncontains information about why the transcription job failed. See also: Common Errors.- 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
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:
-
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.
-
channelDefinitions
MedicalScribeJob.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
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
MedicalScribeJob.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:
-
medicalScribeContextProvided
Indicates whether the
MedicalScribeContextobject was provided when the Medical Scribe job was started.- Parameters:
medicalScribeContextProvided- Indicates whether theMedicalScribeContextobject was provided when the Medical Scribe job was started.- 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 Medical 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 Medical 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 Medical 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 Medical 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 Medical 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:
-