Interface CreateBillScenarioResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<CreateBillScenarioResponse.Builder,CreateBillScenarioResponse>,SdkBuilder<CreateBillScenarioResponse.Builder,CreateBillScenarioResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateBillScenarioResponse
public static interface CreateBillScenarioResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<CreateBillScenarioResponse.Builder,CreateBillScenarioResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateBillScenarioResponse.BuilderbillInterval(Consumer<BillInterval.Builder> billInterval)The time period covered by the bill scenario.CreateBillScenarioResponse.BuilderbillInterval(BillInterval billInterval)The time period covered by the bill scenario.CreateBillScenarioResponse.BuildercreatedAt(Instant createdAt)The timestamp when the bill scenario was created.CreateBillScenarioResponse.BuilderexpiresAt(Instant expiresAt)The timestamp when the bill scenario will expire.CreateBillScenarioResponse.BuilderfailureMessage(String failureMessage)An error message if the bill scenario creation failed.CreateBillScenarioResponse.Builderid(String id)The unique identifier for the created bill scenario.CreateBillScenarioResponse.Buildername(String name)The name of the created bill scenario.CreateBillScenarioResponse.Builderstatus(String status)The current status of the bill scenario.CreateBillScenarioResponse.Builderstatus(BillScenarioStatus status)The current status of the 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
CreateBillScenarioResponse.Builder id(String 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
CreateBillScenarioResponse.Builder name(String 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
CreateBillScenarioResponse.Builder billInterval(BillInterval 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:
billInterval(BillInterval)
-
status
CreateBillScenarioResponse.Builder status(String 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:
BillScenarioStatus,BillScenarioStatus
-
status
CreateBillScenarioResponse.Builder status(BillScenarioStatus 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:
BillScenarioStatus,BillScenarioStatus
-
createdAt
CreateBillScenarioResponse.Builder createdAt(Instant 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
CreateBillScenarioResponse.Builder expiresAt(Instant 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
CreateBillScenarioResponse.Builder failureMessage(String 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.
-
-