Interface GetMetricsSummaryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeGuruSecurityRequest.Builder
,CopyableBuilder<GetMetricsSummaryRequest.Builder,
,GetMetricsSummaryRequest> SdkBuilder<GetMetricsSummaryRequest.Builder,
,GetMetricsSummaryRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetMetricsSummaryRequest
public static interface GetMetricsSummaryRequest.Builder
extends CodeGuruSecurityRequest.Builder, SdkPojo, CopyableBuilder<GetMetricsSummaryRequest.Builder,GetMetricsSummaryRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe date you want to retrieve summary metrics from, rounded to the nearest day.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
date
The date you want to retrieve summary metrics from, rounded to the nearest day. The date must be within the past two years since metrics data is only stored for two years. If a date outside of this range is passed, the response will be empty.
- Parameters:
date
- The date you want to retrieve summary metrics from, rounded to the nearest day. The date must be within the past two years since metrics data is only stored for two years. If a date outside of this range is passed, the response will be empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetMetricsSummaryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetMetricsSummaryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-