public static interface GetUsageStatisticsResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<GetUsageStatisticsResponse.Builder,GetUsageStatisticsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetUsageStatisticsResponse.Builder |
nextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
GetUsageStatisticsResponse.Builder |
records(Collection<UsageRecord> records)
An array of objects that contains the results of the query.
|
GetUsageStatisticsResponse.Builder |
records(Consumer<UsageRecord.Builder>... records)
An array of objects that contains the results of the query.
|
GetUsageStatisticsResponse.Builder |
records(UsageRecord... records)
An array of objects that contains the results of the query.
|
GetUsageStatisticsResponse.Builder |
timeRange(String timeRange)
The inclusive time period that the usage data applies to.
|
GetUsageStatisticsResponse.Builder |
timeRange(TimeRange timeRange)
The inclusive time period that the usage data applies to.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetUsageStatisticsResponse.Builder nextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken - The string to use in a subsequent request to get the next page of results in a paginated response.
This value is null if there are no additional pages.GetUsageStatisticsResponse.Builder records(Collection<UsageRecord> records)
An array of objects that contains the results of the query. Each object contains the data for an account that meets the filter criteria specified in the request.
records - An array of objects that contains the results of the query. Each object contains the data for an
account that meets the filter criteria specified in the request.GetUsageStatisticsResponse.Builder records(UsageRecord... records)
An array of objects that contains the results of the query. Each object contains the data for an account that meets the filter criteria specified in the request.
records - An array of objects that contains the results of the query. Each object contains the data for an
account that meets the filter criteria specified in the request.GetUsageStatisticsResponse.Builder records(Consumer<UsageRecord.Builder>... records)
An array of objects that contains the results of the query. Each object contains the data for an account that meets the filter criteria specified in the request.
This is a convenience method that creates an instance of theUsageRecord.Builder avoiding the need to create one
manually via UsageRecord.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #records(List.
records - a consumer that will call methods on
UsageRecord.Builder#records(java.util.Collection) GetUsageStatisticsResponse.Builder timeRange(String timeRange)
The inclusive time period that the usage data applies to. Possible values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days.
timeRange - The inclusive time period that the usage data applies to. Possible values are: MONTH_TO_DATE, for the
current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days.TimeRange,
TimeRangeGetUsageStatisticsResponse.Builder timeRange(TimeRange timeRange)
The inclusive time period that the usage data applies to. Possible values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days.
timeRange - The inclusive time period that the usage data applies to. Possible values are: MONTH_TO_DATE, for the
current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days.TimeRange,
TimeRangeCopyright © 2022. All rights reserved.