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 Details

    • currency

      UsageByAccount.Builder currency(String 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

      UsageByAccount.Builder currency(Currency 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

      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 the ServiceLimit.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).

      Parameters:
      serviceLimit - a consumer that will call methods on ServiceLimit.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: