Interface VocabularyEntity.Builder

  • Method Details

    • entityId

      VocabularyEntity.Builder entityId(String 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

      VocabularyEntity.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

      VocabularyEntity.Builder language(String 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

      VocabularyEntity.Builder language(Language 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

      VocabularyEntity.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:
    • lastModifiedTime

      VocabularyEntity.Builder lastModifiedTime(Instant lastModifiedTime)
      Sets the value of the LastModifiedTime property for this object.
      Parameters:
      lastModifiedTime - The new value for the LastModifiedTime property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.