public static interface LensMetric.Builder extends SdkPojo, CopyableBuilder<LensMetric.Builder,LensMetric>
| Modifier and Type | Method and Description |
|---|---|
LensMetric.Builder |
lensArn(String lensArn)
The lens ARN.
|
LensMetric.Builder |
pillars(Collection<PillarMetric> pillars)
The metrics for the pillars in a lens.
|
LensMetric.Builder |
pillars(Consumer<PillarMetric.Builder>... pillars)
The metrics for the pillars in a lens.
|
LensMetric.Builder |
pillars(PillarMetric... pillars)
The metrics for the pillars in a lens.
|
LensMetric.Builder |
riskCounts(Map<Risk,Integer> riskCounts)
Sets the value of the RiskCounts property for this object.
|
LensMetric.Builder |
riskCountsWithStrings(Map<String,Integer> riskCounts)
Sets the value of the RiskCounts property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLensMetric.Builder lensArn(String lensArn)
The lens ARN.
lensArn - The lens ARN.LensMetric.Builder pillars(Collection<PillarMetric> pillars)
The metrics for the pillars in a lens.
pillars - The metrics for the pillars in a lens.LensMetric.Builder pillars(PillarMetric... pillars)
The metrics for the pillars in a lens.
pillars - The metrics for the pillars in a lens.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.Builder avoiding the need to
create one manually via PillarMetric.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #pillars(List.
pillars - a consumer that will call methods on
PillarMetric.Builder#pillars(java.util.Collection) LensMetric.Builder riskCountsWithStrings(Map<String,Integer> riskCounts)
riskCounts - The new value for the RiskCounts property for this object.LensMetric.Builder riskCounts(Map<Risk,Integer> riskCounts)
riskCounts - The new value for the RiskCounts property for this object.Copyright © 2023. All rights reserved.