public static interface UsageDataSourceResult.Builder extends SdkPojo, CopyableBuilder<UsageDataSourceResult.Builder,UsageDataSourceResult>
| Modifier and Type | Method and Description |
|---|---|
UsageDataSourceResult.Builder |
dataSource(DataSource dataSource)
The data source type that generated usage.
|
UsageDataSourceResult.Builder |
dataSource(String dataSource)
The data source type that generated usage.
|
default UsageDataSourceResult.Builder |
total(Consumer<Total.Builder> total)
Represents the total of usage for the specified data source.
|
UsageDataSourceResult.Builder |
total(Total total)
Represents the total of usage for the specified data source.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUsageDataSourceResult.Builder dataSource(String dataSource)
The data source type that generated usage.
dataSource - The data source type that generated usage.DataSource,
DataSourceUsageDataSourceResult.Builder dataSource(DataSource dataSource)
The data source type that generated usage.
dataSource - The data source type that generated usage.DataSource,
DataSourceUsageDataSourceResult.Builder total(Total total)
Represents the total of usage for the specified data source.
total - Represents the total of usage for the specified data source.default UsageDataSourceResult.Builder total(Consumer<Total.Builder> total)
Represents the total of usage for the specified data source.
This is a convenience method that creates an instance of theTotal.Builder avoiding the need to
create one manually via Total.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to total(Total).
total - a consumer that will call methods on Total.Buildertotal(Total)Copyright © 2023. All rights reserved.