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 Details

    • lensAlias

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

      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

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

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

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

      LensReviewSummary.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:
    • updatedAt

      LensReviewSummary.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.
    • riskCountsWithStrings

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

      LensReviewSummary.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.
    • 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 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

      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

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