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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SavingsPlansCoverage.Builderattributes(Map<String,String> attributes)The attribute that applies to a specificDimension.default SavingsPlansCoverage.Buildercoverage(Consumer<SavingsPlansCoverageData.Builder> coverage)The amount of Savings Plans eligible usage that the Savings Plans covered.SavingsPlansCoverage.Buildercoverage(SavingsPlansCoverageData coverage)The amount of Savings Plans eligible usage that the Savings Plans covered.default SavingsPlansCoverage.BuildertimePeriod(Consumer<DateInterval.Builder> timePeriod)Sets the value of the TimePeriod property for this object.SavingsPlansCoverage.BuildertimePeriod(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 Detail
-
attributes
SavingsPlansCoverage.Builder attributes(Map<String,String> 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
SavingsPlansCoverage.Builder coverage(SavingsPlansCoverageData 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
default SavingsPlansCoverage.Builder coverage(Consumer<SavingsPlansCoverageData.Builder> coverage)
The amount of Savings Plans eligible usage that the Savings Plans covered.
This is a convenience method that creates an instance of theSavingsPlansCoverageData.Builderavoiding the need to create one manually viaSavingsPlansCoverageData.builder().When the
Consumercompletes,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:
coverage(SavingsPlansCoverageData)
-
timePeriod
SavingsPlansCoverage.Builder timePeriod(DateInterval 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
default SavingsPlansCoverage.Builder timePeriod(Consumer<DateInterval.Builder> timePeriod)
Sets the value of the TimePeriod property for this object. This is a convenience method that creates an instance of theDateInterval.Builderavoiding the need to create one manually viaDateInterval.builder().When the
Consumercompletes,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:
timePeriod(DateInterval)
-
-