Interface CreateBillScenarioResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<CreateBillScenarioResponse.Builder,,CreateBillScenarioResponse> SdkBuilder<CreateBillScenarioResponse.Builder,,CreateBillScenarioResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateBillScenarioResponse
-
Method Summary
Modifier and TypeMethodDescriptionbillInterval(Consumer<BillInterval.Builder> billInterval) The time period covered by the bill scenario.billInterval(BillInterval billInterval) The time period covered by the bill scenario.costCategoryGroupSharingPreferenceArn(String costCategoryGroupSharingPreferenceArn) The arn of the cost category used in the reserved and prioritized group sharing.The timestamp when the bill scenario was created.The timestamp when the bill scenario will expire.failureMessage(String failureMessage) An error message if the bill scenario creation failed.groupSharingPreference(String groupSharingPreference) The setting for the reserved instance and savings plan group sharing used in this estimate.groupSharingPreference(GroupSharingPreferenceEnum groupSharingPreference) The setting for the reserved instance and savings plan group sharing used in this estimate.The unique identifier for the created bill scenario.The name of the created bill scenario.The current status of the bill scenario.status(BillScenarioStatus status) The current status of the bill scenario.Methods inherited from interface software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The unique identifier for the created bill scenario.
- Parameters:
id- The unique identifier for the created bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the created bill scenario.
- Parameters:
name- The name of the created bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
The time period covered by the bill scenario.
- Parameters:
billInterval- The time period covered by the bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
default CreateBillScenarioResponse.Builder billInterval(Consumer<BillInterval.Builder> billInterval) The time period covered by the 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:
-
status
The current status of the bill scenario.
- Parameters:
status- The current status of the bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the bill scenario.
- Parameters:
status- The current status of the bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the bill scenario was created.
- Parameters:
createdAt- The timestamp when the bill scenario was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
The timestamp when the bill scenario will expire.
- Parameters:
expiresAt- The timestamp when the bill scenario will expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessage
An error message if the bill scenario creation failed.
- Parameters:
failureMessage- An error message if the bill scenario creation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupSharingPreference
The setting for the reserved instance and savings plan group sharing used in this estimate.
- Parameters:
groupSharingPreference- The setting for the reserved instance and savings plan group sharing used in this estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupSharingPreference
CreateBillScenarioResponse.Builder groupSharingPreference(GroupSharingPreferenceEnum groupSharingPreference) The setting for the reserved instance and savings plan group sharing used in this estimate.
- Parameters:
groupSharingPreference- The setting for the reserved instance and savings plan group sharing used in this estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
costCategoryGroupSharingPreferenceArn
CreateBillScenarioResponse.Builder costCategoryGroupSharingPreferenceArn(String costCategoryGroupSharingPreferenceArn) The arn of the cost category used in the reserved and prioritized group sharing.
- Parameters:
costCategoryGroupSharingPreferenceArn- The arn of the cost category used in the reserved and prioritized group sharing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-