Interface ReservationCoverageGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservationCoverageGroup.Builder,
,ReservationCoverageGroup> SdkBuilder<ReservationCoverageGroup.Builder,
,ReservationCoverageGroup> SdkPojo
- Enclosing class:
ReservationCoverageGroup
public static interface ReservationCoverageGroup.Builder
extends SdkPojo, CopyableBuilder<ReservationCoverageGroup.Builder,ReservationCoverageGroup>
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, String> attributes) The attributes for this group of reservations.default ReservationCoverageGroup.Builder
coverage
(Consumer<Coverage.Builder> coverage) How much instance usage this group of reservations covered.How much instance usage this group of reservations covered.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 attributes for this group of reservations.
- Parameters:
attributes
- The attributes for this group of reservations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coverage
How much instance usage this group of reservations covered.
- Parameters:
coverage
- How much instance usage this group of reservations covered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coverage
How much instance usage this group of reservations covered.
This is a convenience method that creates an instance of theCoverage.Builder
avoiding the need to create one manually viaCoverage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocoverage(Coverage)
.- Parameters:
coverage
- a consumer that will call methods onCoverage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-