public static class UpdateBudgetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateBudgetDetails.Builder |
amount(BigDecimal amount)
The amount of the budget expressed as a whole number in the currency of the customer’s
rate card.
|
UpdateBudgetDetails.Builder |
budgetProcessingPeriodStartOffset(Integer budgetProcessingPeriodStartOffset)
The number of days offset from the first day of the month, at which the budget processing
period starts.
|
UpdateBudgetDetails |
build() |
UpdateBudgetDetails.Builder |
copy(UpdateBudgetDetails model) |
UpdateBudgetDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateBudgetDetails.Builder |
description(String description)
The description of the budget.
|
UpdateBudgetDetails.Builder |
displayName(String displayName)
The displayName of the budget.
|
UpdateBudgetDetails.Builder |
endDate(Date endDate)
The time when the one-time budget concludes.
|
UpdateBudgetDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
UpdateBudgetDetails.Builder |
processingPeriodType(ProcessingPeriodType processingPeriodType)
The type of the budget processing period.
|
UpdateBudgetDetails.Builder |
resetPeriod(ResetPeriod resetPeriod)
The reset period for the budget.
|
UpdateBudgetDetails.Builder |
startDate(Date startDate)
The date when the one-time budget begins.
|
public UpdateBudgetDetails.Builder displayName(String displayName)
The displayName of the budget. Avoid entering confidential information.
displayName
- the value to setpublic UpdateBudgetDetails.Builder description(String description)
The description of the budget.
description
- the value to setpublic UpdateBudgetDetails.Builder amount(BigDecimal amount)
The amount of the budget expressed as a whole number in the currency of the customer’s rate card.
amount
- the value to setpublic UpdateBudgetDetails.Builder budgetProcessingPeriodStartOffset(Integer budgetProcessingPeriodStartOffset)
The number of days offset from the first day of the month, at which the budget processing period starts. In months that have fewer days than this value, processing will begin on the last day of that month. For example, for a value of 12, processing starts every month on the 12th at midnight.
budgetProcessingPeriodStartOffset
- the value to setpublic UpdateBudgetDetails.Builder processingPeriodType(ProcessingPeriodType processingPeriodType)
The type of the budget processing period. Valid values are INVOICE, MONTH, and SINGLE_USE.
processingPeriodType
- the value to setpublic UpdateBudgetDetails.Builder startDate(Date startDate)
The date when the one-time budget begins. For example, 2023-03-23
. The date-time
format conforms to RFC 3339, and will be truncated to the starting point of the date
provided after being converted to UTC time.
startDate
- the value to setpublic UpdateBudgetDetails.Builder endDate(Date endDate)
The time when the one-time budget concludes. For example, 2023-03-23
. The
date-time format conforms to RFC 3339, and will be truncated to the starting point of the
date provided after being converted to UTC time.
endDate
- the value to setpublic UpdateBudgetDetails.Builder resetPeriod(ResetPeriod resetPeriod)
The reset period for the budget.
resetPeriod
- the value to setpublic UpdateBudgetDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic UpdateBudgetDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic UpdateBudgetDetails build()
public UpdateBudgetDetails.Builder copy(UpdateBudgetDetails model)
Copyright © 2016–2024. All rights reserved.