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 Details

    • 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 the UsageStatistics.Builder avoiding the need to create one manually via UsageStatistics.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to usageStatistics(UsageStatistics).

      Parameters:
      usageStatistics - a consumer that will call methods on UsageStatistics.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.