Interface EstimatedCarbonEmissions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EstimatedCarbonEmissions.Builder,,EstimatedCarbonEmissions> SdkBuilder<EstimatedCarbonEmissions.Builder,,EstimatedCarbonEmissions> SdkPojo
- Enclosing class:
EstimatedCarbonEmissions
-
Method Summary
Modifier and TypeMethodDescriptiondimensionsValues(Map<Dimension, String> dimensionsValues) The dimensions used to group emissions values.dimensionsValuesWithStrings(Map<String, String> dimensionsValues) The dimensions used to group emissions values.emissionsValues(Map<EmissionsType, Emissions> emissionsValues) The emissions values for the requested emissions types.emissionsValuesWithStrings(Map<String, Emissions> emissionsValues) The emissions values for the requested emissions types.modelVersion(String modelVersion) The semantic version-formatted string that indicates the methodology version used to calculate the emission values.default EstimatedCarbonEmissions.BuildertimePeriod(Consumer<TimePeriod.Builder> timePeriod) The reporting period for emission values.timePeriod(TimePeriod timePeriod) The reporting period for emission values.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
timePeriod
The reporting period for emission values.
- Parameters:
timePeriod- The reporting period for emission values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
The reporting period for emission values.
This is a convenience method that creates an instance of theTimePeriod.Builderavoiding the need to create one manually viaTimePeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimePeriod(TimePeriod).- Parameters:
timePeriod- a consumer that will call methods onTimePeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dimensionsValuesWithStrings
The dimensions used to group emissions values.
- Parameters:
dimensionsValues- The dimensions used to group emissions values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionsValues
The dimensions used to group emissions values.
- Parameters:
dimensionsValues- The dimensions used to group emissions values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersion
The semantic version-formatted string that indicates the methodology version used to calculate the emission 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
ModelVersionvalues. To track the evolution of the methodology and compare emission values from previous versions, we recommend creating a Data Export.- Parameters:
modelVersion- The semantic version-formatted string that indicates the methodology version used to calculate the emission 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
ModelVersionvalues. To track the evolution of the methodology and compare emission values from previous versions, we recommend creating a Data Export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emissionsValuesWithStrings
The emissions values for the requested emissions types.
- Parameters:
emissionsValues- The emissions values for the requested emissions types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emissionsValues
The emissions values for the requested emissions types.
- Parameters:
emissionsValues- The emissions values for the requested emissions types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-