Interface PillarMetric.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PillarMetric.Builder,PillarMetric>,SdkBuilder<PillarMetric.Builder,PillarMetric>,SdkPojo
- Enclosing class:
- PillarMetric
public static interface PillarMetric.Builder extends SdkPojo, CopyableBuilder<PillarMetric.Builder,PillarMetric>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PillarMetric.BuilderpillarId(String pillarId)Sets the value of the PillarId property for this object.PillarMetric.Builderquestions(Collection<QuestionMetric> questions)The questions that have been identified as risks in the pillar.PillarMetric.Builderquestions(Consumer<QuestionMetric.Builder>... questions)The questions that have been identified as risks in the pillar.PillarMetric.Builderquestions(QuestionMetric... questions)The questions that have been identified as risks in the pillar.PillarMetric.BuilderriskCounts(Map<Risk,Integer> riskCounts)Sets the value of the RiskCounts property for this object.PillarMetric.BuilderriskCountsWithStrings(Map<String,Integer> riskCounts)Sets the value of the RiskCounts 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
-
pillarId
PillarMetric.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.
-
riskCountsWithStrings
PillarMetric.Builder riskCountsWithStrings(Map<String,Integer> riskCounts)
Sets the value of the RiskCounts property for this object.- Parameters:
riskCounts- The new value for the RiskCounts property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
riskCounts
PillarMetric.Builder riskCounts(Map<Risk,Integer> riskCounts)
Sets the value of the RiskCounts property for this object.- Parameters:
riskCounts- The new value for the RiskCounts property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
questions
PillarMetric.Builder questions(Collection<QuestionMetric> questions)
The questions that have been identified as risks in the pillar.
- Parameters:
questions- The questions that have been identified as risks in the pillar.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
questions
PillarMetric.Builder questions(QuestionMetric... questions)
The questions that have been identified as risks in the pillar.
- Parameters:
questions- The questions that have been identified as risks in the pillar.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
questions
PillarMetric.Builder questions(Consumer<QuestionMetric.Builder>... questions)
The questions that have been identified as risks in the pillar.
This is a convenience method that creates an instance of theQuestionMetric.Builderavoiding the need to create one manually viaQuestionMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#questions(List.) - Parameters:
questions- a consumer that will call methods onQuestionMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#questions(java.util.Collection)
-
-