Interface UsageByAccount.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UsageByAccount.Builder,UsageByAccount>,SdkBuilder<UsageByAccount.Builder,UsageByAccount>,SdkPojo
- Enclosing class:
- UsageByAccount
public static interface UsageByAccount.Builder extends SdkPojo, CopyableBuilder<UsageByAccount.Builder,UsageByAccount>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UsageByAccount.Buildercurrency(String currency)The type of currency that the value for the metric (estimatedCost) is reported in.UsageByAccount.Buildercurrency(Currency currency)The type of currency that the value for the metric (estimatedCost) is reported in.UsageByAccount.BuilderestimatedCost(String estimatedCost)The estimated value for the metric.default UsageByAccount.BuilderserviceLimit(Consumer<ServiceLimit.Builder> serviceLimit)The current value for the quota that corresponds to the metric specified by the type field.UsageByAccount.BuilderserviceLimit(ServiceLimit serviceLimit)The current value for the quota that corresponds to the metric specified by the type field.UsageByAccount.Buildertype(String type)The name of the metric.UsageByAccount.Buildertype(UsageType type)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 Detail
-
currency
UsageByAccount.Builder currency(String currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
-
currency
UsageByAccount.Builder currency(Currency currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
-
estimatedCost
UsageByAccount.Builder estimatedCost(String 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
UsageByAccount.Builder serviceLimit(ServiceLimit 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
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.Builderavoiding the need to create one manually viaServiceLimit.builder().When the
Consumercompletes,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:
serviceLimit(ServiceLimit)
-
type
UsageByAccount.Builder type(String 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:
UsageType,UsageType
-
type
UsageByAccount.Builder type(UsageType 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:
UsageType,UsageType
-
-