public static interface WorkloadSummary.Builder extends SdkPojo, CopyableBuilder<WorkloadSummary.Builder,WorkloadSummary>
| Modifier and Type | Method and Description |
|---|---|
WorkloadSummary.Builder |
improvementStatus(String improvementStatus)
Sets the value of the ImprovementStatus property for this object.
|
WorkloadSummary.Builder |
improvementStatus(WorkloadImprovementStatus improvementStatus)
Sets the value of the ImprovementStatus property for this object.
|
WorkloadSummary.Builder |
lenses(Collection<String> lenses)
Sets the value of the Lenses property for this object.
|
WorkloadSummary.Builder |
lenses(String... lenses)
Sets the value of the Lenses property for this object.
|
WorkloadSummary.Builder |
owner(String owner)
Sets the value of the Owner property for this object.
|
WorkloadSummary.Builder |
prioritizedRiskCounts(Map<Risk,Integer> prioritizedRiskCounts)
Sets the value of the PrioritizedRiskCounts property for this object.
|
WorkloadSummary.Builder |
prioritizedRiskCountsWithStrings(Map<String,Integer> prioritizedRiskCounts)
Sets the value of the PrioritizedRiskCounts property for this object.
|
WorkloadSummary.Builder |
profiles(Collection<WorkloadProfile> profiles)
Profile associated with a workload.
|
WorkloadSummary.Builder |
profiles(Consumer<WorkloadProfile.Builder>... profiles)
Profile associated with a workload.
|
WorkloadSummary.Builder |
profiles(WorkloadProfile... profiles)
Profile associated with a workload.
|
WorkloadSummary.Builder |
riskCounts(Map<Risk,Integer> riskCounts)
Sets the value of the RiskCounts property for this object.
|
WorkloadSummary.Builder |
riskCountsWithStrings(Map<String,Integer> riskCounts)
Sets the value of the RiskCounts property for this object.
|
WorkloadSummary.Builder |
updatedAt(Instant updatedAt)
Sets the value of the UpdatedAt property for this object.
|
WorkloadSummary.Builder |
workloadArn(String workloadArn)
Sets the value of the WorkloadArn property for this object.
|
WorkloadSummary.Builder |
workloadId(String workloadId)
Sets the value of the WorkloadId property for this object.
|
WorkloadSummary.Builder |
workloadName(String workloadName)
Sets the value of the WorkloadName property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWorkloadSummary.Builder workloadId(String workloadId)
workloadId - The new value for the WorkloadId property for this object.WorkloadSummary.Builder workloadArn(String workloadArn)
workloadArn - The new value for the WorkloadArn property for this object.WorkloadSummary.Builder workloadName(String workloadName)
workloadName - The new value for the WorkloadName property for this object.WorkloadSummary.Builder owner(String owner)
owner - The new value for the Owner property for this object.WorkloadSummary.Builder updatedAt(Instant updatedAt)
updatedAt - The new value for the UpdatedAt property for this object.WorkloadSummary.Builder lenses(Collection<String> lenses)
lenses - The new value for the Lenses property for this object.WorkloadSummary.Builder lenses(String... lenses)
lenses - The new value for the Lenses property for this object.WorkloadSummary.Builder riskCountsWithStrings(Map<String,Integer> riskCounts)
riskCounts - The new value for the RiskCounts property for this object.WorkloadSummary.Builder riskCounts(Map<Risk,Integer> riskCounts)
riskCounts - The new value for the RiskCounts property for this object.WorkloadSummary.Builder improvementStatus(String improvementStatus)
improvementStatus - The new value for the ImprovementStatus property for this object.WorkloadImprovementStatus,
WorkloadImprovementStatusWorkloadSummary.Builder improvementStatus(WorkloadImprovementStatus improvementStatus)
improvementStatus - The new value for the ImprovementStatus property for this object.WorkloadImprovementStatus,
WorkloadImprovementStatusWorkloadSummary.Builder profiles(Collection<WorkloadProfile> profiles)
Profile associated with a workload.
profiles - Profile associated with a workload.WorkloadSummary.Builder profiles(WorkloadProfile... profiles)
Profile associated with a workload.
profiles - Profile associated with a workload.WorkloadSummary.Builder profiles(Consumer<WorkloadProfile.Builder>... 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 via
WorkloadProfile.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #profiles(List.
profiles - a consumer that will call methods on
WorkloadProfile.Builder#profiles(java.util.Collection) WorkloadSummary.Builder prioritizedRiskCountsWithStrings(Map<String,Integer> prioritizedRiskCounts)
prioritizedRiskCounts - The new value for the PrioritizedRiskCounts property for this object.WorkloadSummary.Builder prioritizedRiskCounts(Map<Risk,Integer> prioritizedRiskCounts)
prioritizedRiskCounts - The new value for the PrioritizedRiskCounts property for this object.Copyright © 2023. All rights reserved.