public static interface Choice.Builder extends SdkPojo, CopyableBuilder<Choice.Builder,Choice>
| Modifier and Type | Method and Description |
|---|---|
Choice.Builder |
additionalResources(AdditionalResources... additionalResources)
The additional resources for a choice.
|
Choice.Builder |
additionalResources(Collection<AdditionalResources> additionalResources)
The additional resources for a choice.
|
Choice.Builder |
additionalResources(Consumer<AdditionalResources.Builder>... additionalResources)
The additional resources for a choice.
|
Choice.Builder |
choiceId(String choiceId)
Sets the value of the ChoiceId property for this object.
|
Choice.Builder |
description(String description)
Sets the value of the Description property for this object.
|
Choice.Builder |
helpfulResource(ChoiceContent helpfulResource)
The choice level helpful resource.
|
default Choice.Builder |
helpfulResource(Consumer<ChoiceContent.Builder> helpfulResource)
The choice level helpful resource.
|
Choice.Builder |
improvementPlan(ChoiceContent improvementPlan)
The choice level improvement plan.
|
default Choice.Builder |
improvementPlan(Consumer<ChoiceContent.Builder> improvementPlan)
The choice level improvement plan.
|
Choice.Builder |
title(String title)
Sets the value of the Title property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildChoice.Builder choiceId(String choiceId)
choiceId - The new value for the ChoiceId property for this object.Choice.Builder title(String title)
title - The new value for the Title property for this object.Choice.Builder description(String description)
description - The new value for the Description property for this object.Choice.Builder helpfulResource(ChoiceContent helpfulResource)
The choice level helpful resource.
helpfulResource - The choice level helpful resource.default Choice.Builder helpfulResource(Consumer<ChoiceContent.Builder> helpfulResource)
The choice level helpful resource.
This is a convenience method that creates an instance of theChoiceContent.Builder avoiding the need
to create one manually via ChoiceContent.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to helpfulResource(ChoiceContent).
helpfulResource - a consumer that will call methods on ChoiceContent.BuilderhelpfulResource(ChoiceContent)Choice.Builder improvementPlan(ChoiceContent improvementPlan)
The choice level improvement plan.
improvementPlan - The choice level improvement plan.default Choice.Builder improvementPlan(Consumer<ChoiceContent.Builder> improvementPlan)
The choice level improvement plan.
This is a convenience method that creates an instance of theChoiceContent.Builder avoiding the need
to create one manually via ChoiceContent.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to improvementPlan(ChoiceContent).
improvementPlan - a consumer that will call methods on ChoiceContent.BuilderimprovementPlan(ChoiceContent)Choice.Builder additionalResources(Collection<AdditionalResources> additionalResources)
The additional resources for a choice. A choice can have up to two additional resources: one of type
HELPFUL_RESOURCE, one of type IMPROVEMENT_PLAN, or both.
additionalResources - The additional resources for a choice. A choice can have up to two additional resources: one of type
HELPFUL_RESOURCE, one of type IMPROVEMENT_PLAN, or both.Choice.Builder additionalResources(AdditionalResources... additionalResources)
The additional resources for a choice. A choice can have up to two additional resources: one of type
HELPFUL_RESOURCE, one of type IMPROVEMENT_PLAN, or both.
additionalResources - The additional resources for a choice. A choice can have up to two additional resources: one of type
HELPFUL_RESOURCE, one of type IMPROVEMENT_PLAN, or both.Choice.Builder additionalResources(Consumer<AdditionalResources.Builder>... additionalResources)
The additional resources for a choice. A choice can have up to two additional resources: one of type
HELPFUL_RESOURCE, one of type IMPROVEMENT_PLAN, or both.
AdditionalResources.Builder avoiding the need
to create one manually via
AdditionalResources.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #additionalResources(List.
additionalResources - a consumer that will call methods on
AdditionalResources.Builder#additionalResources(java.util.Collection) Copyright © 2022. All rights reserved.