Interface DateTimeRange.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<DateTimeRange.Builder,,DateTimeRange> SdkBuilder<DateTimeRange.Builder,,DateTimeRange> SdkPojo
- Enclosing class:
 DateTimeRange
@Mutable
@NotThreadSafe
public static interface DateTimeRange.Builder
extends SdkPojo, CopyableBuilder<DateTimeRange.Builder,DateTimeRange> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault DateTimeRange.BuilderendTime(Consumer<DateTimeValue.Builder> endTime) The end time of the date range for querying data.endTime(DateTimeValue endTime) The end time of the date range for querying data.default DateTimeRange.BuilderstartTime(Consumer<DateTimeValue.Builder> startTime) The start time of the date range for querying data.startTime(DateTimeValue startTime) The start time of the date range for querying data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
startTime
The start time of the date range for querying data.
- Parameters:
 startTime- The start time of the date range for querying data.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
startTime
The start time of the date range for querying data.
This is a convenience method that creates an instance of theDateTimeValue.Builderavoiding the need to create one manually viaDateTimeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostartTime(DateTimeValue).- Parameters:
 startTime- a consumer that will call methods onDateTimeValue.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
endTime
The end time of the date range for querying data.
- Parameters:
 endTime- The end time of the date range for querying data.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
endTime
The end time of the date range for querying data.
This is a convenience method that creates an instance of theDateTimeValue.Builderavoiding the need to create one manually viaDateTimeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendTime(DateTimeValue).- Parameters:
 endTime- a consumer that will call methods onDateTimeValue.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -