Interface GetCapacityManagerMetricDimensionsRequest.Builder

  • Method Details

    • groupByWithStrings

      The dimensions to group by when retrieving available dimension values. This determines which dimension combinations are returned. Required parameter.

      Parameters:
      groupBy - The dimensions to group by when retrieving available dimension values. This determines which dimension combinations are returned. Required parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupByWithStrings

      The dimensions to group by when retrieving available dimension values. This determines which dimension combinations are returned. Required parameter.

      Parameters:
      groupBy - The dimensions to group by when retrieving available dimension values. This determines which dimension combinations are returned. Required parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupBy

      The dimensions to group by when retrieving available dimension values. This determines which dimension combinations are returned. Required parameter.

      Parameters:
      groupBy - The dimensions to group by when retrieving available dimension values. This determines which dimension combinations are returned. Required parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupBy

      The dimensions to group by when retrieving available dimension values. This determines which dimension combinations are returned. Required parameter.

      Parameters:
      groupBy - The dimensions to group by when retrieving available dimension values. This determines which dimension combinations are returned. Required parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filterBy

      Conditions to filter which dimension values are returned. Each filter specifies a dimension, comparison operator, and values to match against.

      Parameters:
      filterBy - Conditions to filter which dimension values are returned. Each filter specifies a dimension, comparison operator, and values to match against.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filterBy

      Conditions to filter which dimension values are returned. Each filter specifies a dimension, comparison operator, and values to match against.

      Parameters:
      filterBy - Conditions to filter which dimension values are returned. Each filter specifies a dimension, comparison operator, and values to match against.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filterBy

      Conditions to filter which dimension values are returned. Each filter specifies a dimension, comparison operator, and values to match against.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filterBy(List<CapacityManagerCondition>).

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

      The start time for the dimension query, in ISO 8601 format. Only dimensions with data in this time range will be returned.

      Parameters:
      startTime - The start time for the dimension query, in ISO 8601 format. Only dimensions with data in this time range will be returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The end time for the dimension query, in ISO 8601 format. Only dimensions with data in this time range will be returned.

      Parameters:
      endTime - The end time for the dimension query, in ISO 8601 format. Only dimensions with data in this time range will be returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricNamesWithStrings

      The metric names to use as an additional filter when retrieving dimensions. Only dimensions that have data for these metrics will be returned. Required parameter with maximum size of 1 for v1.

      Parameters:
      metricNames - The metric names to use as an additional filter when retrieving dimensions. Only dimensions that have data for these metrics will be returned. Required parameter with maximum size of 1 for v1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricNamesWithStrings

      GetCapacityManagerMetricDimensionsRequest.Builder metricNamesWithStrings(String... metricNames)

      The metric names to use as an additional filter when retrieving dimensions. Only dimensions that have data for these metrics will be returned. Required parameter with maximum size of 1 for v1.

      Parameters:
      metricNames - The metric names to use as an additional filter when retrieving dimensions. Only dimensions that have data for these metrics will be returned. Required parameter with maximum size of 1 for v1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricNames

      The metric names to use as an additional filter when retrieving dimensions. Only dimensions that have data for these metrics will be returned. Required parameter with maximum size of 1 for v1.

      Parameters:
      metricNames - The metric names to use as an additional filter when retrieving dimensions. Only dimensions that have data for these metrics will be returned. Required parameter with maximum size of 1 for v1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricNames

      The metric names to use as an additional filter when retrieving dimensions. Only dimensions that have data for these metrics will be returned. Required parameter with maximum size of 1 for v1.

      Parameters:
      metricNames - The metric names to use as an additional filter when retrieving dimensions. Only dimensions that have data for these metrics will be returned. Required parameter with maximum size of 1 for v1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      The maximum number of dimension combinations to return. Valid range is 1 to 1000. Use with NextToken for pagination.

      Parameters:
      maxResults - The maximum number of dimension combinations to return. Valid range is 1 to 1000. Use with NextToken for pagination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token for the next page of results. Use this value in a subsequent call to retrieve additional dimension values.

      Parameters:
      nextToken - The token for the next page of results. Use this value in a subsequent call to retrieve additional dimension values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dryRun

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      Parameters:
      dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.