Interface UpdateQuestionSetRequest.Builder

  • Method Details

    • id

      The ID of the question set to update.

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

      An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT. You can specify up to 50 yesNo questions. If not specified, the yesNo questions are not changed. To remove all the yesNo questions, specify an empty array.

      Parameters:
      yesNo - An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT. You can specify up to 50 yesNo questions. If not specified, the yesNo questions are not changed. To remove all the yesNo questions, specify an empty array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNo

      An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT. You can specify up to 50 yesNo questions. If not specified, the yesNo questions are not changed. To remove all the yesNo questions, specify an empty array.

      Parameters:
      yesNo - An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT. You can specify up to 50 yesNo questions. If not specified, the yesNo questions are not changed. To remove all the yesNo questions, specify an empty array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNo

      An array of questions that Elemental Inference answers with yes or no, to replace all the yesNo questions in DRAFT. You can specify up to 50 yesNo questions. If not specified, the yesNo questions are not changed. To remove all the yesNo questions, specify an empty array.

      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

      An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT. You can specify up to 10 yesNoPerOption questions. If not specified, the yesNoPerOption questions are not changed. To remove all the yesNoPerOption questions, specify an empty array.

      Parameters:
      yesNoPerOption - An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT. You can specify up to 10 yesNoPerOption questions. If not specified, the yesNoPerOption questions are not changed. To remove all the yesNoPerOption questions, specify an empty array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNoPerOption

      UpdateQuestionSetRequest.Builder yesNoPerOption(YesNoPerOptionQuestion... yesNoPerOption)

      An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT. You can specify up to 10 yesNoPerOption questions. If not specified, the yesNoPerOption questions are not changed. To remove all the yesNoPerOption questions, specify an empty array.

      Parameters:
      yesNoPerOption - An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT. You can specify up to 10 yesNoPerOption questions. If not specified, the yesNoPerOption questions are not changed. To remove all the yesNoPerOption questions, specify an empty array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNoPerOption

      An array of questions that you ask about each of their options, to replace all the yesNoPerOption questions in DRAFT. You can specify up to 10 yesNoPerOption questions. If not specified, the yesNoPerOption questions are not changed. To remove all the yesNoPerOption questions, specify an empty array.

      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

      An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT. You can specify up to 10 chooseOne questions. If not specified, the chooseOne questions are not changed. To remove all the chooseOne questions, specify an empty array.

      Parameters:
      chooseOne - An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT. You can specify up to 10 chooseOne questions. If not specified, the chooseOne questions are not changed. To remove all the chooseOne questions, specify an empty array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chooseOne

      An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT. You can specify up to 10 chooseOne questions. If not specified, the chooseOne questions are not changed. To remove all the chooseOne questions, specify an empty array.

      Parameters:
      chooseOne - An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT. You can specify up to 10 chooseOne questions. If not specified, the chooseOne questions are not changed. To remove all the chooseOne questions, specify an empty array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • chooseOne

      An array of questions that Elemental Inference answers by choosing one of their options, to replace all the chooseOne questions in DRAFT. You can specify up to 10 chooseOne questions. If not specified, the chooseOne questions are not changed. To remove all the chooseOne questions, specify an empty array.

      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:
    • name

      A new name for the question set. If not specified, the name is not changed.

      Parameters:
      name - A new name for the question set. If not specified, the name is not changed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateQuestionSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.