Interface LensReviewSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LensReviewSummary.Builder,
,LensReviewSummary> SdkBuilder<LensReviewSummary.Builder,
,LensReviewSummary> SdkPojo
- Enclosing class:
LensReviewSummary
public static interface LensReviewSummary.Builder
extends SdkPojo, CopyableBuilder<LensReviewSummary.Builder,LensReviewSummary>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the LensAlias property for this object.The ARN for the lens.Sets the value of the LensName property for this object.lensStatus
(String lensStatus) The status of the lens.lensStatus
(LensStatus lensStatus) The status of the lens.lensVersion
(String lensVersion) The version of the lens.prioritizedRiskCounts
(Map<Risk, Integer> prioritizedRiskCounts) Sets the value of the PrioritizedRiskCounts property for this object.prioritizedRiskCountsWithStrings
(Map<String, Integer> prioritizedRiskCounts) Sets the value of the PrioritizedRiskCounts property for this object.profiles
(Collection<WorkloadProfile> profiles) The profiles associated with the workload.profiles
(Consumer<WorkloadProfile.Builder>... profiles) The profiles associated with the workload.profiles
(WorkloadProfile... profiles) The profiles associated with the workload.riskCounts
(Map<Risk, Integer> riskCounts) Sets the value of the RiskCounts property for this object.riskCountsWithStrings
(Map<String, Integer> riskCounts) Sets the value of the RiskCounts property for this object.Sets the value of the UpdatedAt 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 Details
-
lensAlias
Sets the value of the LensAlias property for this object.- Parameters:
lensAlias
- The new value for the LensAlias property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lensArn
The ARN for the lens.
- Parameters:
lensArn
- The ARN for the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lensVersion
The version of the lens.
- Parameters:
lensVersion
- The version of the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lensName
Sets the value of the LensName property for this object.- Parameters:
lensName
- The new value for the LensName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lensStatus
The status of the lens.
- Parameters:
lensStatus
- The status of the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lensStatus
The status of the lens.
- Parameters:
lensStatus
- The status of the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
Sets the value of the UpdatedAt property for this object.- Parameters:
updatedAt
- The new value for the UpdatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
riskCountsWithStrings
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
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.
-
profiles
The profiles associated with the workload.
- Parameters:
profiles
- The profiles associated with the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
The profiles associated with the workload.
- Parameters:
profiles
- The profiles associated with the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
The profiles associated with the workload.
This is a convenience method that creates an instance of theWorkloadProfile.Builder
avoiding the need to create one manually viaWorkloadProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprofiles(List<WorkloadProfile>)
.- Parameters:
profiles
- a consumer that will call methods onWorkloadProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
prioritizedRiskCountsWithStrings
LensReviewSummary.Builder prioritizedRiskCountsWithStrings(Map<String, Integer> prioritizedRiskCounts) Sets the value of the PrioritizedRiskCounts property for this object.- Parameters:
prioritizedRiskCounts
- The new value for the PrioritizedRiskCounts property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prioritizedRiskCounts
Sets the value of the PrioritizedRiskCounts property for this object.- Parameters:
prioritizedRiskCounts
- The new value for the PrioritizedRiskCounts property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-