public static interface GetUsageTotalsResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<GetUsageTotalsResponse.Builder,GetUsageTotalsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetUsageTotalsResponse.Builder |
timeRange(String timeRange)
The inclusive time period that the usage data applies to.
|
GetUsageTotalsResponse.Builder |
timeRange(TimeRange timeRange)
The inclusive time period that the usage data applies to.
|
GetUsageTotalsResponse.Builder |
usageTotals(Collection<UsageTotal> usageTotals)
An array of objects that contains the results of the query.
|
GetUsageTotalsResponse.Builder |
usageTotals(Consumer<UsageTotal.Builder>... usageTotals)
An array of objects that contains the results of the query.
|
GetUsageTotalsResponse.Builder |
usageTotals(UsageTotal... usageTotals)
An array of objects that contains the results of the query.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetUsageTotalsResponse.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,
TimeRangeGetUsageTotalsResponse.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,
TimeRangeGetUsageTotalsResponse.Builder usageTotals(Collection<UsageTotal> usageTotals)
An array of objects that contains the results of the query. Each object contains the data for a specific usage metric.
usageTotals - An array of objects that contains the results of the query. Each object contains the data for a
specific usage metric.GetUsageTotalsResponse.Builder usageTotals(UsageTotal... usageTotals)
An array of objects that contains the results of the query. Each object contains the data for a specific usage metric.
usageTotals - An array of objects that contains the results of the query. Each object contains the data for a
specific usage metric.GetUsageTotalsResponse.Builder usageTotals(Consumer<UsageTotal.Builder>... usageTotals)
An array of objects that contains the results of the query. Each object contains the data for a specific usage metric.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #usageTotals(List) .usageTotals - a consumer that will call methods on List.Builder #usageTotals(List) Copyright © 2021. All rights reserved.