Interface GetEstimatedWaterAllocationRequest.Builder

  • Method Details

    • timePeriod

      The date range for fetching estimated water allocation. The range must include the start date of a year for that year's data to be included in the response.

      Parameters:
      timePeriod - The date range for fetching estimated water allocation. The range must include the start date of a year for that year's data to be included in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timePeriod

      The date range for fetching estimated water allocation. The range must include the start date of a year for that year's data to be included in the response.

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

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

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

      The dimensions available for grouping estimated water allocation.

      Parameters:
      groupBy - The dimensions available for grouping estimated water allocation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupByWithStrings

      GetEstimatedWaterAllocationRequest.Builder groupByWithStrings(String... groupBy)

      The dimensions available for grouping estimated water allocation.

      Parameters:
      groupBy - The dimensions available for grouping estimated water allocation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupBy

      The dimensions available for grouping estimated water allocation.

      Parameters:
      groupBy - The dimensions available for grouping estimated water allocation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupBy

      The dimensions available for grouping estimated water allocation.

      Parameters:
      groupBy - The dimensions available for grouping estimated water allocation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filterBy

      The criteria for filtering estimated water allocation. To determine which dimensions are available to be filtered by, you can first call GetEstimatedWaterAllocationDimensionValues

      Parameters:
      filterBy - The criteria for filtering estimated water allocation. To determine which dimensions are available to be filtered by, you can first call GetEstimatedWaterAllocationDimensionValues
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filterBy

      The criteria for filtering estimated water allocation. To determine which dimensions are available to be filtered by, you can first call GetEstimatedWaterAllocationDimensionValues

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

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

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

      GetEstimatedWaterAllocationRequest.Builder allocationTypesWithStrings(Collection<String> allocationTypes)

      The allocation types to include in the results. If absent, returns TOTAL_WATER_WITHDRAWALS allocation types.

      Parameters:
      allocationTypes - The allocation types to include in the results. If absent, returns TOTAL_WATER_WITHDRAWALS allocation types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allocationTypesWithStrings

      GetEstimatedWaterAllocationRequest.Builder allocationTypesWithStrings(String... allocationTypes)

      The allocation types to include in the results. If absent, returns TOTAL_WATER_WITHDRAWALS allocation types.

      Parameters:
      allocationTypes - The allocation types to include in the results. If absent, returns TOTAL_WATER_WITHDRAWALS allocation types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allocationTypes

      The allocation types to include in the results. If absent, returns TOTAL_WATER_WITHDRAWALS allocation types.

      Parameters:
      allocationTypes - The allocation types to include in the results. If absent, returns TOTAL_WATER_WITHDRAWALS allocation types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allocationTypes

      The allocation types to include in the results. If absent, returns TOTAL_WATER_WITHDRAWALS allocation types.

      Parameters:
      allocationTypes - The allocation types to include in the results. If absent, returns TOTAL_WATER_WITHDRAWALS allocation types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • granularity

      The time granularity for the results. Only YEARLY_CALENDAR time granularity is currently supported for water allocation. Defaults to YEARLY_CALENDAR if absent.

      If requesting partial time periods, data will be returned based on the smallest supported granularity. For example, requesting 2025-04-01T00:00:00Z to 2026-04-01T00:00:00Z with YEARLY_CALENDAR will return all the data for 2026 only.

      Parameters:
      granularity - The time granularity for the results. Only YEARLY_CALENDAR time granularity is currently supported for water allocation. Defaults to YEARLY_CALENDAR if absent.

      If requesting partial time periods, data will be returned based on the smallest supported granularity. For example, requesting 2025-04-01T00:00:00Z to 2026-04-01T00:00:00Z with YEARLY_CALENDAR will return all the data for 2026 only.

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

      The time granularity for the results. Only YEARLY_CALENDAR time granularity is currently supported for water allocation. Defaults to YEARLY_CALENDAR if absent.

      If requesting partial time periods, data will be returned based on the smallest supported granularity. For example, requesting 2025-04-01T00:00:00Z to 2026-04-01T00:00:00Z with YEARLY_CALENDAR will return all the data for 2026 only.

      Parameters:
      granularity - The time granularity for the results. Only YEARLY_CALENDAR time granularity is currently supported for water allocation. Defaults to YEARLY_CALENDAR if absent.

      If requesting partial time periods, data will be returned based on the smallest supported granularity. For example, requesting 2025-04-01T00:00:00Z to 2026-04-01T00:00:00Z with YEARLY_CALENDAR will return all the data for 2026 only.

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

      The maximum number of results to return in a single call. Default is 1000.

      Parameters:
      maxResults - The maximum number of results to return in a single call. Default is 1000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

      Parameters:
      nextToken - The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
      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.