Interface GetFindingsTrendsV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetFindingsTrendsV2Request.Builder,,GetFindingsTrendsV2Request> SdkBuilder<GetFindingsTrendsV2Request.Builder,,GetFindingsTrendsV2Request> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
GetFindingsTrendsV2Request
@Mutable
@NotThreadSafe
public static interface GetFindingsTrendsV2Request.Builder
extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<GetFindingsTrendsV2Request.Builder,GetFindingsTrendsV2Request>
-
Method Summary
Modifier and TypeMethodDescriptionThe ending timestamp for the time period to analyze findings trends, in ISO 8601 format.filters(Consumer<FindingsTrendsFilters.Builder> filters) The filters to apply to the findings trend data.filters(FindingsTrendsFilters filters) The filters to apply to the findings trend data.maxResults(Integer maxResults) The maximum number of trend data points to return in a single response.The token to use for paginating results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The starting timestamp for the time period to analyze findings trends, in ISO 8601 format.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
filters
The filters to apply to the findings trend data.
- Parameters:
filters- The filters to apply to the findings trend data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to apply to the findings trend data.
This is a convenience method that creates an instance of theFindingsTrendsFilters.Builderavoiding the need to create one manually viaFindingsTrendsFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(FindingsTrendsFilters).- Parameters:
filters- a consumer that will call methods onFindingsTrendsFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The starting timestamp for the time period to analyze findings trends, in ISO 8601 format.
- Parameters:
startTime- The starting timestamp for the time period to analyze findings trends, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The ending timestamp for the time period to analyze findings trends, in ISO 8601 format.
- Parameters:
endTime- The ending timestamp for the time period to analyze findings trends, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token to use for paginating results. This value is returned in the response if more results are available.
- Parameters:
nextToken- The token to use for paginating results. This value is returned in the response if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of trend data points to return in a single response.
- Parameters:
maxResults- The maximum number of trend data points to return in a single response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetFindingsTrendsV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetFindingsTrendsV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-