Interface TimeRange.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TimeRange.Builder,TimeRange>,SdkBuilder<TimeRange.Builder,TimeRange>,SdkPojo
- Enclosing class:
- TimeRange
public static interface TimeRange.Builder extends SdkPojo, CopyableBuilder<TimeRange.Builder,TimeRange>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimeRange.Builderend(Instant end)The end time of the time range.TimeRange.Builderstart(Instant start)The start time of the time range.-
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
-
start
TimeRange.Builder start(Instant start)
The start time of the time range.
Specify null to leave the start time open-ended.
- Parameters:
start- The start time of the time range.Specify null to leave the start time open-ended.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
end
TimeRange.Builder end(Instant end)
The end time of the time range.
Specify null to leave the end time open-ended.
- Parameters:
end- The end time of the time range.Specify null to leave the end time open-ended.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-