Interface CreateQuestionSetResponse.Builder

  • Method Details

    • yesNo

      The yesNo questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any yesNo questions.

      Parameters:
      yesNo - The yesNo questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any yesNo questions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNo

      The yesNo questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any yesNo questions.

      Parameters:
      yesNo - The yesNo questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any yesNo questions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNo

      The yesNo questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any 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 that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any yesNoPerOption questions.

      Parameters:
      yesNoPerOption - The yesNoPerOption questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any yesNoPerOption questions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNoPerOption

      CreateQuestionSetResponse.Builder yesNoPerOption(YesNoPerOptionQuestion... yesNoPerOption)

      The yesNoPerOption questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any yesNoPerOption questions.

      Parameters:
      yesNoPerOption - The yesNoPerOption questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any yesNoPerOption questions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNoPerOption

      The yesNoPerOption questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any 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 that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any chooseOne questions.

      Parameters:
      chooseOne - The chooseOne questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any chooseOne questions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chooseOne

      The chooseOne questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any chooseOne questions.

      Parameters:
      chooseOne - The chooseOne questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any chooseOne questions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chooseOne

      The chooseOne questions that you specified in the request, in the order that you specified them. Elemental Inference doesn't return this property if the request didn't include any 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

      A unique ID that Elemental Inference assigns to the question set.

      Parameters:
      id - A unique ID that Elemental Inference assigns to the question set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name that you specified in the request.

      Parameters:
      name - The name that you specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

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

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

      CreateQuestionSetResponse.Builder description(String description)

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

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

      CreateQuestionSetResponse.Builder latestVersion(String latestVersion)

      The number of the highest version that you have published for this question set. Elemental Inference doesn't return this property for CreateQuestionSet, because a new question set has no published versions.

      Parameters:
      latestVersion - The number of the highest version that you have published for this question set. Elemental Inference doesn't return this property for CreateQuestionSet, because a new question set has no published versions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sha256

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

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

      A list of feed IDs that reference this version of the question set. For a new question set, the list is empty.

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

      CreateQuestionSetResponse.Builder references(String... references)

      A list of feed IDs that reference this version of the question set. For a new question set, the list is empty.

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

      Any tags that you included when you created the question set.

      Parameters:
      tags - Any tags that you included when you created the question set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.