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) IfMedicalScribeJobStatus
isFAILED
,FailureReason
contains 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.Builder
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) 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.Builder
medicalScribeOutput
(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.Builder
settings
(Consumer<MedicalScribeSettings.Builder> settings) Makes it possible to control how your Medical Scribe job is processed using aMedicalScribeSettings
object.settings
(MedicalScribeSettings settings) Makes it possible to control how your Medical Scribe job is processed using aMedicalScribeSettings
object.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 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.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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 inMedicalScribeOutput
If the status isFAILED
,FailureReason
provides 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 inMedicalScribeOutput
If the status isFAILED
,FailureReason
provides 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 inMedicalScribeOutput
If the status isFAILED
,FailureReason
provides 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 inMedicalScribeOutput
If the status isFAILED
,FailureReason
provides 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.Builder
avoiding the need to create one manually viaMedia.builder()
.When the
Consumer
completes,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.
ClinicalDocumentUri
holds the Amazon S3 URI for the Clinical Document andTranscriptFileUri
holds the Amazon S3 URI for the Transcript.- Parameters:
medicalScribeOutput
- The location of the output of your Medical Scribe job.ClinicalDocumentUri
holds the Amazon S3 URI for the Clinical Document andTranscriptFileUri
holds 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 theClinicalDocumentUri
holds the Amazon S3 URI for the Clinical Document andTranscriptFileUri
holds the Amazon S3 URI for the Transcript.MedicalScribeOutput.Builder
avoiding the need to create one manually viaMedicalScribeOutput.builder()
.When the
Consumer
completes,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:00
represents 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:00
represents 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:00
represents 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:00
represents 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:00
represents 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:00
represents 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
MedicalScribeJobStatus
isFAILED
,FailureReason
contains information about why the transcription job failed. See also: Common Errors.- Parameters:
failureReason
- IfMedicalScribeJobStatus
isFAILED
,FailureReason
contains 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
MedicalScribeSettings
object. SpecifyChannelIdentification
ifChannelDefinitions
are set. EnabledShowSpeakerLabels
ifChannelIdentification
andChannelDefinitions
are not set. One and only one ofChannelIdentification
andShowSpeakerLabels
must be set. IfShowSpeakerLabels
is set,MaxSpeakerLabels
must also be set. UseSettings
to specify a vocabulary or vocabulary filter or both usingVocabularyName
,VocabularyFilterName
.VocabularyFilterMethod
must be specified ifVocabularyFilterName
is set.- Parameters:
settings
- Makes it possible to control how your Medical Scribe job is processed using aMedicalScribeSettings
object. SpecifyChannelIdentification
ifChannelDefinitions
are set. EnabledShowSpeakerLabels
ifChannelIdentification
andChannelDefinitions
are not set. One and only one ofChannelIdentification
andShowSpeakerLabels
must be set. IfShowSpeakerLabels
is set,MaxSpeakerLabels
must also be set. UseSettings
to specify a vocabulary or vocabulary filter or both usingVocabularyName
,VocabularyFilterName
.VocabularyFilterMethod
must be specified ifVocabularyFilterName
is 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 theMedicalScribeSettings
object. SpecifyChannelIdentification
ifChannelDefinitions
are set. EnabledShowSpeakerLabels
ifChannelIdentification
andChannelDefinitions
are not set. One and only one ofChannelIdentification
andShowSpeakerLabels
must be set. IfShowSpeakerLabels
is set,MaxSpeakerLabels
must also be set. UseSettings
to specify a vocabulary or vocabulary filter or both usingVocabularyName
,VocabularyFilterName
.VocabularyFilterMethod
must be specified ifVocabularyFilterName
is set.MedicalScribeSettings.Builder
avoiding the need to create one manually viaMedicalScribeSettings.builder()
.When the
Consumer
completes,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
ChannelId
of the firstChannelDefinition
in the list to0
(to indicate the first channel) andParticipantRole
toCLINICIAN
(to indicate that it's the clinician speaking). Then you would set theChannelId
of the secondChannelDefinition
in the list to1
(to indicate the second channel) andParticipantRole
toPATIENT
(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 setChannelId
of the firstChannelDefinition
in the list to0
(to indicate the first channel) andParticipantRole
toCLINICIAN
(to indicate that it's the clinician speaking). Then you would set theChannelId
of the secondChannelDefinition
in the list to1
(to indicate the second channel) andParticipantRole
toPATIENT
(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
ChannelId
of the firstChannelDefinition
in the list to0
(to indicate the first channel) andParticipantRole
toCLINICIAN
(to indicate that it's the clinician speaking). Then you would set theChannelId
of the secondChannelDefinition
in the list to1
(to indicate the second channel) andParticipantRole
toPATIENT
(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 setChannelId
of the firstChannelDefinition
in the list to0
(to indicate the first channel) andParticipantRole
toCLINICIAN
(to indicate that it's the clinician speaking). Then you would set theChannelId
of the secondChannelDefinition
in the list to1
(to indicate the second channel) andParticipantRole
toPATIENT
(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 theChannelId
of the firstChannelDefinition
in the list to0
(to indicate the first channel) andParticipantRole
toCLINICIAN
(to indicate that it's the clinician speaking). Then you would set theChannelId
of the secondChannelDefinition
in the list to1
(to indicate the second channel) andParticipantRole
toPATIENT
(to indicate that it's the patient speaking).MedicalScribeChannelDefinition.Builder
avoiding the need to create one manually viaMedicalScribeChannelDefinition.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
-