Interface CreateQuestionSetRequest.Builder

  • Method Details

    • yesNo

      An array of questions that Elemental Inference answers with yes or no. You can specify up to 50 yesNo questions. An empty array is the same as omitting this property.

      Parameters:
      yesNo - An array of questions that Elemental Inference answers with yes or no. You can specify up to 50 yesNo questions. An empty array is the same as omitting this property.
      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. You can specify up to 50 yesNo questions. An empty array is the same as omitting this property.

      Parameters:
      yesNo - An array of questions that Elemental Inference answers with yes or no. You can specify up to 50 yesNo questions. An empty array is the same as omitting this property.
      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. You can specify up to 50 yesNo questions. An empty array is the same as omitting this property.

      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. Elemental Inference answers yes or no for each option. You can specify up to 10 yesNoPerOption questions. An empty array is the same as omitting this property.

      Parameters:
      yesNoPerOption - An array of questions that you ask about each of their options. Elemental Inference answers yes or no for each option. You can specify up to 10 yesNoPerOption questions. An empty array is the same as omitting this property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yesNoPerOption

      CreateQuestionSetRequest.Builder yesNoPerOption(YesNoPerOptionQuestion... yesNoPerOption)

      An array of questions that you ask about each of their options. Elemental Inference answers yes or no for each option. You can specify up to 10 yesNoPerOption questions. An empty array is the same as omitting this property.

      Parameters:
      yesNoPerOption - An array of questions that you ask about each of their options. Elemental Inference answers yes or no for each option. You can specify up to 10 yesNoPerOption questions. An empty array is the same as omitting this property.
      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. Elemental Inference answers yes or no for each option. You can specify up to 10 yesNoPerOption questions. An empty array is the same as omitting this property.

      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. You can specify up to 10 chooseOne questions. An empty array is the same as omitting this property.

      Parameters:
      chooseOne - An array of questions that Elemental Inference answers by choosing one of their options. You can specify up to 10 chooseOne questions. An empty array is the same as omitting this property.
      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. You can specify up to 10 chooseOne questions. An empty array is the same as omitting this property.

      Parameters:
      chooseOne - An array of questions that Elemental Inference answers by choosing one of their options. You can specify up to 10 chooseOne questions. An empty array is the same as omitting this property.
      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. You can specify up to 10 chooseOne questions. An empty array is the same as omitting this property.

      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 user-friendly name for this question set.

      Parameters:
      name - A user-friendly name for this question set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Optional tags to associate with the question set. You can also add tags later, using TagResource.

      Parameters:
      tags - Optional tags to associate with the question set. You can also add tags later, using TagResource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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