Interface LensReviewSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LensReviewSummary.Builder,LensReviewSummary>,SdkBuilder<LensReviewSummary.Builder,LensReviewSummary>,SdkPojo
- Enclosing class:
- LensReviewSummary
public static interface LensReviewSummary.Builder extends SdkPojo, CopyableBuilder<LensReviewSummary.Builder,LensReviewSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LensReviewSummary.BuilderlensAlias(String lensAlias)Sets the value of the LensAlias property for this object.LensReviewSummary.BuilderlensArn(String lensArn)The ARN for the lens.LensReviewSummary.BuilderlensName(String lensName)Sets the value of the LensName property for this object.LensReviewSummary.BuilderlensStatus(String lensStatus)The status of the lens.LensReviewSummary.BuilderlensStatus(LensStatus lensStatus)The status of the lens.LensReviewSummary.BuilderlensVersion(String lensVersion)The version of the lens.LensReviewSummary.BuilderprioritizedRiskCounts(Map<Risk,Integer> prioritizedRiskCounts)Sets the value of the PrioritizedRiskCounts property for this object.LensReviewSummary.BuilderprioritizedRiskCountsWithStrings(Map<String,Integer> prioritizedRiskCounts)Sets the value of the PrioritizedRiskCounts property for this object.LensReviewSummary.Builderprofiles(Collection<WorkloadProfile> profiles)The profiles associated with the workload.LensReviewSummary.Builderprofiles(Consumer<WorkloadProfile.Builder>... profiles)The profiles associated with the workload.LensReviewSummary.Builderprofiles(WorkloadProfile... profiles)The profiles associated with the workload.LensReviewSummary.BuilderriskCounts(Map<Risk,Integer> riskCounts)Sets the value of the RiskCounts property for this object.LensReviewSummary.BuilderriskCountsWithStrings(Map<String,Integer> riskCounts)Sets the value of the RiskCounts property for this object.LensReviewSummary.BuilderupdatedAt(Instant updatedAt)Sets the value of the UpdatedAt 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
-
lensAlias
LensReviewSummary.Builder lensAlias(String lensAlias)
Sets the value of the LensAlias property for this object.- Parameters:
lensAlias- The new value for the LensAlias property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lensArn
LensReviewSummary.Builder lensArn(String lensArn)
The ARN for the lens.
- Parameters:
lensArn- The ARN for the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lensVersion
LensReviewSummary.Builder lensVersion(String lensVersion)
The version of the lens.
- Parameters:
lensVersion- The version of the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lensName
LensReviewSummary.Builder lensName(String lensName)
Sets the value of the LensName property for this object.- Parameters:
lensName- The new value for the LensName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lensStatus
LensReviewSummary.Builder lensStatus(String lensStatus)
The status of the lens.
- Parameters:
lensStatus- The status of the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LensStatus,LensStatus
-
lensStatus
LensReviewSummary.Builder lensStatus(LensStatus lensStatus)
The status of the lens.
- Parameters:
lensStatus- The status of the lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LensStatus,LensStatus
-
updatedAt
LensReviewSummary.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.
-
riskCountsWithStrings
LensReviewSummary.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
LensReviewSummary.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.
-
profiles
LensReviewSummary.Builder profiles(Collection<WorkloadProfile> profiles)
The profiles associated with the workload.
- Parameters:
profiles- The profiles associated with the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
LensReviewSummary.Builder profiles(WorkloadProfile... profiles)
The profiles associated with the workload.
- Parameters:
profiles- The profiles associated with the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
LensReviewSummary.Builder profiles(Consumer<WorkloadProfile.Builder>... profiles)
The profiles associated with the 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
LensReviewSummary.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
LensReviewSummary.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.
-
-