Interface LensReview.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LensReview.Builder,LensReview>, SdkBuilder<LensReview.Builder,LensReview>, SdkPojo
Enclosing class:
LensReview

public static interface LensReview.Builder extends SdkPojo, CopyableBuilder<LensReview.Builder,LensReview>
  • Method Details

    • lensAlias

      LensReview.Builder lensAlias(String 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

      LensReview.Builder lensArn(String 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

      LensReview.Builder lensVersion(String 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

      LensReview.Builder lensName(String 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

      LensReview.Builder lensStatus(String 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

      LensReview.Builder lensStatus(LensStatus 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

      LensReview.Builder pillarReviewSummaries(Collection<PillarReviewSummary> 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(PillarReviewSummary... 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 the PillarReviewSummary.Builder avoiding the need to create one manually via PillarReviewSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pillarReviewSummaries(List<PillarReviewSummary>).

      Parameters:
      pillarReviewSummaries - a consumer that will call methods on PillarReviewSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedAt

      LensReview.Builder updatedAt(Instant 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

      LensReview.Builder notes(String 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

      LensReview.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

      LensReview.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.
    • nextToken

      LensReview.Builder nextToken(String 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

      LensReview.Builder profiles(WorkloadProfile... 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 the WorkloadProfile.Builder avoiding the need to create one manually via WorkloadProfile.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to profiles(List<WorkloadProfile>).

      Parameters:
      profiles - a consumer that will call methods on WorkloadProfile.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • prioritizedRiskCountsWithStrings

      LensReview.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

      LensReview.Builder prioritizedRiskCounts(Map<Risk,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.