Interface LensReview.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LensReview.Builder,
,LensReview> SdkBuilder<LensReview.Builder,
,LensReview> SdkPojo
- Enclosing class:
LensReview
-
Method Summary
Modifier and TypeMethodDescriptiondefault LensReview.Builder
jiraConfiguration
(Consumer<JiraSelectedQuestionConfiguration.Builder> jiraConfiguration) Jira configuration status of the Lens review.jiraConfiguration
(JiraSelectedQuestionConfiguration jiraConfiguration) Jira configuration status of the Lens review.Sets 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.Sets the value of the NextToken property for this object.Sets the value of the Notes property for this object.pillarReviewSummaries
(Collection<PillarReviewSummary> pillarReviewSummaries) Sets the value of the PillarReviewSummaries property for this object.pillarReviewSummaries
(Consumer<PillarReviewSummary.Builder>... pillarReviewSummaries) Sets the value of the PillarReviewSummaries property for this object.pillarReviewSummaries
(PillarReviewSummary... pillarReviewSummaries) Sets the value of the PillarReviewSummaries property for this object.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:
-
pillarReviewSummaries
Sets the value of the PillarReviewSummaries property for this object.- Parameters:
pillarReviewSummaries
- The new value for the PillarReviewSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillarReviewSummaries
Sets the value of the PillarReviewSummaries property for this object.- Parameters:
pillarReviewSummaries
- The new value for the PillarReviewSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillarReviewSummaries
LensReview.Builder pillarReviewSummaries(Consumer<PillarReviewSummary.Builder>... pillarReviewSummaries) Sets the value of the PillarReviewSummaries property for this object. This is a convenience method that creates an instance of thePillarReviewSummary.Builder
avoiding the need to create one manually viaPillarReviewSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topillarReviewSummaries(List<PillarReviewSummary>)
.- Parameters:
pillarReviewSummaries
- a consumer that will call methods onPillarReviewSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jiraConfiguration
Jira configuration status of the Lens review.
- Parameters:
jiraConfiguration
- Jira configuration status of the Lens review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jiraConfiguration
default LensReview.Builder jiraConfiguration(Consumer<JiraSelectedQuestionConfiguration.Builder> jiraConfiguration) Jira configuration status of the Lens review.
This is a convenience method that creates an instance of theJiraSelectedQuestionConfiguration.Builder
avoiding the need to create one manually viaJiraSelectedQuestionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojiraConfiguration(JiraSelectedQuestionConfiguration)
.- Parameters:
jiraConfiguration
- a consumer that will call methods onJiraSelectedQuestionConfiguration.Builder
- 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.
-
notes
Sets the value of the Notes property for this object.- Parameters:
notes
- The new value for the Notes 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.
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken 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
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.
-