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 Summary
Modifier and TypeMethodDescriptionimprovementStatus
(String improvementStatus) Sets the value of the ImprovementStatus property for this object.improvementStatus
(WorkloadImprovementStatus improvementStatus) Sets the value of the ImprovementStatus property for this object.Sets the value of the Lenses property for this object.lenses
(Collection<String> lenses) Sets the value of the Lenses property for this object.Sets the value of the Owner 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) Profile associated with a workload.profiles
(Consumer<WorkloadProfile.Builder>... profiles) Profile associated with a workload.profiles
(WorkloadProfile... profiles) Profile associated with a 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.workloadArn
(String workloadArn) Sets the value of the WorkloadArn property for this object.workloadId
(String workloadId) Sets the value of the WorkloadId property for this object.workloadName
(String workloadName) Sets the value of the WorkloadName 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
-
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
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
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
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
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
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.
-
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
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 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.
-