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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkloadSummary.BuilderimprovementStatus(String improvementStatus)Sets the value of the ImprovementStatus property for this object.WorkloadSummary.BuilderimprovementStatus(WorkloadImprovementStatus improvementStatus)Sets the value of the ImprovementStatus property for this object.WorkloadSummary.Builderlenses(String... lenses)Sets the value of the Lenses property for this object.WorkloadSummary.Builderlenses(Collection<String> lenses)Sets the value of the Lenses property for this object.WorkloadSummary.Builderowner(String owner)Sets the value of the Owner property for this object.WorkloadSummary.BuilderprioritizedRiskCounts(Map<Risk,Integer> prioritizedRiskCounts)Sets the value of the PrioritizedRiskCounts property for this object.WorkloadSummary.BuilderprioritizedRiskCountsWithStrings(Map<String,Integer> prioritizedRiskCounts)Sets the value of the PrioritizedRiskCounts property for this object.WorkloadSummary.Builderprofiles(Collection<WorkloadProfile> profiles)Profile associated with a workload.WorkloadSummary.Builderprofiles(Consumer<WorkloadProfile.Builder>... profiles)Profile associated with a workload.WorkloadSummary.Builderprofiles(WorkloadProfile... profiles)Profile associated with a workload.WorkloadSummary.BuilderriskCounts(Map<Risk,Integer> riskCounts)Sets the value of the RiskCounts property for this object.WorkloadSummary.BuilderriskCountsWithStrings(Map<String,Integer> riskCounts)Sets the value of the RiskCounts property for this object.WorkloadSummary.BuilderupdatedAt(Instant updatedAt)Sets the value of the UpdatedAt property for this object.WorkloadSummary.BuilderworkloadArn(String workloadArn)Sets the value of the WorkloadArn property for this object.WorkloadSummary.BuilderworkloadId(String workloadId)Sets the value of the WorkloadId property for this object.WorkloadSummary.BuilderworkloadName(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 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
-
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:
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.
-
profiles
WorkloadSummary.Builder profiles(Consumer<WorkloadProfile.Builder>... profiles)
Profile associated with a workload.
This is a convenience method that creates an instance of theWorkloadProfile.Builderavoiding the need to create one manually viaWorkloadProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#profiles(List.) - 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:
#profiles(java.util.Collection)
-
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.
-
-