Interface ListFindingsMetricsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeGuruSecurityRequest.Builder,CopyableBuilder<ListFindingsMetricsRequest.Builder,,ListFindingsMetricsRequest> SdkBuilder<ListFindingsMetricsRequest.Builder,,ListFindingsMetricsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListFindingsMetricsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe end date of the interval which you want to retrieve metrics from.maxResults(Integer maxResults) The maximum number of results to return in the response.A token to use for paginating results that are returned in the response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The start date of the interval which you want to retrieve metrics from.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
nextToken
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the
nextTokenvalue returned from the previous request to continue listing results after the first page.- Parameters:
nextToken- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use thenextTokenvalue returned from the previous request to continue listing results after the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the
nextTokenelement is returned in the response. UsenextTokenin a subsequent request to retrieve additional results. If not specified, returns 1000 results.- Parameters:
maxResults- The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, thenextTokenelement is returned in the response. UsenextTokenin a subsequent request to retrieve additional results. If not specified, returns 1000 results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startDate
The start date of the interval which you want to retrieve metrics from. Rounds to the nearest day.
- Parameters:
startDate- The start date of the interval which you want to retrieve metrics from. Rounds to the nearest day.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDate
The end date of the interval which you want to retrieve metrics from. Round to the nearest day.
- Parameters:
endDate- The end date of the interval which you want to retrieve metrics from. Round to the nearest day.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListFindingsMetricsRequest.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
ListFindingsMetricsRequest.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.
-