Interface GetUsageStatisticsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetUsageStatisticsResponse.Builder,,GetUsageStatisticsResponse> GuardDutyResponse.Builder,SdkBuilder<GetUsageStatisticsResponse.Builder,,GetUsageStatisticsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetUsageStatisticsResponse
public static interface GetUsageStatisticsResponse.Builder
extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<GetUsageStatisticsResponse.Builder,GetUsageStatisticsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination parameter to be used on the next list operation to retrieve more items.usageStatistics(Consumer<UsageStatistics.Builder> usageStatistics) The usage statistics object.usageStatistics(UsageStatistics usageStatistics) The usage statistics object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
usageStatistics
The usage statistics object. If a UsageStatisticType was provided, the objects representing other types will be null.
- Parameters:
usageStatistics- The usage statistics object. If a UsageStatisticType was provided, the objects representing other types will be null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageStatistics
default GetUsageStatisticsResponse.Builder usageStatistics(Consumer<UsageStatistics.Builder> usageStatistics) The usage statistics object. If a UsageStatisticType was provided, the objects representing other types will be null.
This is a convenience method that creates an instance of theUsageStatistics.Builderavoiding the need to create one manually viaUsageStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousageStatistics(UsageStatistics).- Parameters:
usageStatistics- a consumer that will call methods onUsageStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination parameter to be used on the next list operation to retrieve more items.
- Parameters:
nextToken- The pagination parameter to be used on the next list operation to retrieve more items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-