Interface WorkloadSummary.Builder

    • Method Detail

      • 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

        WorkloadSummary.Builder owner​(String 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

        WorkloadSummary.Builder lenses​(Collection<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.
      • 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:
        WorkloadImprovementStatus, WorkloadImprovementStatus
      • profiles

        WorkloadSummary.Builder profiles​(Collection<WorkloadProfile> 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

        WorkloadSummary.Builder profiles​(WorkloadProfile... 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.
      • 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.