Interface TerminologyProperties.Builder

    • Method Detail

      • name

        TerminologyProperties.Builder name​(String 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

        TerminologyProperties.Builder arn​(String 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.
      • 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, Directionality
      • 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:
        Directionality, Directionality
      • message

        TerminologyProperties.Builder message​(String 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.