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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetUsageStatisticsResponse.BuildernextToken(String nextToken)The pagination parameter to be used on the next list operation to retrieve more items.default GetUsageStatisticsResponse.BuilderusageStatistics(Consumer<UsageStatistics.Builder> usageStatistics)The usage statistics object.GetUsageStatisticsResponse.BuilderusageStatistics(UsageStatistics usageStatistics)The usage statistics object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
usageStatistics
GetUsageStatisticsResponse.Builder usageStatistics(UsageStatistics 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:
usageStatistics(UsageStatistics)
-
nextToken
GetUsageStatisticsResponse.Builder nextToken(String 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.
-
-