Interface PillarDifference.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PillarDifference.Builder,
,PillarDifference> SdkBuilder<PillarDifference.Builder,
,PillarDifference> SdkPojo
- Enclosing class:
PillarDifference
public static interface PillarDifference.Builder
extends SdkPojo, CopyableBuilder<PillarDifference.Builder,PillarDifference>
-
Method Summary
Modifier and TypeMethodDescriptiondifferenceStatus
(String differenceStatus) Indicates the type of change to the pillar.differenceStatus
(DifferenceStatus differenceStatus) Indicates the type of change to the pillar.Sets the value of the PillarId property for this object.pillarName
(String pillarName) Sets the value of the PillarName property for this object.questionDifferences
(Collection<QuestionDifference> questionDifferences) List of question differences.questionDifferences
(Consumer<QuestionDifference.Builder>... questionDifferences) List of question differences.questionDifferences
(QuestionDifference... questionDifferences) List of question differences.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 Details
-
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.
-
pillarName
Sets the value of the PillarName property for this object.- Parameters:
pillarName
- The new value for the PillarName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
differenceStatus
Indicates the type of change to the pillar.
- Parameters:
differenceStatus
- Indicates the type of change to the pillar.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
differenceStatus
Indicates the type of change to the pillar.
- Parameters:
differenceStatus
- Indicates the type of change to the pillar.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
questionDifferences
List of question differences.
- Parameters:
questionDifferences
- List of question differences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
questionDifferences
List of question differences.
- Parameters:
questionDifferences
- List of question differences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
questionDifferences
PillarDifference.Builder questionDifferences(Consumer<QuestionDifference.Builder>... questionDifferences) List of question differences.
This is a convenience method that creates an instance of theQuestionDifference.Builder
avoiding the need to create one manually viaQuestionDifference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toquestionDifferences(List<QuestionDifference>)
.- Parameters:
questionDifferences
- a consumer that will call methods onQuestionDifference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-