public static interface GetUsageStatisticsRequest.Builder extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<GetUsageStatisticsRequest.Builder,GetUsageStatisticsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetUsageStatisticsRequest.Builder |
detectorId(String detectorId)
The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.
|
GetUsageStatisticsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results to return in the response.
|
GetUsageStatisticsRequest.Builder |
nextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
GetUsageStatisticsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetUsageStatisticsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetUsageStatisticsRequest.Builder |
unit(String unit)
The currency unit you would like to view your usage statistics in.
|
default GetUsageStatisticsRequest.Builder |
usageCriteria(Consumer<UsageCriteria.Builder> usageCriteria)
Represents the criteria used for querying usage.
|
GetUsageStatisticsRequest.Builder |
usageCriteria(UsageCriteria usageCriteria)
Represents the criteria used for querying usage.
|
GetUsageStatisticsRequest.Builder |
usageStatisticType(String usageStatisticType)
The type of usage statistics to retrieve.
|
GetUsageStatisticsRequest.Builder |
usageStatisticType(UsageStatisticType usageStatisticType)
The type of usage statistics to retrieve.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetUsageStatisticsRequest.Builder detectorId(String detectorId)
The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.
detectorId - The ID of the detector that specifies the GuardDuty service whose usage statistics you want to
retrieve.GetUsageStatisticsRequest.Builder usageStatisticType(String usageStatisticType)
The type of usage statistics to retrieve.
usageStatisticType - The type of usage statistics to retrieve.UsageStatisticType,
UsageStatisticTypeGetUsageStatisticsRequest.Builder usageStatisticType(UsageStatisticType usageStatisticType)
The type of usage statistics to retrieve.
usageStatisticType - The type of usage statistics to retrieve.UsageStatisticType,
UsageStatisticTypeGetUsageStatisticsRequest.Builder usageCriteria(UsageCriteria usageCriteria)
Represents the criteria used for querying usage.
usageCriteria - Represents the criteria used for querying usage.default GetUsageStatisticsRequest.Builder usageCriteria(Consumer<UsageCriteria.Builder> usageCriteria)
Represents the criteria used for querying usage.
This is a convenience method that creates an instance of theUsageCriteria.Builder avoiding the need
to create one manually via UsageCriteria.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to usageCriteria(UsageCriteria).
usageCriteria - a consumer that will call methods on UsageCriteria.BuilderusageCriteria(UsageCriteria)GetUsageStatisticsRequest.Builder unit(String unit)
The currency unit you would like to view your usage statistics in. Current valid values are USD.
unit - The currency unit you would like to view your usage statistics in. Current valid values are USD.GetUsageStatisticsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults - The maximum number of results to return in the response.GetUsageStatisticsRequest.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 to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
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 to a list action. For subsequent calls, use the NextToken
value returned from the previous request to continue listing results after the first page.GetUsageStatisticsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetUsageStatisticsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.