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 in a custom lens.
|
Choice.Builder |
additionalResources(Collection<AdditionalResources> additionalResources)
The additional resources for a choice in a custom lens.
|
Choice.Builder |
additionalResources(Consumer<AdditionalResources.Builder>... additionalResources)
The additional resources for a choice in a custom lens.
|
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 helpful resource (both text and URL) for a particular choice.
|
default Choice.Builder |
helpfulResource(Consumer<ChoiceContent.Builder> helpfulResource)
The helpful resource (both text and URL) for a particular choice.
|
Choice.Builder |
improvementPlan(ChoiceContent improvementPlan)
The improvement plan (both text and URL) for a particular choice.
|
default Choice.Builder |
improvementPlan(Consumer<ChoiceContent.Builder> improvementPlan)
The improvement plan (both text and URL) for a particular choice.
|
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 helpful resource (both text and URL) for a particular choice.
This field only applies to custom lenses. Each choice can have only one helpful resource.
helpfulResource - The helpful resource (both text and URL) for a particular choice.
This field only applies to custom lenses. Each choice can have only one helpful resource.
default Choice.Builder helpfulResource(Consumer<ChoiceContent.Builder> helpfulResource)
The helpful resource (both text and URL) for a particular choice.
This field only applies to custom lenses. Each choice can have only one 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 improvement plan (both text and URL) for a particular choice.
This field only applies to custom lenses. Each choice can have only one improvement plan.
improvementPlan - The improvement plan (both text and URL) for a particular choice.
This field only applies to custom lenses. Each choice can have only one improvement plan.
default Choice.Builder improvementPlan(Consumer<ChoiceContent.Builder> improvementPlan)
The improvement plan (both text and URL) for a particular choice.
This field only applies to custom lenses. Each choice can have only one 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 in a custom lens.
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 in a custom lens.
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 in a custom lens.
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 in a custom lens.
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 in a custom lens.
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 © 2023. All rights reserved.