Interface StatisticAnnotation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StatisticAnnotation.Builder,StatisticAnnotation>,SdkBuilder<StatisticAnnotation.Builder,StatisticAnnotation>,SdkPojo
- Enclosing class:
- StatisticAnnotation
public static interface StatisticAnnotation.Builder extends SdkPojo, CopyableBuilder<StatisticAnnotation.Builder,StatisticAnnotation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StatisticAnnotation.BuilderinclusionAnnotation(Consumer<TimestampedInclusionAnnotation.Builder> inclusionAnnotation)The inclusion annotation applied to the statistic.StatisticAnnotation.BuilderinclusionAnnotation(TimestampedInclusionAnnotation inclusionAnnotation)The inclusion annotation applied to the statistic.StatisticAnnotation.BuilderprofileId(String profileId)The Profile ID.StatisticAnnotation.BuilderstatisticId(String statisticId)The Statistic ID.StatisticAnnotation.BuilderstatisticRecordedOn(Instant statisticRecordedOn)The timestamp when the annotated statistic was recorded.-
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
-
profileId
StatisticAnnotation.Builder profileId(String profileId)
The Profile ID.
- Parameters:
profileId- The Profile ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statisticId
StatisticAnnotation.Builder statisticId(String statisticId)
The Statistic ID.
- Parameters:
statisticId- The Statistic ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statisticRecordedOn
StatisticAnnotation.Builder statisticRecordedOn(Instant statisticRecordedOn)
The timestamp when the annotated statistic was recorded.
- Parameters:
statisticRecordedOn- The timestamp when the annotated statistic was recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inclusionAnnotation
StatisticAnnotation.Builder inclusionAnnotation(TimestampedInclusionAnnotation inclusionAnnotation)
The inclusion annotation applied to the statistic.
- Parameters:
inclusionAnnotation- The inclusion annotation applied to the statistic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inclusionAnnotation
default StatisticAnnotation.Builder inclusionAnnotation(Consumer<TimestampedInclusionAnnotation.Builder> inclusionAnnotation)
The inclusion annotation applied to the statistic.
This is a convenience method that creates an instance of theTimestampedInclusionAnnotation.Builderavoiding the need to create one manually viaTimestampedInclusionAnnotation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinclusionAnnotation(TimestampedInclusionAnnotation).- Parameters:
inclusionAnnotation- a consumer that will call methods onTimestampedInclusionAnnotation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inclusionAnnotation(TimestampedInclusionAnnotation)
-
-