Interface SavingsPlansCoverage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SavingsPlansCoverage.Builder,
,SavingsPlansCoverage> SdkBuilder<SavingsPlansCoverage.Builder,
,SavingsPlansCoverage> SdkPojo
- Enclosing class:
SavingsPlansCoverage
public static interface SavingsPlansCoverage.Builder
extends SdkPojo, CopyableBuilder<SavingsPlansCoverage.Builder,SavingsPlansCoverage>
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, String> attributes) The attribute that applies to a specificDimension
.default SavingsPlansCoverage.Builder
coverage
(Consumer<SavingsPlansCoverageData.Builder> coverage) The amount of Savings Plans eligible usage that the Savings Plans covered.coverage
(SavingsPlansCoverageData coverage) The amount of Savings Plans eligible usage that the Savings Plans covered.default SavingsPlansCoverage.Builder
timePeriod
(Consumer<DateInterval.Builder> timePeriod) Sets the value of the TimePeriod property for this object.timePeriod
(DateInterval timePeriod) Sets the value of the TimePeriod property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
attributes
The attribute that applies to a specific
Dimension
.- Parameters:
attributes
- The attribute that applies to a specificDimension
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coverage
The amount of Savings Plans eligible usage that the Savings Plans covered.
- Parameters:
coverage
- The amount of Savings Plans eligible usage that the Savings Plans covered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coverage
The amount of Savings Plans eligible usage that the Savings Plans covered.
This is a convenience method that creates an instance of theSavingsPlansCoverageData.Builder
avoiding the need to create one manually viaSavingsPlansCoverageData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocoverage(SavingsPlansCoverageData)
.- Parameters:
coverage
- a consumer that will call methods onSavingsPlansCoverageData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timePeriod
Sets the value of the TimePeriod property for this object.- Parameters:
timePeriod
- The new value for the TimePeriod property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
Sets the value of the TimePeriod property for this object. This is a convenience method that creates an instance of theDateInterval.Builder
avoiding the need to create one manually viaDateInterval.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimePeriod(DateInterval)
.- Parameters:
timePeriod
- a consumer that will call methods onDateInterval.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-