Interface GetQuestionSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetQuestionSetResponse.Builder,,GetQuestionSetResponse> ElementalInferenceResponse.Builder,SdkBuilder<GetQuestionSetResponse.Builder,,GetQuestionSetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetQuestionSetResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the question set.chooseOne(Collection<ChooseOneQuestion> chooseOne) The chooseOne questions in this version.chooseOne(Consumer<ChooseOneQuestion.Builder>... chooseOne) The chooseOne questions in this version.chooseOne(ChooseOneQuestion... chooseOne) The chooseOne questions in this version.description(String description) The description that you specified when you published this version.The ID of the question set.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.The name of the question set at this version.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 this version, as 64 lowercase hexadecimal characters.The tags associated with the question set.The version that this response describes: DRAFT or the number of a published version.yesNo(Collection<YesNoQuestion> yesNo) The yesNo questions in this version.yesNo(Consumer<YesNoQuestion.Builder>... yesNo) The yesNo questions in this version.yesNo(YesNoQuestion... yesNo) The yesNo questions in this version.yesNoPerOption(Collection<YesNoPerOptionQuestion> yesNoPerOption) The yesNoPerOption questions in this version.yesNoPerOption(Consumer<YesNoPerOptionQuestion.Builder>... yesNoPerOption) The yesNoPerOption questions in this version.yesNoPerOption(YesNoPerOptionQuestion... yesNoPerOption) The yesNoPerOption questions in this version.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 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 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 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.
- 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
GetQuestionSetResponse.Builder yesNoPerOption(Consumer<YesNoPerOptionQuestion.Builder>... 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 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 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 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
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 name of the question set at this version. For a published version, this is the name that the question set had when the version was published.
- Parameters:
name- The name of the question set at this version. For a published version, this is the name that the question set had when the version was published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version that this response describes: DRAFT or the number of a published version.
- Parameters:
version- The version that this response describes: DRAFT or the number of a published version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description that you specified when you published this version. Elemental Inference doesn't return this property for DRAFT, or for a version that you published without a description.
- Parameters:
description- The description that you specified when you published this version. Elemental Inference doesn't return this property for DRAFT, or for a version that you published without a 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, 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 this version, as 64 lowercase hexadecimal characters. The hash covers the name of the question set and its questions at this version. For DRAFT, 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 this version, as 64 lowercase hexadecimal characters. The hash covers the name of the question set and its questions at this version. For DRAFT, 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. The list doesn't include feeds that reference other versions.
- Parameters:
references- A list of feed IDs that reference this version of the question set. The list doesn't include feeds that reference other versions.- 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. The list doesn't include feeds that reference other versions.
- Parameters:
references- A list of feed IDs that reference this version of the question set. The list doesn't include feeds that reference other versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the question set.
- Parameters:
tags- The tags associated with the question set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-