Interface DateRange.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DateRange.Builder,DateRange>,SdkBuilder<DateRange.Builder,DateRange>,SdkPojo
- Enclosing class:
- DateRange
public static interface DateRange.Builder extends SdkPojo, CopyableBuilder<DateRange.Builder,DateRange>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DateRange.BuilderfromDate(Instant fromDate)This value is the beginning date, inclusive.DateRange.BuildertoDate(Instant toDate)This value is the end date, inclusive.-
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
-
fromDate
DateRange.Builder fromDate(Instant fromDate)
This value is the beginning date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
- Parameters:
fromDate- This value is the beginning date, inclusive.The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toDate
DateRange.Builder toDate(Instant toDate)
This value is the end date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
- Parameters:
toDate- This value is the end date, inclusive.The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-