Interface LensMetric.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LensMetric.Builder,LensMetric>,SdkBuilder<LensMetric.Builder,LensMetric>,SdkPojo
- Enclosing class:
- LensMetric
public static interface LensMetric.Builder extends SdkPojo, CopyableBuilder<LensMetric.Builder,LensMetric>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LensMetric.BuilderlensArn(String lensArn)The lens ARN.LensMetric.Builderpillars(Collection<PillarMetric> pillars)The metrics for the pillars in a lens.LensMetric.Builderpillars(Consumer<PillarMetric.Builder>... pillars)The metrics for the pillars in a lens.LensMetric.Builderpillars(PillarMetric... pillars)The metrics for the pillars in a lens.LensMetric.BuilderriskCounts(Map<Risk,Integer> riskCounts)Sets the value of the RiskCounts property for this object.LensMetric.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
-
lensArn
LensMetric.Builder lensArn(String lensArn)
The lens ARN.
- Parameters:
lensArn- The lens ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillars
LensMetric.Builder pillars(Collection<PillarMetric> pillars)
The metrics for the pillars in a lens.
- Parameters:
pillars- The metrics for the pillars in a lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillars
LensMetric.Builder pillars(PillarMetric... pillars)
The metrics for the pillars in a lens.
- Parameters:
pillars- The metrics for the pillars in a lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillars
LensMetric.Builder pillars(Consumer<PillarMetric.Builder>... pillars)
The metrics for the pillars in a lens.
This is a convenience method that creates an instance of thePillarMetric.Builderavoiding the need to create one manually viaPillarMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#pillars(List.) - Parameters:
pillars- a consumer that will call methods onPillarMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#pillars(java.util.Collection)
-
riskCountsWithStrings
LensMetric.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
LensMetric.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.
-
-