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