Interface MedicalScribeJob.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MedicalScribeJob.Builder,MedicalScribeJob>, SdkBuilder<MedicalScribeJob.Builder,MedicalScribeJob>, SdkPojo
Enclosing class:
MedicalScribeJob

public static interface MedicalScribeJob.Builder extends SdkPojo, CopyableBuilder<MedicalScribeJob.Builder,MedicalScribeJob>
  • Method Details

    • medicalScribeJobName

      MedicalScribeJob.Builder medicalScribeJobName(String 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

      MedicalScribeJob.Builder medicalScribeJobStatus(String 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 in MedicalScribeOutput If the status is FAILED, 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 in MedicalScribeOutput If the status is FAILED, 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

      MedicalScribeJob.Builder medicalScribeJobStatus(MedicalScribeJobStatus 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 in MedicalScribeOutput If the status is FAILED, 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 in MedicalScribeOutput If the status is FAILED, 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

      MedicalScribeJob.Builder languageCode(String 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 the Media.Builder avoiding the need to create one manually via Media.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to media(Media).

      Parameters:
      media - a consumer that will call methods on Media.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • medicalScribeOutput

      MedicalScribeJob.Builder medicalScribeOutput(MedicalScribeOutput medicalScribeOutput)

      The location of the output of your Medical Scribe job. ClinicalDocumentUri holds the Amazon S3 URI for the Clinical Document and TranscriptFileUri 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 and TranscriptFileUri 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. ClinicalDocumentUri holds the Amazon S3 URI for the Clinical Document and TranscriptFileUri holds the Amazon S3 URI for the Transcript.

      This is a convenience method that creates an instance of the MedicalScribeOutput.Builder avoiding the need to create one manually via MedicalScribeOutput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to medicalScribeOutput(MedicalScribeOutput).

      Parameters:
      medicalScribeOutput - a consumer that will call methods on MedicalScribeOutput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startTime

      MedicalScribeJob.Builder startTime(Instant 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

      MedicalScribeJob.Builder creationTime(Instant 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

      MedicalScribeJob.Builder completionTime(Instant 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

      MedicalScribeJob.Builder failureReason(String failureReason)

      If MedicalScribeJobStatus is FAILED, FailureReason contains information about why the transcription job failed. See also: Common Errors.

      Parameters:
      failureReason - If MedicalScribeJobStatus is FAILED, 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. Specify ChannelIdentification if ChannelDefinitions are set. Enabled ShowSpeakerLabels if ChannelIdentification and ChannelDefinitions are not set. One and only one of ChannelIdentification and ShowSpeakerLabels must be set. If ShowSpeakerLabels is set, MaxSpeakerLabels must also be set. Use Settings to specify a vocabulary or vocabulary filter or both using VocabularyName, VocabularyFilterName. VocabularyFilterMethod must be specified if VocabularyFilterName is set.

      Parameters:
      settings - Makes it possible to control how your Medical Scribe job is processed using a MedicalScribeSettings object. Specify ChannelIdentification if ChannelDefinitions are set. Enabled ShowSpeakerLabels if ChannelIdentification and ChannelDefinitions are not set. One and only one of ChannelIdentification and ShowSpeakerLabels must be set. If ShowSpeakerLabels is set, MaxSpeakerLabels must also be set. Use Settings to specify a vocabulary or vocabulary filter or both using VocabularyName, VocabularyFilterName. VocabularyFilterMethod must be specified if VocabularyFilterName 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 MedicalScribeSettings object. Specify ChannelIdentification if ChannelDefinitions are set. Enabled ShowSpeakerLabels if ChannelIdentification and ChannelDefinitions are not set. One and only one of ChannelIdentification and ShowSpeakerLabels must be set. If ShowSpeakerLabels is set, MaxSpeakerLabels must also be set. Use Settings to specify a vocabulary or vocabulary filter or both using VocabularyName, VocabularyFilterName. VocabularyFilterMethod must be specified if VocabularyFilterName is set.

      This is a convenience method that creates an instance of the MedicalScribeSettings.Builder avoiding the need to create one manually via MedicalScribeSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to settings(MedicalScribeSettings).

      Parameters:
      settings - a consumer that will call methods on MedicalScribeSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataAccessRoleArn

      MedicalScribeJob.Builder 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. 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 first ChannelDefinition in the list to 0 (to indicate the first channel) and ParticipantRole to CLINICIAN (to indicate that it's the clinician speaking). Then you would set the ChannelId of the second ChannelDefinition in the list to 1 (to indicate the second channel) and ParticipantRole to PATIENT (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 set ChannelId of the first ChannelDefinition in the list to 0 (to indicate the first channel) and ParticipantRole to CLINICIAN (to indicate that it's the clinician speaking). Then you would set the ChannelId of the second ChannelDefinition in the list to 1 (to indicate the second channel) and ParticipantRole to PATIENT (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(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 first ChannelDefinition in the list to 0 (to indicate the first channel) and ParticipantRole to CLINICIAN (to indicate that it's the clinician speaking). Then you would set the ChannelId of the second ChannelDefinition in the list to 1 (to indicate the second channel) and ParticipantRole to PATIENT (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 set ChannelId of the first ChannelDefinition in the list to 0 (to indicate the first channel) and ParticipantRole to CLINICIAN (to indicate that it's the clinician speaking). Then you would set the ChannelId of the second ChannelDefinition in the list to 1 (to indicate the second channel) and ParticipantRole to PATIENT (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 ChannelId of the first ChannelDefinition in the list to 0 (to indicate the first channel) and ParticipantRole to CLINICIAN (to indicate that it's the clinician speaking). Then you would set the ChannelId of the second ChannelDefinition in the list to 1 (to indicate the second channel) and ParticipantRole to PATIENT (to indicate that it's the patient speaking).

      This is a convenience method that creates an instance of the MedicalScribeChannelDefinition.Builder avoiding the need to create one manually via MedicalScribeChannelDefinition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to channelDefinitions(List<MedicalScribeChannelDefinition>).

      Parameters:
      channelDefinitions - a consumer that will call methods on MedicalScribeChannelDefinition.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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: