Interface PointsOfInterest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PointsOfInterest.Builder,
,PointsOfInterest> SdkBuilder<PointsOfInterest.Builder,
,PointsOfInterest> SdkPojo
- Enclosing class:
PointsOfInterest
public static interface PointsOfInterest.Builder
extends SdkPojo, CopyableBuilder<PointsOfInterest.Builder,PointsOfInterest>
-
Method Summary
Modifier and TypeMethodDescriptiontimestampRanges
(Collection<TimestampRange> timestampRanges) Contains the timestamp ranges (start time through end time) of matched categories and rules.timestampRanges
(Consumer<TimestampRange.Builder>... timestampRanges) Contains the timestamp ranges (start time through end time) of matched categories and rules.timestampRanges
(TimestampRange... timestampRanges) Contains the timestamp ranges (start time through end time) of matched categories and rules.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
-
timestampRanges
Contains the timestamp ranges (start time through end time) of matched categories and rules.
- Parameters:
timestampRanges
- Contains the timestamp ranges (start time through end time) of matched categories and rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampRanges
Contains the timestamp ranges (start time through end time) of matched categories and rules.
- Parameters:
timestampRanges
- Contains the timestamp ranges (start time through end time) of matched categories and rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampRanges
Contains the timestamp ranges (start time through end time) of matched categories and rules.
This is a convenience method that creates an instance of theTimestampRange.Builder
avoiding the need to create one manually viaTimestampRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimestampRanges(List<TimestampRange>)
.- Parameters:
timestampRanges
- a consumer that will call methods onTimestampRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-