Interface LambdaFunctionAggregationResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LambdaFunctionAggregationResponse.Builder,
,LambdaFunctionAggregationResponse> SdkBuilder<LambdaFunctionAggregationResponse.Builder,
,LambdaFunctionAggregationResponse> SdkPojo
- Enclosing class:
LambdaFunctionAggregationResponse
public static interface LambdaFunctionAggregationResponse.Builder
extends SdkPojo, CopyableBuilder<LambdaFunctionAggregationResponse.Builder,LambdaFunctionAggregationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the AWS account that owns the AWS Lambda function.functionName
(String functionName) The AWS 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 AWS 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) Sets the value of the SeverityCounts property for this object.severityCounts
(SeverityCounts severityCounts) Sets the value of the SeverityCounts 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
-
accountId
The ID of the AWS account that owns the AWS Lambda function.
- Parameters:
accountId
- The ID of the AWS account that owns the AWS Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionName
The AWS Lambda function names included in the aggregation results.
- Parameters:
functionName
- The AWS 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 AWS Lambda function included in the aggregation results was last changed.
- Parameters:
lastModifiedAt
- The date that the AWS 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
Sets the value of the SeverityCounts property for this object.- Parameters:
severityCounts
- The new value for the SeverityCounts property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
default LambdaFunctionAggregationResponse.Builder severityCounts(Consumer<SeverityCounts.Builder> severityCounts) Sets the value of the SeverityCounts property for this object. 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:
-