Interface WorkloadSummary.Builder

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

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

    • workloadId

      WorkloadSummary.Builder workloadId(String workloadId)
      Sets the value of the WorkloadId property for this object.
      Parameters:
      workloadId - The new value for the WorkloadId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workloadArn

      WorkloadSummary.Builder workloadArn(String workloadArn)
      Sets the value of the WorkloadArn property for this object.
      Parameters:
      workloadArn - The new value for the WorkloadArn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workloadName

      WorkloadSummary.Builder workloadName(String workloadName)
      Sets the value of the WorkloadName property for this object.
      Parameters:
      workloadName - The new value for the WorkloadName property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • owner

      Sets the value of the Owner property for this object.
      Parameters:
      owner - The new value for the Owner property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      WorkloadSummary.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.
    • lenses

      Sets the value of the Lenses property for this object.
      Parameters:
      lenses - The new value for the Lenses property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lenses

      WorkloadSummary.Builder lenses(String... lenses)
      Sets the value of the Lenses property for this object.
      Parameters:
      lenses - The new value for the Lenses property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • riskCountsWithStrings

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

      WorkloadSummary.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.
    • improvementStatus

      WorkloadSummary.Builder improvementStatus(String improvementStatus)
      Sets the value of the ImprovementStatus property for this object.
      Parameters:
      improvementStatus - The new value for the ImprovementStatus property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • improvementStatus

      WorkloadSummary.Builder improvementStatus(WorkloadImprovementStatus improvementStatus)
      Sets the value of the ImprovementStatus property for this object.
      Parameters:
      improvementStatus - The new value for the ImprovementStatus property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • profiles

      Profile associated with a workload.

      Parameters:
      profiles - Profile associated with a workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profiles

      Profile associated with a workload.

      Parameters:
      profiles - Profile associated with a workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profiles

      Profile associated with a 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

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

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