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
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, 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-