Interface PointsOfInterest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PointsOfInterest.Builder,PointsOfInterest>,SdkBuilder<PointsOfInterest.Builder,PointsOfInterest>,SdkPojo
- Enclosing class:
- PointsOfInterest
@Mutable @NotThreadSafe public static interface PointsOfInterest.Builder extends SdkPojo, CopyableBuilder<PointsOfInterest.Builder,PointsOfInterest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PointsOfInterest.BuildertimestampRanges(Collection<TimestampRange> timestampRanges)Contains the timestamp ranges (start time through end time) of matched categories and rules.PointsOfInterest.BuildertimestampRanges(Consumer<TimestampRange.Builder>... timestampRanges)Contains the timestamp ranges (start time through end time) of matched categories and rules.PointsOfInterest.BuildertimestampRanges(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
timestampRanges
PointsOfInterest.Builder timestampRanges(Collection<TimestampRange> 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
PointsOfInterest.Builder timestampRanges(TimestampRange... 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
PointsOfInterest.Builder timestampRanges(Consumer<TimestampRange.Builder>... 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.Builderavoiding the need to create one manually viaTimestampRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#timestampRanges(List.) - 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:
#timestampRanges(java.util.Collection)
-
-