Interface LambdaLayerAggregationResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LambdaLayerAggregationResponse.Builder,
,LambdaLayerAggregationResponse> SdkBuilder<LambdaLayerAggregationResponse.Builder,
,LambdaLayerAggregationResponse> SdkPojo
- Enclosing class:
LambdaLayerAggregationResponse
@Mutable
@NotThreadSafe
public static interface LambdaLayerAggregationResponse.Builder
extends SdkPojo, CopyableBuilder<LambdaLayerAggregationResponse.Builder,LambdaLayerAggregationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe account ID of the Amazon Web Services Lambda function layer.functionName
(String functionName) The names of the Amazon Web Services Lambda functions associated with the layers.The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function layer.resourceId
(String resourceId) The Resource ID of the Amazon Web Services Lambda function layer.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 account ID of the Amazon Web Services Lambda function layer.
- Parameters:
accountId
- The account ID of the Amazon Web Services Lambda function layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionName
The names of the Amazon Web Services Lambda functions associated with the layers.
- Parameters:
functionName
- The names of the Amazon Web Services Lambda functions associated with the layers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layerArn
The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function layer.
- Parameters:
layerArn
- The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The Resource ID of the Amazon Web Services Lambda function layer.
- Parameters:
resourceId
- The Resource ID of the Amazon Web Services Lambda function layer.- 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 LambdaLayerAggregationResponse.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:
-