Class GetTerminologyRequest

    • Method Detail

      • name

        public final String name()

        The name of the custom terminology being retrieved.

        Returns:
        The name of the custom terminology being retrieved.
      • terminologyDataFormat

        public final TerminologyDataFormat terminologyDataFormat()

        The data format of the custom terminology being retrieved.

        If you don't specify this parameter, Amazon Translate returns a file with the same format as the file that was imported to create the terminology.

        If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as the input file that was imported to create it. Otherwise, Amazon Translate throws an error.

        If the service returns an enum value that is not available in the current SDK version, terminologyDataFormat will return TerminologyDataFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from terminologyDataFormatAsString().

        Returns:
        The data format of the custom terminology being retrieved.

        If you don't specify this parameter, Amazon Translate returns a file with the same format as the file that was imported to create the terminology.

        If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as the input file that was imported to create it. Otherwise, Amazon Translate throws an error.

        See Also:
        TerminologyDataFormat
      • terminologyDataFormatAsString

        public final String terminologyDataFormatAsString()

        The data format of the custom terminology being retrieved.

        If you don't specify this parameter, Amazon Translate returns a file with the same format as the file that was imported to create the terminology.

        If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as the input file that was imported to create it. Otherwise, Amazon Translate throws an error.

        If the service returns an enum value that is not available in the current SDK version, terminologyDataFormat will return TerminologyDataFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from terminologyDataFormatAsString().

        Returns:
        The data format of the custom terminology being retrieved.

        If you don't specify this parameter, Amazon Translate returns a file with the same format as the file that was imported to create the terminology.

        If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as the input file that was imported to create it. Otherwise, Amazon Translate throws an error.

        See Also:
        TerminologyDataFormat
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object