Interface GetRevenueStatisticsSummaryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRevenueStatisticsSummaryResponse.Builder,,GetRevenueStatisticsSummaryResponse> SdkBuilder<GetRevenueStatisticsSummaryResponse.Builder,,GetRevenueStatisticsSummaryResponse> SdkPojo,SdkResponse.Builder,Wafv2Response.Builder
- Enclosing class:
GetRevenueStatisticsSummaryResponse
@Mutable
@NotThreadSafe
public static interface GetRevenueStatisticsSummaryResponse.Builder
extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<GetRevenueStatisticsSummaryResponse.Builder,GetRevenueStatisticsSummaryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrevenueBreakdown(Consumer<RevenueBreakdown.Builder> revenueBreakdown) The revenue breakdown summary for the specified time window and filters.revenueBreakdown(RevenueBreakdown revenueBreakdown) The revenue breakdown summary for the specified time window and filters.Methods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wafv2.model.Wafv2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
revenueBreakdown
The revenue breakdown summary for the specified time window and filters.
- Parameters:
revenueBreakdown- The revenue breakdown summary for the specified time window and filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revenueBreakdown
default GetRevenueStatisticsSummaryResponse.Builder revenueBreakdown(Consumer<RevenueBreakdown.Builder> revenueBreakdown) The revenue breakdown summary for the specified time window and filters.
This is a convenience method that creates an instance of theRevenueBreakdown.Builderavoiding the need to create one manually viaRevenueBreakdown.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevenueBreakdown(RevenueBreakdown).- Parameters:
revenueBreakdown- a consumer that will call methods onRevenueBreakdown.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-