Interface DescribeAccountSettingsResponse.Builder

  • Method Details

    • maxQueryTCU

      The maximum number of Timestream compute units (TCUs) the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on. This configuration is applicable only for on-demand usage of (TCUs).

      Parameters:
      maxQueryTCU - The maximum number of Timestream compute units (TCUs) the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on. This configuration is applicable only for on-demand usage of (TCUs).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryPricingModel

      DescribeAccountSettingsResponse.Builder queryPricingModel(String queryPricingModel)

      The pricing model for queries in your account.

      The QueryPricingModel parameter is used by several Timestream operations; however, the UpdateAccountSettings API operation doesn't recognize any values other than COMPUTE_UNITS.

      Parameters:
      queryPricingModel - The pricing model for queries in your account.

      The QueryPricingModel parameter is used by several Timestream operations; however, the UpdateAccountSettings API operation doesn't recognize any values other than COMPUTE_UNITS.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queryPricingModel

      DescribeAccountSettingsResponse.Builder queryPricingModel(QueryPricingModel queryPricingModel)

      The pricing model for queries in your account.

      The QueryPricingModel parameter is used by several Timestream operations; however, the UpdateAccountSettings API operation doesn't recognize any values other than COMPUTE_UNITS.

      Parameters:
      queryPricingModel - The pricing model for queries in your account.

      The QueryPricingModel parameter is used by several Timestream operations; however, the UpdateAccountSettings API operation doesn't recognize any values other than COMPUTE_UNITS.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queryCompute

      An object that contains the usage settings for Timestream Compute Units (TCUs) in your account for the query workload.

      Parameters:
      queryCompute - An object that contains the usage settings for Timestream Compute Units (TCUs) in your account for the query workload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryCompute

      An object that contains the usage settings for Timestream Compute Units (TCUs) in your account for the query workload.

      This is a convenience method that creates an instance of the QueryComputeResponse.Builder avoiding the need to create one manually via QueryComputeResponse.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to queryCompute(QueryComputeResponse).

      Parameters:
      queryCompute - a consumer that will call methods on QueryComputeResponse.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: