Interface CreateQuestionSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateQuestionSetResponse.Builder,,CreateQuestionSetResponse> ElementalInferenceResponse.Builder,SdkBuilder<CreateQuestionSetResponse.Builder,,CreateQuestionSetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateQuestionSetResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the question set.chooseOne(Collection<ChooseOneQuestion> chooseOne) The chooseOne questions that you specified in the request, in the order that you specified them.chooseOne(Consumer<ChooseOneQuestion.Builder>... chooseOne) The chooseOne questions that you specified in the request, in the order that you specified them.chooseOne(ChooseOneQuestion... chooseOne) The chooseOne questions that you specified in the request, in the order that you specified them.description(String description) The description of the version.A unique ID that Elemental Inference assigns to the question set.latestVersion(String latestVersion) The number of the highest version that you have published for this question set.The name that you specified in the request.references(String... references) A list of feed IDs that reference this version of the question set.references(Collection<String> references) A list of feed IDs that reference this version of the question set.The SHA-256 hash of the DRAFT version, as 64 lowercase hexadecimal characters.Any tags that you included when you created the question set.The version that this response describes.yesNo(Collection<YesNoQuestion> yesNo) The yesNo questions that you specified in the request, in the order that you specified them.yesNo(Consumer<YesNoQuestion.Builder>... yesNo) The yesNo questions that you specified in the request, in the order that you specified them.yesNo(YesNoQuestion... yesNo) The yesNo questions that you specified in the request, in the order that you specified them.yesNoPerOption(Collection<YesNoPerOptionQuestion> yesNoPerOption) The yesNoPerOption questions that you specified in the request, in the order that you specified them.yesNoPerOption(Consumer<YesNoPerOptionQuestion.Builder>... yesNoPerOption) The yesNoPerOption questions that you specified in the request, in the order that you specified them.yesNoPerOption(YesNoPerOptionQuestion... yesNoPerOption) The yesNoPerOption questions that you specified in the request, in the order that you specified them.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elementalinference.model.ElementalInferenceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 theYesNoQuestion.Builderavoiding the need to create one manually viaYesNoQuestion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toyesNo(List<YesNoQuestion>).- Parameters:
yesNo- a consumer that will call methods onYesNoQuestion.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
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(Consumer<YesNoPerOptionQuestion.Builder>... 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 theYesNoPerOptionQuestion.Builderavoiding the need to create one manually viaYesNoPerOptionQuestion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toyesNoPerOption(List<YesNoPerOptionQuestion>).- Parameters:
yesNoPerOption- a consumer that will call methods onYesNoPerOptionQuestion.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 theChooseOneQuestion.Builderavoiding the need to create one manually viaChooseOneQuestion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochooseOne(List<ChooseOneQuestion>).- Parameters:
chooseOne- a consumer that will call methods onChooseOneQuestion.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
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
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
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.
-