Interface UpdateBillScenarioResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<UpdateBillScenarioResponse.Builder,UpdateBillScenarioResponse>,SdkBuilder<UpdateBillScenarioResponse.Builder,UpdateBillScenarioResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateBillScenarioResponse
public static interface UpdateBillScenarioResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<UpdateBillScenarioResponse.Builder,UpdateBillScenarioResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateBillScenarioResponse.BuilderbillInterval(Consumer<BillInterval.Builder> billInterval)The time period covered by the updated bill scenario.UpdateBillScenarioResponse.BuilderbillInterval(BillInterval billInterval)The time period covered by the updated bill scenario.UpdateBillScenarioResponse.BuildercreatedAt(Instant createdAt)The timestamp when the bill scenario was originally created.UpdateBillScenarioResponse.BuilderexpiresAt(Instant expiresAt)The updated expiration timestamp for the bill scenario.UpdateBillScenarioResponse.BuilderfailureMessage(String failureMessage)An error message if the bill scenario update failed.UpdateBillScenarioResponse.Builderid(String id)The unique identifier of the updated bill scenario.UpdateBillScenarioResponse.Buildername(String name)The updated name of the bill scenario.UpdateBillScenarioResponse.Builderstatus(String status)The current status of the updated bill scenario.UpdateBillScenarioResponse.Builderstatus(BillScenarioStatus status)The current status of the updated bill scenario.-
Methods inherited from interface software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
id
UpdateBillScenarioResponse.Builder id(String id)
The unique identifier of the updated bill scenario.
- Parameters:
id- The unique identifier of the updated bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateBillScenarioResponse.Builder name(String name)
The updated name of the bill scenario.
- Parameters:
name- The updated name of the bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
UpdateBillScenarioResponse.Builder billInterval(BillInterval billInterval)
The time period covered by the updated bill scenario.
- Parameters:
billInterval- The time period covered by the updated bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
default UpdateBillScenarioResponse.Builder billInterval(Consumer<BillInterval.Builder> billInterval)
The time period covered by the updated bill scenario.
This is a convenience method that creates an instance of theBillInterval.Builderavoiding the need to create one manually viaBillInterval.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobillInterval(BillInterval).- Parameters:
billInterval- a consumer that will call methods onBillInterval.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
billInterval(BillInterval)
-
status
UpdateBillScenarioResponse.Builder status(String status)
The current status of the updated bill scenario.
- Parameters:
status- The current status of the updated bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BillScenarioStatus,BillScenarioStatus
-
status
UpdateBillScenarioResponse.Builder status(BillScenarioStatus status)
The current status of the updated bill scenario.
- Parameters:
status- The current status of the updated bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BillScenarioStatus,BillScenarioStatus
-
createdAt
UpdateBillScenarioResponse.Builder createdAt(Instant createdAt)
The timestamp when the bill scenario was originally created.
- Parameters:
createdAt- The timestamp when the bill scenario was originally created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
UpdateBillScenarioResponse.Builder expiresAt(Instant expiresAt)
The updated expiration timestamp for the bill scenario.
- Parameters:
expiresAt- The updated expiration timestamp for the bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessage
UpdateBillScenarioResponse.Builder failureMessage(String failureMessage)
An error message if the bill scenario update failed.
- Parameters:
failureMessage- An error message if the bill scenario update failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-