Interface ListFindingsMetricsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeGuruSecurityResponse.Builder
,CopyableBuilder<ListFindingsMetricsResponse.Builder,
,ListFindingsMetricsResponse> SdkBuilder<ListFindingsMetricsResponse.Builder,
,ListFindingsMetricsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListFindingsMetricsResponse
public static interface ListFindingsMetricsResponse.Builder
extends CodeGuruSecurityResponse.Builder, SdkPojo, CopyableBuilder<ListFindingsMetricsResponse.Builder,ListFindingsMetricsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfindingsMetrics
(Collection<AccountFindingsMetric> findingsMetrics) A list ofAccountFindingsMetric
objects retrieved from the specified time interval.findingsMetrics
(Consumer<AccountFindingsMetric.Builder>... findingsMetrics) A list ofAccountFindingsMetric
objects retrieved from the specified time interval.findingsMetrics
(AccountFindingsMetric... findingsMetrics) A list ofAccountFindingsMetric
objects retrieved from the specified time interval.A pagination token.Methods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
findingsMetrics
ListFindingsMetricsResponse.Builder findingsMetrics(Collection<AccountFindingsMetric> findingsMetrics) A list of
AccountFindingsMetric
objects retrieved from the specified time interval.- Parameters:
findingsMetrics
- A list ofAccountFindingsMetric
objects retrieved from the specified time interval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsMetrics
A list of
AccountFindingsMetric
objects retrieved from the specified time interval.- Parameters:
findingsMetrics
- A list ofAccountFindingsMetric
objects retrieved from the specified time interval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsMetrics
ListFindingsMetricsResponse.Builder findingsMetrics(Consumer<AccountFindingsMetric.Builder>... findingsMetrics) A list of
This is a convenience method that creates an instance of theAccountFindingsMetric
objects retrieved from the specified time interval.AccountFindingsMetric.Builder
avoiding the need to create one manually viaAccountFindingsMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofindingsMetrics(List<AccountFindingsMetric>)
.- Parameters:
findingsMetrics
- a consumer that will call methods onAccountFindingsMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token. You can use this in future calls to
ListFindingMetrics
to continue listing results after the current page.- Parameters:
nextToken
- A pagination token. You can use this in future calls toListFindingMetrics
to continue listing results after the current page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-