public static interface GetFindingHistoryRequest.Builder extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<GetFindingHistoryRequest.Builder,GetFindingHistoryRequest>
| Modifier and Type | Method and Description |
|---|---|
GetFindingHistoryRequest.Builder |
endTime(Instant endTime)
An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.
|
GetFindingHistoryRequest.Builder |
findingIdentifier(AwsSecurityFindingIdentifier findingIdentifier)
Sets the value of the FindingIdentifier property for this object.
|
default GetFindingHistoryRequest.Builder |
findingIdentifier(Consumer<AwsSecurityFindingIdentifier.Builder> findingIdentifier)
Sets the value of the FindingIdentifier property for this object.
|
GetFindingHistoryRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results to be returned.
|
GetFindingHistoryRequest.Builder |
nextToken(String nextToken)
A token for pagination purposes.
|
GetFindingHistoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetFindingHistoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetFindingHistoryRequest.Builder |
startTime(Instant startTime)
An ISO 8601-formatted timestamp that indicates the start time of the requested finding history.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetFindingHistoryRequest.Builder findingIdentifier(AwsSecurityFindingIdentifier findingIdentifier)
findingIdentifier - The new value for the FindingIdentifier property for this object.default GetFindingHistoryRequest.Builder findingIdentifier(Consumer<AwsSecurityFindingIdentifier.Builder> findingIdentifier)
AwsSecurityFindingIdentifier.Builder
avoiding the need to create one manually via AwsSecurityFindingIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to findingIdentifier(AwsSecurityFindingIdentifier).
findingIdentifier - a consumer that will call methods on AwsSecurityFindingIdentifier.BuilderfindingIdentifier(AwsSecurityFindingIdentifier)GetFindingHistoryRequest.Builder startTime(Instant startTime)
An ISO 8601-formatted timestamp that indicates the start time of the requested finding history. A correctly
formatted example is 2020-05-21T20:16:34.724Z. The value cannot contain spaces, and date and
time should be separated by T. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
If you provide values for both StartTime and EndTime, Security Hub returns finding
history for the specified time period. If you provide a value for StartTime but not for
EndTime, Security Hub returns finding history from the StartTime to the time at
which the API is called. If you provide a value for EndTime but not for StartTime,
Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime. If you provide neither
StartTime nor EndTime, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is
limited to 100 results, and the maximum time period is limited to 90 days.
startTime - An ISO 8601-formatted timestamp that indicates the start time of the requested finding history. A
correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot contain spaces,
and date and time should be separated by T. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
If you provide values for both StartTime and EndTime, Security Hub returns
finding history for the specified time period. If you provide a value for StartTime but
not for EndTime, Security Hub returns finding history from the StartTime to
the time at which the API is called. If you provide a value for EndTime but not for
StartTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime. If you provide neither
StartTime nor EndTime, Security Hub returns finding history from the
CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios,
the response is limited to 100 results, and the maximum time period is limited to 90 days.
GetFindingHistoryRequest.Builder endTime(Instant endTime)
An ISO 8601-formatted timestamp that indicates the end time of the requested finding history. A correctly
formatted example is 2020-05-21T20:16:34.724Z. The value cannot contain spaces, and date and
time should be separated by T. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
If you provide values for both StartTime and EndTime, Security Hub returns finding
history for the specified time period. If you provide a value for StartTime but not for
EndTime, Security Hub returns finding history from the StartTime to the time at
which the API is called. If you provide a value for EndTime but not for StartTime,
Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime. If you provide neither
StartTime nor EndTime, Security Hub returns finding history from the CreatedAt
timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is
limited to 100 results, and the maximum time period is limited to 90 days.
endTime - An ISO 8601-formatted timestamp that indicates the end time of the requested finding history. A
correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot contain spaces,
and date and time should be separated by T. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
If you provide values for both StartTime and EndTime, Security Hub returns
finding history for the specified time period. If you provide a value for StartTime but
not for EndTime, Security Hub returns finding history from the StartTime to
the time at which the API is called. If you provide a value for EndTime but not for
StartTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime. If you provide neither
StartTime nor EndTime, Security Hub returns finding history from the
CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios,
the response is limited to 100 results, and the maximum time period is limited to 90 days.
GetFindingHistoryRequest.Builder nextToken(String nextToken)
A token for pagination purposes. Provide NULL as the initial value. In subsequent requests,
provide the token included in the response to get up to an additional 100 results of finding history. If you
don’t provide NextToken, Security Hub returns up to 100 results of finding history for each
request.
nextToken - A token for pagination purposes. Provide NULL as the initial value. In subsequent
requests, provide the token included in the response to get up to an additional 100 results of finding
history. If you don’t provide NextToken, Security Hub returns up to 100 results of
finding history for each request.GetFindingHistoryRequest.Builder maxResults(Integer maxResults)
The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100 results of finding history.
maxResults - The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100
results of finding history.GetFindingHistoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetFindingHistoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.