Interface Vocabulary.Builder

    • Method Detail

      • name

        Vocabulary.Builder name​(String name)

        A unique name of the custom vocabulary.

        Parameters:
        name - A unique name of the custom vocabulary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        Vocabulary.Builder id​(String id)

        The identifier of the custom vocabulary.

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

        Vocabulary.Builder arn​(String arn)

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

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

        Vocabulary.Builder state​(String state)

        The current state of the custom vocabulary.

        Parameters:
        state - The current state of the custom vocabulary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VocabularyState, VocabularyState
      • lastModifiedTime

        Vocabulary.Builder lastModifiedTime​(Instant lastModifiedTime)

        The timestamp when the custom vocabulary was last modified.

        Parameters:
        lastModifiedTime - The timestamp when the custom vocabulary was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReason

        Vocabulary.Builder failureReason​(String failureReason)

        The reason why the custom vocabulary was not created.

        Parameters:
        failureReason - The reason why the custom vocabulary was not created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • content

        Vocabulary.Builder content​(String content)

        The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase, IPA, SoundsLike, and DisplayAs fields. Separate the fields with TAB characters. For more information, see Create a custom vocabulary using a table.

        Parameters:
        content - The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase, IPA, SoundsLike, and DisplayAs fields. Separate the fields with TAB characters. For more information, see Create a custom vocabulary using a table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Vocabulary.Builder tags​(Map<String,​String> tags)

        The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

        Parameters:
        tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
        Returns:
        Returns a reference to this object so that method calls can be chained together.