Interface DateInterval.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DateInterval.Builder,
,DateInterval> SdkBuilder<DateInterval.Builder,
,DateInterval> SdkPojo
- Enclosing class:
DateInterval
public static interface DateInterval.Builder
extends SdkPojo, CopyableBuilder<DateInterval.Builder,DateInterval>
-
Method Summary
Modifier and TypeMethodDescriptionThe end of the time period.The beginning of the time period.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 Details
-
start
The beginning of the time period. The start date is inclusive. For example, if
start
is2017-01-01
, Amazon Web Services retrieves cost and usage data starting at2017-01-01
up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.- Parameters:
start
- The beginning of the time period. The start date is inclusive. For example, ifstart
is2017-01-01
, Amazon Web Services retrieves cost and usage data starting at2017-01-01
up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
end
The end of the time period. The end date is exclusive. For example, if
end
is2017-05-01
, Amazon Web Services retrieves cost and usage data from the start date up to, but not including,2017-05-01
.- Parameters:
end
- The end of the time period. The end date is exclusive. For example, ifend
is2017-05-01
, Amazon Web Services retrieves cost and usage data from the start date up to, but not including,2017-05-01
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-