public static interface UsageByAccount.Builder extends SdkPojo, CopyableBuilder<UsageByAccount.Builder,UsageByAccount>
| Modifier and Type | Method and Description |
|---|---|
UsageByAccount.Builder |
currency(Currency currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
|
UsageByAccount.Builder |
currency(String currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
|
UsageByAccount.Builder |
estimatedCost(String estimatedCost)
The estimated value for the metric.
|
default UsageByAccount.Builder |
serviceLimit(Consumer<ServiceLimit.Builder> serviceLimit)
The current value for the quota that corresponds to the metric specified by the type field.
|
UsageByAccount.Builder |
serviceLimit(ServiceLimit serviceLimit)
The current value for the quota that corresponds to the metric specified by the type field.
|
UsageByAccount.Builder |
type(String type)
The name of the metric.
|
UsageByAccount.Builder |
type(UsageType type)
The name of the metric.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUsageByAccount.Builder currency(String currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
UsageByAccount.Builder currency(Currency currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
UsageByAccount.Builder estimatedCost(String estimatedCost)
The estimated value for the metric.
estimatedCost - The estimated value for the metric.UsageByAccount.Builder serviceLimit(ServiceLimit serviceLimit)
The current value for the quota that corresponds to the metric specified by the type field.
serviceLimit - The current value for the quota that corresponds to the metric specified by the type field.default UsageByAccount.Builder serviceLimit(Consumer<ServiceLimit.Builder> serviceLimit)
The current value for the quota that corresponds to the metric specified by the type field.
This is a convenience method that creates an instance of theServiceLimit.Builder avoiding the need
to create one manually via ServiceLimit.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to serviceLimit(ServiceLimit).
serviceLimit - a consumer that will call methods on ServiceLimit.BuilderserviceLimit(ServiceLimit)UsageByAccount.Builder type(String type)
The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect sensitive data.
type - The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets;
and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect sensitive data.UsageType,
UsageTypeUsageByAccount.Builder type(UsageType type)
The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect sensitive data.
type - The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets;
and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect sensitive data.UsageType,
UsageTypeCopyright © 2022. All rights reserved.