Interface AutomationEventSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutomationEventSummary.Builder,,AutomationEventSummary> SdkBuilder<AutomationEventSummary.Builder,,AutomationEventSummary> SdkPojo
- Enclosing class:
AutomationEventSummary
-
Method Summary
Modifier and TypeMethodDescriptiondimensions(Collection<SummaryDimension> dimensions) The dimensions used to group this summary, such as event status.dimensions(Consumer<SummaryDimension.Builder>... dimensions) The dimensions used to group this summary, such as event status.dimensions(SummaryDimension... dimensions) The dimensions used to group this summary, such as event status.The key identifier for this summary grouping.default AutomationEventSummary.BuildertimePeriod(Consumer<TimePeriod.Builder> timePeriod) The time period covered by this summary, with inclusive start time and exclusive end time.timePeriod(TimePeriod timePeriod) The time period covered by this summary, with inclusive start time and exclusive end time.default AutomationEventSummary.Buildertotal(Consumer<SummaryTotals.Builder> total) The aggregated totals for this summary, including event count and estimated savings.total(SummaryTotals total) The aggregated totals for this summary, including event count and estimated savings.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
-
key
The key identifier for this summary grouping.
- Parameters:
key- The key identifier for this summary grouping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimensions used to group this summary, such as event status.
- Parameters:
dimensions- The dimensions used to group this summary, such as event status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimensions used to group this summary, such as event status.
- Parameters:
dimensions- The dimensions used to group this summary, such as event status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimensions used to group this summary, such as event status.
This is a convenience method that creates an instance of theSummaryDimension.Builderavoiding the need to create one manually viaSummaryDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todimensions(List<SummaryDimension>).- Parameters:
dimensions- a consumer that will call methods onSummaryDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timePeriod
The time period covered by this summary, with inclusive start time and exclusive end time.
- Parameters:
timePeriod- The time period covered by this summary, with inclusive start time and exclusive end time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
The time period covered by this summary, with inclusive start time and exclusive end time.
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:
-
total
The aggregated totals for this summary, including event count and estimated savings.
- Parameters:
total- The aggregated totals for this summary, including event count and estimated savings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
total
The aggregated totals for this summary, including event count and estimated savings.
This is a convenience method that creates an instance of theSummaryTotals.Builderavoiding the need to create one manually viaSummaryTotals.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tototal(SummaryTotals).- Parameters:
total- a consumer that will call methods onSummaryTotals.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-