Interface UpdateQuestionSetResponse.Builder

  • Method Details

    • yesNo

      The yesNo questions in this version. Elemental Inference doesn't return this property if the version has no yesNo questions.

      Parameters:
      yesNo - The yesNo questions in this version. Elemental Inference doesn't return this property if the version has no yesNo questions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNo

      The yesNo questions in this version. Elemental Inference doesn't return this property if the version has no yesNo questions.

      Parameters:
      yesNo - The yesNo questions in this version. Elemental Inference doesn't return this property if the version has no yesNo questions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNo

      The yesNo questions in this version. Elemental Inference doesn't return this property if the version has no yesNo questions.

      This is a convenience method that creates an instance of the YesNoQuestion.Builder avoiding the need to create one manually via YesNoQuestion.builder().

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

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

      The yesNoPerOption questions in this version. Elemental Inference doesn't return this property if the version has no yesNoPerOption questions.

      Parameters:
      yesNoPerOption - The yesNoPerOption questions in this version. Elemental Inference doesn't return this property if the version has no yesNoPerOption questions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNoPerOption

      UpdateQuestionSetResponse.Builder yesNoPerOption(YesNoPerOptionQuestion... yesNoPerOption)

      The yesNoPerOption questions in this version. Elemental Inference doesn't return this property if the version has no yesNoPerOption questions.

      Parameters:
      yesNoPerOption - The yesNoPerOption questions in this version. Elemental Inference doesn't return this property if the version has no yesNoPerOption questions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNoPerOption

      The yesNoPerOption questions in this version. Elemental Inference doesn't return this property if the version has no yesNoPerOption questions.

      This is a convenience method that creates an instance of the YesNoPerOptionQuestion.Builder avoiding the need to create one manually via YesNoPerOptionQuestion.builder().

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

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

      The chooseOne questions in this version. Elemental Inference doesn't return this property if the version has no chooseOne questions.

      Parameters:
      chooseOne - The chooseOne questions in this version. Elemental Inference doesn't return this property if the version has no chooseOne questions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chooseOne

      The chooseOne questions in this version. Elemental Inference doesn't return this property if the version has no chooseOne questions.

      Parameters:
      chooseOne - The chooseOne questions in this version. Elemental Inference doesn't return this property if the version has no chooseOne questions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chooseOne

      The chooseOne questions in this version. Elemental Inference doesn't return this property if the version has no chooseOne questions.

      This is a convenience method that creates an instance of the ChooseOneQuestion.Builder avoiding the need to create one manually via ChooseOneQuestion.builder().

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

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

      The ARN of the question set.

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

      The ID of the question set.

      Parameters:
      id - The ID of the question set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The updated or original name of the question set.

      Parameters:
      name - The updated or original name of the question set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The version that this response describes. For UpdateQuestionSet, the version is always DRAFT.

      Parameters:
      version - The version that this response describes. For UpdateQuestionSet, the version is always DRAFT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      UpdateQuestionSetResponse.Builder description(String description)

      The description of the version. Elemental Inference doesn't return this property for UpdateQuestionSet, because the DRAFT version has no description.

      Parameters:
      description - The description of the version. Elemental Inference doesn't return this property for UpdateQuestionSet, because the DRAFT version has no description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestVersion

      UpdateQuestionSetResponse.Builder latestVersion(String latestVersion)

      The number of the highest version that you have published for this question set, even if you have since deleted that version. Elemental Inference doesn't return this property if you haven't published a version.

      Parameters:
      latestVersion - The number of the highest version that you have published for this question set, even if you have since deleted that version. Elemental Inference doesn't return this property if you haven't published a version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sha256

      The SHA-256 hash of the DRAFT version after the update, as 64 lowercase hexadecimal characters. The hash covers the name of the question set and its questions, so it changes when you rename the question set. You can specify this value in a CreateQuestionSetVersion request, so that Elemental Inference publishes DRAFT only if it hasn't changed since this update.

      Parameters:
      sha256 - The SHA-256 hash of the DRAFT version after the update, as 64 lowercase hexadecimal characters. The hash covers the name of the question set and its questions, so it changes when you rename the question set. You can specify this value in a CreateQuestionSetVersion request, so that Elemental Inference publishes DRAFT only if it hasn't changed since this update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • references

      A list of feed IDs that reference the DRAFT version of the question set.

      Parameters:
      references - A list of feed IDs that reference the DRAFT version of the question set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • references

      UpdateQuestionSetResponse.Builder references(String... references)

      A list of feed IDs that reference the DRAFT version of the question set.

      Parameters:
      references - A list of feed IDs that reference the DRAFT version of the question set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Any tags associated with the question set.

      Parameters:
      tags - Any tags associated with the question set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.