Interface BillScenarioSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BillScenarioSummary.Builder,BillScenarioSummary>,SdkBuilder<BillScenarioSummary.Builder,BillScenarioSummary>,SdkPojo
- Enclosing class:
- BillScenarioSummary
public static interface BillScenarioSummary.Builder extends SdkPojo, CopyableBuilder<BillScenarioSummary.Builder,BillScenarioSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BillScenarioSummary.BuilderbillInterval(Consumer<BillInterval.Builder> billInterval)The time period covered by the bill scenario.BillScenarioSummary.BuilderbillInterval(BillInterval billInterval)The time period covered by the bill scenario.BillScenarioSummary.BuildercreatedAt(Instant createdAt)The timestamp when the bill scenario was created.BillScenarioSummary.BuilderexpiresAt(Instant expiresAt)The timestamp when the bill scenario will expire.BillScenarioSummary.BuilderfailureMessage(String failureMessage)An error message if the bill scenario creation or processing failed.BillScenarioSummary.Builderid(String id)The unique identifier of the bill scenario.BillScenarioSummary.Buildername(String name)The name of the bill scenario.BillScenarioSummary.Builderstatus(String status)The current status of the bill scenario.BillScenarioSummary.Builderstatus(BillScenarioStatus status)The current status of the bill scenario.-
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
-
id
BillScenarioSummary.Builder id(String id)
The unique identifier of the bill scenario.
- Parameters:
id- The unique identifier of the bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
BillScenarioSummary.Builder name(String name)
The name of the bill scenario.
- Parameters:
name- The name of the bill scenario.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
BillScenarioSummary.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 BillScenarioSummary.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
BillScenarioSummary.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
BillScenarioSummary.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
BillScenarioSummary.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
BillScenarioSummary.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
BillScenarioSummary.Builder failureMessage(String failureMessage)
An error message if the bill scenario creation or processing failed.
- Parameters:
failureMessage- An error message if the bill scenario creation or processing failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-