Interface TerminologyProperties.Builder

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

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

    • name

      The name of the custom terminology.

      Parameters:
      name - The name of the custom terminology.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      TerminologyProperties.Builder description(String description)

      The description of the custom terminology properties.

      Parameters:
      description - The description of the custom terminology properties.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the custom terminology.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the custom terminology.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceLanguageCode

      TerminologyProperties.Builder sourceLanguageCode(String sourceLanguageCode)

      The language code for the source text of the translation request for which the custom terminology is being used.

      Parameters:
      sourceLanguageCode - The language code for the source text of the translation request for which the custom terminology is being used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetLanguageCodes

      TerminologyProperties.Builder targetLanguageCodes(Collection<String> targetLanguageCodes)

      The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.

      Parameters:
      targetLanguageCodes - The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetLanguageCodes

      TerminologyProperties.Builder targetLanguageCodes(String... targetLanguageCodes)

      The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.

      Parameters:
      targetLanguageCodes - The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionKey

      TerminologyProperties.Builder encryptionKey(EncryptionKey encryptionKey)

      The encryption key for the custom terminology.

      Parameters:
      encryptionKey - The encryption key for the custom terminology.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionKey

      default TerminologyProperties.Builder encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)

      The encryption key for the custom terminology.

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

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

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

      TerminologyProperties.Builder sizeBytes(Integer sizeBytes)

      The size of the file used when importing a custom terminology.

      Parameters:
      sizeBytes - The size of the file used when importing a custom terminology.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • termCount

      TerminologyProperties.Builder termCount(Integer termCount)

      The number of terms included in the custom terminology.

      Parameters:
      termCount - The number of terms included in the custom terminology.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      TerminologyProperties.Builder createdAt(Instant createdAt)

      The time at which the custom terminology was created, based on the timestamp.

      Parameters:
      createdAt - The time at which the custom terminology was created, based on the timestamp.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      TerminologyProperties.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The time at which the custom terminology was last update, based on the timestamp.

      Parameters:
      lastUpdatedAt - The time at which the custom terminology was last update, based on the timestamp.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • directionality

      TerminologyProperties.Builder directionality(String directionality)

      The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).

      UNI

      The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.

      MULTI

      Any language in the terminology resource can be the source language.

      Parameters:
      directionality - The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).

      UNI

      The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.

      MULTI

      Any language in the terminology resource can be the source language.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • directionality

      TerminologyProperties.Builder directionality(Directionality directionality)

      The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).

      UNI

      The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.

      MULTI

      Any language in the terminology resource can be the source language.

      Parameters:
      directionality - The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).

      UNI

      The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.

      MULTI

      Any language in the terminology resource can be the source language.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      Additional information from Amazon Translate about the terminology resource.

      Parameters:
      message - Additional information from Amazon Translate about the terminology resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • skippedTermCount

      TerminologyProperties.Builder skippedTermCount(Integer skippedTermCount)

      The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.

      Parameters:
      skippedTermCount - The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • format

      The format of the custom terminology input file.

      Parameters:
      format - The format of the custom terminology input file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      The format of the custom terminology input file.

      Parameters:
      format - The format of the custom terminology input file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: