Interface EstimatedWaterAllocation.Builder

  • Method Details

    • timePeriod

      The reporting period for water allocation values.

      Parameters:
      timePeriod - The reporting period for water allocation values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timePeriod

      The reporting period for water allocation values.

      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:
    • dimensionsValuesWithStrings

      EstimatedWaterAllocation.Builder dimensionsValuesWithStrings(Map<String,String> dimensionsValues)

      The dimensions used to group water allocation values.

      Parameters:
      dimensionsValues - The dimensions used to group water allocation values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dimensionsValues

      EstimatedWaterAllocation.Builder dimensionsValues(Map<Dimension,String> dimensionsValues)

      The dimensions used to group water allocation values.

      Parameters:
      dimensionsValues - The dimensions used to group water allocation values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelVersion

      EstimatedWaterAllocation.Builder modelVersion(String modelVersion)

      The semantic version-formatted string that indicates the methodology version used to calculate the water allocation values.

      The AWS Sustainability service reflects the most recent model version for every month. You will not see two entries for the same month with different ModelVersion values.

      Parameters:
      modelVersion - The semantic version-formatted string that indicates the methodology version used to calculate the water allocation values.

      The AWS Sustainability service reflects the most recent model version for every month. You will not see two entries for the same month with different ModelVersion values.

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

      EstimatedWaterAllocation.Builder allocationValuesWithStrings(Map<String,WaterAllocation> allocationValues)

      The allocation values for the requested water allocation types.

      Parameters:
      allocationValues - The allocation values for the requested water allocation types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allocationValues

      The allocation values for the requested water allocation types.

      Parameters:
      allocationValues - The allocation values for the requested water allocation types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.