Interface TimePeriod.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TimePeriod.Builder,TimePeriod>,SdkBuilder<TimePeriod.Builder,TimePeriod>,SdkPojo
- Enclosing class:
- TimePeriod
public static interface TimePeriod.Builder extends SdkPojo, CopyableBuilder<TimePeriod.Builder,TimePeriod>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimePeriod.Builderend(Instant end)The end date for a budget.TimePeriod.Builderstart(Instant start)The start date for a budget.-
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
-
start
TimePeriod.Builder start(Instant start)
The start date for a budget. If you created your budget and didn't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, chose
DAILY, and didn't set a start date, Amazon Web Services set your start date to01/24/18 00:00 UTC. If you choseMONTHLY, Amazon Web Services set your start date to01/01/18 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.You can change your start date with the
UpdateBudgetoperation.- Parameters:
start- The start date for a budget. If you created your budget and didn't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, choseDAILY, and didn't set a start date, Amazon Web Services set your start date to01/24/18 00:00 UTC. If you choseMONTHLY, Amazon Web Services set your start date to01/01/18 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.You can change your start date with the
UpdateBudgetoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
end
TimePeriod.Builder end(Instant end)
The end date for a budget. If you didn't specify an end date, Amazon Web Services set your end date to
06/15/87 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers. You can change your end date with the
UpdateBudgetoperation.- Parameters:
end- The end date for a budget. If you didn't specify an end date, Amazon Web Services set your end date to06/15/87 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API.After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers. You can change your end date with the
UpdateBudgetoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-