Interface GetRevenueStatisticsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetRevenueStatisticsRequest.Builder,,GetRevenueStatisticsRequest> SdkBuilder<GetRevenueStatisticsRequest.Builder,,GetRevenueStatisticsRequest> SdkPojo,SdkRequest.Builder,Wafv2Request.Builder
- Enclosing class:
GetRevenueStatisticsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe currency for the revenue amounts in the response.The currency for the revenue amounts in the response.filters(Collection<MonetizationFilter> filters) Optional filters to narrow the results.filters(Consumer<MonetizationFilter.Builder>... filters) Optional filters to narrow the results.filters(MonetizationFilter... filters) Optional filters to narrow the results.The dimension to group results by:NAME,CATEGORY,INTENT,ORGANIZATION, orWEBACL.groupBy(GroupByType groupBy) The dimension to group results by:NAME,CATEGORY,INTENT,ORGANIZATION, orWEBACL.The maximum number of results to return.nextMarker(String nextMarker) When you get a paginated response, this marker indicates that additional results are available.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL).Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL).The field to sort results by:REVENUE,PERCENTAGE, orNAME.sortBy(RankingSortBy sortBy) The field to sort results by:REVENUE,PERCENTAGE, orNAME.The sort order:ASCfor ascending orDESCfor descending.The sort order:ASCfor ascending orDESCfor descending.statisticType(String statisticType) TOP_SOURCES_BY_REVENUEranks revenue from AI bot traffic, grouped by the dimension you specify in theGroupByparameter (NAME,CATEGORY,INTENT,ORGANIZATION, orWEBACL);GroupByis required for this statistic type.statisticType(RankingStatisticType statisticType) TOP_SOURCES_BY_REVENUEranks revenue from AI bot traffic, grouped by the dimension you specify in theGroupByparameter (NAME,CATEGORY,INTENT,ORGANIZATION, orWEBACL);GroupByis required for this statistic type.timeWindow(Consumer<TimeWindow.Builder> timeWindow) The time range for the query.timeWindow(TimeWindow timeWindow) The time range for the query.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.wafv2.model.Wafv2Request.Builder
build
-
Method Details
-
statisticType
TOP_SOURCES_BY_REVENUEranks revenue from AI bot traffic, grouped by the dimension you specify in theGroupByparameter (NAME,CATEGORY,INTENT,ORGANIZATION, orWEBACL);GroupByis required for this statistic type.TOP_PATHS_BY_REVENUEranks revenue by path.- Parameters:
statisticType-TOP_SOURCES_BY_REVENUEranks revenue from AI bot traffic, grouped by the dimension you specify in theGroupByparameter (NAME,CATEGORY,INTENT,ORGANIZATION, orWEBACL);GroupByis required for this statistic type.TOP_PATHS_BY_REVENUEranks revenue by path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statisticType
TOP_SOURCES_BY_REVENUEranks revenue from AI bot traffic, grouped by the dimension you specify in theGroupByparameter (NAME,CATEGORY,INTENT,ORGANIZATION, orWEBACL);GroupByis required for this statistic type.TOP_PATHS_BY_REVENUEranks revenue by path.- Parameters:
statisticType-TOP_SOURCES_BY_REVENUEranks revenue from AI bot traffic, grouped by the dimension you specify in theGroupByparameter (NAME,CATEGORY,INTENT,ORGANIZATION, orWEBACL);GroupByis required for this statistic type.TOP_PATHS_BY_REVENUEranks revenue by path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeWindow
The time range for the query. Specify start and end timestamps.
- Parameters:
timeWindow- The time range for the query. Specify start and end timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeWindow
The time range for the query. Specify start and end timestamps.
This is a convenience method that creates an instance of theTimeWindow.Builderavoiding the need to create one manually viaTimeWindow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeWindow(TimeWindow).- Parameters:
timeWindow- a consumer that will call methods onTimeWindow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
Specifies whether this is for a Amazon CloudFront distribution (
CLOUDFRONT) or for a regional application (REGIONAL).- Parameters:
scope- Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
Specifies whether this is for a Amazon CloudFront distribution (
CLOUDFRONT) or for a regional application (REGIONAL).- Parameters:
scope- Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currency
The currency for the revenue amounts in the response.
- Parameters:
currency- The currency for the revenue amounts in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currency
The currency for the revenue amounts in the response.
- Parameters:
currency- The currency for the revenue amounts in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupBy
The dimension to group results by:
NAME,CATEGORY,INTENT,ORGANIZATION, orWEBACL. Required whenStatisticTypeisTOP_SOURCES_BY_REVENUE. Not required forTOP_PATHS_BY_REVENUE, where results are grouped by content path. IfStatisticTypeisTOP_SOURCES_BY_REVENUEandGroupByis omitted, the request is rejected with aWAFInvalidParameterException.- Parameters:
groupBy- The dimension to group results by:NAME,CATEGORY,INTENT,ORGANIZATION, orWEBACL. Required whenStatisticTypeisTOP_SOURCES_BY_REVENUE. Not required forTOP_PATHS_BY_REVENUE, where results are grouped by content path. IfStatisticTypeisTOP_SOURCES_BY_REVENUEandGroupByis omitted, the request is rejected with aWAFInvalidParameterException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupBy
The dimension to group results by:
NAME,CATEGORY,INTENT,ORGANIZATION, orWEBACL. Required whenStatisticTypeisTOP_SOURCES_BY_REVENUE. Not required forTOP_PATHS_BY_REVENUE, where results are grouped by content path. IfStatisticTypeisTOP_SOURCES_BY_REVENUEandGroupByis omitted, the request is rejected with aWAFInvalidParameterException.- Parameters:
groupBy- The dimension to group results by:NAME,CATEGORY,INTENT,ORGANIZATION, orWEBACL. Required whenStatisticTypeisTOP_SOURCES_BY_REVENUE. Not required forTOP_PATHS_BY_REVENUE, where results are grouped by content path. IfStatisticTypeisTOP_SOURCES_BY_REVENUEandGroupByis omitted, the request is rejected with aWAFInvalidParameterException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
Optional filters to narrow the results.
- Parameters:
filters- Optional filters to narrow the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Optional filters to narrow the results.
- Parameters:
filters- Optional filters to narrow the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Optional filters to narrow the results.
This is a convenience method that creates an instance of theMonetizationFilter.Builderavoiding the need to create one manually viaMonetizationFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<MonetizationFilter>).- Parameters:
filters- a consumer that will call methods onMonetizationFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextMarker
When you get a paginated response, this marker indicates that additional results are available. Use it in a subsequent request to retrieve the next page of results.
- Parameters:
nextMarker- When you get a paginated response, this marker indicates that additional results are available. Use it in a subsequent request to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
The maximum number of results to return.
- Parameters:
limit- The maximum number of results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The field to sort results by:
REVENUE,PERCENTAGE, orNAME.- Parameters:
sortBy- The field to sort results by:REVENUE,PERCENTAGE, orNAME.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
The field to sort results by:
REVENUE,PERCENTAGE, orNAME.- Parameters:
sortBy- The field to sort results by:REVENUE,PERCENTAGE, orNAME.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order:
ASCfor ascending orDESCfor descending.- Parameters:
sortOrder- The sort order:ASCfor ascending orDESCfor descending.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order:
ASCfor ascending orDESCfor descending.- Parameters:
sortOrder- The sort order:ASCfor ascending orDESCfor descending.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetRevenueStatisticsRequest.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
GetRevenueStatisticsRequest.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.
-