Interface ListFindingsMetricsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruSecurityResponse.Builder,CopyableBuilder<ListFindingsMetricsResponse.Builder,,ListFindingsMetricsResponse> SdkBuilder<ListFindingsMetricsResponse.Builder,,ListFindingsMetricsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFindingsMetricsResponse
@Mutable
@NotThreadSafe
public static interface ListFindingsMetricsResponse.Builder
extends CodeGuruSecurityResponse.Builder, SdkPojo, CopyableBuilder<ListFindingsMetricsResponse.Builder,ListFindingsMetricsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfindingsMetrics(Collection<AccountFindingsMetric> findingsMetrics) A list ofAccountFindingsMetricobjects retrieved from the specified time interval.findingsMetrics(Consumer<AccountFindingsMetric.Builder>... findingsMetrics) A list ofAccountFindingsMetricobjects retrieved from the specified time interval.findingsMetrics(AccountFindingsMetric... findingsMetrics) A list ofAccountFindingsMetricobjects retrieved from the specified time interval.A pagination token.Methods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
findingsMetrics
ListFindingsMetricsResponse.Builder findingsMetrics(Collection<AccountFindingsMetric> findingsMetrics) A list of
AccountFindingsMetricobjects retrieved from the specified time interval.- Parameters:
findingsMetrics- A list ofAccountFindingsMetricobjects 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
AccountFindingsMetricobjects retrieved from the specified time interval.- Parameters:
findingsMetrics- A list ofAccountFindingsMetricobjects 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 theAccountFindingsMetricobjects retrieved from the specified time interval.AccountFindingsMetric.Builderavoiding the need to create one manually viaAccountFindingsMetric.builder().When the
Consumercompletes,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
ListFindingMetricsto continue listing results after the current page.- Parameters:
nextToken- A pagination token. You can use this in future calls toListFindingMetricsto continue listing results after the current page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-