Interface GetFindingHistoryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetFindingHistoryRequest.Builder,GetFindingHistoryRequest>,SdkBuilder<GetFindingHistoryRequest.Builder,GetFindingHistoryRequest>,SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
- GetFindingHistoryRequest
public static interface GetFindingHistoryRequest.Builder extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<GetFindingHistoryRequest.Builder,GetFindingHistoryRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetFindingHistoryRequest.BuilderendTime(Instant endTime)An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.default GetFindingHistoryRequest.BuilderfindingIdentifier(Consumer<AwsSecurityFindingIdentifier.Builder> findingIdentifier)Sets the value of the FindingIdentifier property for this object.GetFindingHistoryRequest.BuilderfindingIdentifier(AwsSecurityFindingIdentifier findingIdentifier)Sets the value of the FindingIdentifier property for this object.GetFindingHistoryRequest.BuildermaxResults(Integer maxResults)The maximum number of results to be returned.GetFindingHistoryRequest.BuildernextToken(String nextToken)A token for pagination purposes.GetFindingHistoryRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetFindingHistoryRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetFindingHistoryRequest.BuilderstartTime(Instant startTime)A timestamp that indicates the start time of the requested finding history.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
-
-
-
Method Detail
-
findingIdentifier
GetFindingHistoryRequest.Builder findingIdentifier(AwsSecurityFindingIdentifier findingIdentifier)
Sets the value of the FindingIdentifier property for this object.- Parameters:
findingIdentifier- The new value for the FindingIdentifier property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIdentifier
default GetFindingHistoryRequest.Builder findingIdentifier(Consumer<AwsSecurityFindingIdentifier.Builder> findingIdentifier)
Sets the value of the FindingIdentifier property for this object. This is a convenience method that creates an instance of theAwsSecurityFindingIdentifier.Builderavoiding the need to create one manually viaAwsSecurityFindingIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindingIdentifier(AwsSecurityFindingIdentifier).- Parameters:
findingIdentifier- a consumer that will call methods onAwsSecurityFindingIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
findingIdentifier(AwsSecurityFindingIdentifier)
-
startTime
GetFindingHistoryRequest.Builder startTime(Instant startTime)
A timestamp that indicates the start time of the requested finding history.
If you provide values for both
StartTimeandEndTime, Security Hub returns finding history for the specified time period. If you provide a value forStartTimebut not forEndTime, Security Hub returns finding history from theStartTimeto the time at which the API is called. If you provide a value forEndTimebut not forStartTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to theEndTime. If you provide neitherStartTimenorEndTime, 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.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Parameters:
startTime- A timestamp that indicates the start time of the requested finding history.If you provide values for both
StartTimeandEndTime, Security Hub returns finding history for the specified time period. If you provide a value forStartTimebut not forEndTime, Security Hub returns finding history from theStartTimeto the time at which the API is called. If you provide a value forEndTimebut not forStartTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to theEndTime. If you provide neitherStartTimenorEndTime, 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.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
GetFindingHistoryRequest.Builder endTime(Instant endTime)
An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.
If you provide values for both
StartTimeandEndTime, Security Hub returns finding history for the specified time period. If you provide a value forStartTimebut not forEndTime, Security Hub returns finding history from theStartTimeto the time at which the API is called. If you provide a value forEndTimebut not forStartTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to theEndTime. If you provide neitherStartTimenorEndTime, 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.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Parameters:
endTime- An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.If you provide values for both
StartTimeandEndTime, Security Hub returns finding history for the specified time period. If you provide a value forStartTimebut not forEndTime, Security Hub returns finding history from theStartTimeto the time at which the API is called. If you provide a value forEndTimebut not forStartTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to theEndTime. If you provide neitherStartTimenorEndTime, 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.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetFindingHistoryRequest.Builder nextToken(String nextToken)
A token for pagination purposes. Provide
NULLas 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 provideNextToken, Security Hub returns up to 100 results of finding history for each request.- Parameters:
nextToken- A token for pagination purposes. ProvideNULLas 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 provideNextToken, Security Hub returns up to 100 results of finding history for each request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetFindingHistoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetFindingHistoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-