Interface ImprovementSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ImprovementSummary.Builder,ImprovementSummary>,SdkBuilder<ImprovementSummary.Builder,ImprovementSummary>,SdkPojo
- Enclosing class:
- ImprovementSummary
public static interface ImprovementSummary.Builder extends SdkPojo, CopyableBuilder<ImprovementSummary.Builder,ImprovementSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImprovementSummary.BuilderimprovementPlans(Collection<ChoiceImprovementPlan> improvementPlans)The improvement plan details.ImprovementSummary.BuilderimprovementPlans(Consumer<ChoiceImprovementPlan.Builder>... improvementPlans)The improvement plan details.ImprovementSummary.BuilderimprovementPlans(ChoiceImprovementPlan... improvementPlans)The improvement plan details.ImprovementSummary.BuilderimprovementPlanUrl(String improvementPlanUrl)Sets the value of the ImprovementPlanUrl property for this object.ImprovementSummary.BuilderpillarId(String pillarId)Sets the value of the PillarId property for this object.ImprovementSummary.BuilderquestionId(String questionId)Sets the value of the QuestionId property for this object.ImprovementSummary.BuilderquestionTitle(String questionTitle)Sets the value of the QuestionTitle property for this object.ImprovementSummary.Builderrisk(String risk)Sets the value of the Risk property for this object.ImprovementSummary.Builderrisk(Risk risk)Sets the value of the Risk property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
questionId
ImprovementSummary.Builder questionId(String questionId)
Sets the value of the QuestionId property for this object.- Parameters:
questionId- The new value for the QuestionId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillarId
ImprovementSummary.Builder pillarId(String pillarId)
Sets the value of the PillarId property for this object.- Parameters:
pillarId- The new value for the PillarId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
questionTitle
ImprovementSummary.Builder questionTitle(String questionTitle)
Sets the value of the QuestionTitle property for this object.- Parameters:
questionTitle- The new value for the QuestionTitle property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
risk
ImprovementSummary.Builder risk(String risk)
Sets the value of the Risk property for this object.
-
risk
ImprovementSummary.Builder risk(Risk risk)
Sets the value of the Risk property for this object.
-
improvementPlanUrl
ImprovementSummary.Builder improvementPlanUrl(String improvementPlanUrl)
Sets the value of the ImprovementPlanUrl property for this object.- Parameters:
improvementPlanUrl- The new value for the ImprovementPlanUrl property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
improvementPlans
ImprovementSummary.Builder improvementPlans(Collection<ChoiceImprovementPlan> improvementPlans)
The improvement plan details.
- Parameters:
improvementPlans- The improvement plan details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
improvementPlans
ImprovementSummary.Builder improvementPlans(ChoiceImprovementPlan... improvementPlans)
The improvement plan details.
- Parameters:
improvementPlans- The improvement plan details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
improvementPlans
ImprovementSummary.Builder improvementPlans(Consumer<ChoiceImprovementPlan.Builder>... improvementPlans)
The improvement plan details.
This is a convenience method that creates an instance of theChoiceImprovementPlan.Builderavoiding the need to create one manually viaChoiceImprovementPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#improvementPlans(List.) - Parameters:
improvementPlans- a consumer that will call methods onChoiceImprovementPlan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#improvementPlans(java.util.Collection)
-
-