Interface GetEstimatedCarbonEmissionsDimensionValuesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetEstimatedCarbonEmissionsDimensionValuesResponse.Builder,,GetEstimatedCarbonEmissionsDimensionValuesResponse> SdkBuilder<GetEstimatedCarbonEmissionsDimensionValuesResponse.Builder,,GetEstimatedCarbonEmissionsDimensionValuesResponse> SdkPojo,SdkResponse.Builder,SustainabilityResponse.Builder
- Enclosing class:
GetEstimatedCarbonEmissionsDimensionValuesResponse
@Mutable
@NotThreadSafe
public static interface GetEstimatedCarbonEmissionsDimensionValuesResponse.Builder
extends SustainabilityResponse.Builder, SdkPojo, CopyableBuilder<GetEstimatedCarbonEmissionsDimensionValuesResponse.Builder,GetEstimatedCarbonEmissionsDimensionValuesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token indicating there are additional pages available.results(Collection<DimensionEntry> results) The list of possible dimensions over which the emissions data is aggregated.results(Consumer<DimensionEntry.Builder>... results) The list of possible dimensions over which the emissions data is aggregated.results(DimensionEntry... results) The list of possible dimensions over which the emissions data is aggregated.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.sustainability.model.SustainabilityResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
results
GetEstimatedCarbonEmissionsDimensionValuesResponse.Builder results(Collection<DimensionEntry> results) The list of possible dimensions over which the emissions data is aggregated.
- Parameters:
results- The list of possible dimensions over which the emissions data is aggregated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The list of possible dimensions over which the emissions data is aggregated.
- Parameters:
results- The list of possible dimensions over which the emissions data is aggregated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
GetEstimatedCarbonEmissionsDimensionValuesResponse.Builder results(Consumer<DimensionEntry.Builder>... results) The list of possible dimensions over which the emissions data is aggregated.
This is a convenience method that creates an instance of theDimensionEntry.Builderavoiding the need to create one manually viaDimensionEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresults(List<DimensionEntry>).- Parameters:
results- a consumer that will call methods onDimensionEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
- Parameters:
nextToken- The pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-