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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetFindingHistoryResponse.BuildernextToken(String nextToken)A token for pagination purposes.GetFindingHistoryResponse.Builderrecords(Collection<FindingHistoryRecord> records)A list of events that altered the specified finding during the specified time period.GetFindingHistoryResponse.Builderrecords(Consumer<FindingHistoryRecord.Builder>... records)A list of events that altered the specified finding during the specified time period.GetFindingHistoryResponse.Builderrecords(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 Detail
-
records
GetFindingHistoryResponse.Builder records(Collection<FindingHistoryRecord> 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
GetFindingHistoryResponse.Builder records(FindingHistoryRecord... 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
GetFindingHistoryResponse.Builder records(Consumer<FindingHistoryRecord.Builder>... 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.Builderavoiding the need to create one manually viaFindingHistoryRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#records(List.) - 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:
#records(java.util.Collection)
-
nextToken
GetFindingHistoryResponse.Builder nextToken(String nextToken)
A token for pagination purposes. Provide this token in the subsequent request to
GetFindingsHistoryto 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 toGetFindingsHistoryto 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.
-
-