Interface VocabularyEntityInfo.Builder

  • Method Details

    • entityId

      Sets the value of the EntityId property for this object.
      Parameters:
      entityId - The new value for the EntityId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      VocabularyEntityInfo.Builder description(String description)
      Sets the value of the Description property for this object.
      Parameters:
      description - The new value for the Description property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • language

      Sets the value of the Language property for this object.
      Parameters:
      language - The new value for the Language property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • language

      Sets the value of the Language property for this object.
      Parameters:
      language - The new value for the Language property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • phrases

      Sets the value of the Phrases property for this object.
      Parameters:
      phrases - The new value for the Phrases property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • phrases

      VocabularyEntityInfo.Builder phrases(Phrase... phrases)
      Sets the value of the Phrases property for this object.
      Parameters:
      phrases - The new value for the Phrases property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • phrases

      Sets the value of the Phrases property for this object. This is a convenience method that creates an instance of the Phrase.Builder avoiding the need to create one manually via Phrase.builder().

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

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