Interface LambdaFunctionAggregationResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LambdaFunctionAggregationResponse.Builder,
,LambdaFunctionAggregationResponse> SdkBuilder<LambdaFunctionAggregationResponse.Builder,
,LambdaFunctionAggregationResponse> SdkPojo
- Enclosing class:
LambdaFunctionAggregationResponse
@Mutable
@NotThreadSafe
public static interface LambdaFunctionAggregationResponse.Builder
extends SdkPojo, CopyableBuilder<LambdaFunctionAggregationResponse.Builder,LambdaFunctionAggregationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Amazon Web Services account that owns the Amazon Web Services Lambda function.functionName
(String functionName) The Amazon Web Services Lambda function names included in the aggregation results.lambdaTags
(Map<String, String> lambdaTags) The tags included in the aggregation results.lastModifiedAt
(Instant lastModifiedAt) The date that the Amazon Web Services Lambda function included in the aggregation results was last changed.resourceId
(String resourceId) The resource IDs included in the aggregation results.The runtimes included in the aggregation results.severityCounts
(Consumer<SeverityCounts.Builder> severityCounts) An object that contains the counts of aggregated finding per severity.severityCounts
(SeverityCounts severityCounts) An object that contains the counts of aggregated finding per severity.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, sdkFieldNameToField, sdkFields
-
Method Details
-
accountId
The ID of the Amazon Web Services account that owns the Amazon Web Services Lambda function.
- Parameters:
accountId
- The ID of the Amazon Web Services account that owns the Amazon Web Services Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionName
The Amazon Web Services Lambda function names included in the aggregation results.
- Parameters:
functionName
- The Amazon Web Services Lambda function names included in the aggregation results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaTags
The tags included in the aggregation results.
- Parameters:
lambdaTags
- The tags included in the aggregation results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedAt
The date that the Amazon Web Services Lambda function included in the aggregation results was last changed.
- Parameters:
lastModifiedAt
- The date that the Amazon Web Services Lambda function included in the aggregation results was last changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The resource IDs included in the aggregation results.
- Parameters:
resourceId
- The resource IDs included in the aggregation results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtime
The runtimes included in the aggregation results.
- Parameters:
runtime
- The runtimes included in the aggregation results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
An object that contains the counts of aggregated finding per severity.
- Parameters:
severityCounts
- An object that contains the counts of aggregated finding per severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
default LambdaFunctionAggregationResponse.Builder severityCounts(Consumer<SeverityCounts.Builder> severityCounts) An object that contains the counts of aggregated finding per severity.
This is a convenience method that creates an instance of theSeverityCounts.Builder
avoiding the need to create one manually viaSeverityCounts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toseverityCounts(SeverityCounts)
.- Parameters:
severityCounts
- a consumer that will call methods onSeverityCounts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-