Interface DateTimeRange.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DateTimeRange.Builder,DateTimeRange>,SdkBuilder<DateTimeRange.Builder,DateTimeRange>,SdkPojo
- Enclosing class:
- DateTimeRange
public static interface DateTimeRange.Builder extends SdkPojo, CopyableBuilder<DateTimeRange.Builder,DateTimeRange>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DateTimeRange.Builderfrom(Instant from)The starting date and time of a time range.DateTimeRange.Builderto(Instant to)The ending date and time of a 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
from
DateTimeRange.Builder from(Instant from)
The starting date and time of a time range.
- Parameters:
from- The starting date and time of a time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
DateTimeRange.Builder to(Instant to)
The ending date and time of a time range.
- Parameters:
to- The ending date and time of a time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-