Interface GetFindingHistoryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetFindingHistoryResponse.Builder,
,GetFindingHistoryResponse> SdkBuilder<GetFindingHistoryResponse.Builder,
,GetFindingHistoryResponse> SdkPojo
,SdkResponse.Builder
,SecurityHubResponse.Builder
- Enclosing class:
GetFindingHistoryResponse
public static interface GetFindingHistoryResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetFindingHistoryResponse.Builder,GetFindingHistoryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token for pagination purposes.records
(Collection<FindingHistoryRecord> records) A list of events that altered the specified finding during the specified time period.records
(Consumer<FindingHistoryRecord.Builder>... records) A list of events that altered the specified finding during the specified time period.records
(FindingHistoryRecord... records) A list of events that altered the specified finding during the specified time period.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
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
records
A list of events that altered the specified finding during the specified time period.
- Parameters:
records
- A list of events that altered the specified finding during the specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
records
A list of events that altered the specified finding during the specified time period.
- Parameters:
records
- A list of events that altered the specified finding during the specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
records
A list of events that altered the specified finding during the specified time period.
This is a convenience method that creates an instance of theFindingHistoryRecord.Builder
avoiding the need to create one manually viaFindingHistoryRecord.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecords(List<FindingHistoryRecord>)
.- Parameters:
records
- a consumer that will call methods onFindingHistoryRecord.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token for pagination purposes. Provide this token in the subsequent request to
GetFindingsHistory
to get up to an additional 100 results of history for the same finding that you specified in your initial request.- Parameters:
nextToken
- A token for pagination purposes. Provide this token in the subsequent request toGetFindingsHistory
to get up to an additional 100 results of history for the same finding that you specified in your initial request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-