Interface UsageByAccount.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UsageByAccount.Builder,
,UsageByAccount> SdkBuilder<UsageByAccount.Builder,
,UsageByAccount> SdkPojo
- Enclosing class:
UsageByAccount
-
Method Summary
Modifier and TypeMethodDescriptionThe type of currency that the value for the metric (estimatedCost) is reported in.The type of currency that the value for the metric (estimatedCost) is reported in.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.serviceLimit
(ServiceLimit serviceLimit) The current value for the quota that corresponds to the metric specified by the type field.The name of the metric.The name of the metric.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
currency
The type of currency that the value for the metric (estimatedCost) is reported in.
- Parameters:
currency
- The type of currency that the value for the metric (estimatedCost) is reported in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currency
The type of currency that the value for the metric (estimatedCost) is reported in.
- Parameters:
currency
- The type of currency that the value for the metric (estimatedCost) is reported in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
estimatedCost
The estimated value for the metric.
- Parameters:
estimatedCost
- The estimated value for the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceLimit
The current value for the quota that corresponds to the metric specified by the type field.
- Parameters:
serviceLimit
- The current value for the quota that corresponds to the metric specified by the type field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaServiceLimit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceLimit(ServiceLimit)
.- Parameters:
serviceLimit
- a consumer that will call methods onServiceLimit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.
- Parameters:
type
- The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.
- Parameters:
type
- The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-