Interface ListFindingsMetricsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeGuruSecurityRequest.Builder,CopyableBuilder<ListFindingsMetricsRequest.Builder,ListFindingsMetricsRequest>,SdkBuilder<ListFindingsMetricsRequest.Builder,ListFindingsMetricsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListFindingsMetricsRequest
public static interface ListFindingsMetricsRequest.Builder extends CodeGuruSecurityRequest.Builder, SdkPojo, CopyableBuilder<ListFindingsMetricsRequest.Builder,ListFindingsMetricsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFindingsMetricsRequest.BuilderendDate(Instant endDate)The end date of the interval which you want to retrieve metrics from.ListFindingsMetricsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in the response.ListFindingsMetricsRequest.BuildernextToken(String nextToken)A token to use for paginating results that are returned in the response.ListFindingsMetricsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListFindingsMetricsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListFindingsMetricsRequest.BuilderstartDate(Instant startDate)The start date of the interval which you want to retrieve metrics from.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
endDate
ListFindingsMetricsRequest.Builder endDate(Instant endDate)
The end date of the interval which you want to retrieve metrics from.
- Parameters:
endDate- The end date of the interval which you want to retrieve metrics from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListFindingsMetricsRequest.Builder maxResults(Integer 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.- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListFindingsMetricsRequest.Builder nextToken(String 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.
-
startDate
ListFindingsMetricsRequest.Builder startDate(Instant startDate)
The start date of the interval which you want to retrieve metrics from.
- Parameters:
startDate- The start date of the interval which you want to retrieve metrics from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListFindingsMetricsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListFindingsMetricsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-