Interface GetCostEstimateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCostEstimateResponse.Builder,
,GetCostEstimateResponse> LightsailResponse.Builder
,SdkBuilder<GetCostEstimateResponse.Builder,
,GetCostEstimateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCostEstimateResponse
@Mutable
@NotThreadSafe
public static interface GetCostEstimateResponse.Builder
extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetCostEstimateResponse.Builder,GetCostEstimateResponse>
-
Method Summary
Modifier and TypeMethodDescriptionresourcesBudgetEstimate
(Collection<ResourceBudgetEstimate> resourcesBudgetEstimate) Returns the estimate's forecasted cost or usage.resourcesBudgetEstimate
(Consumer<ResourceBudgetEstimate.Builder>... resourcesBudgetEstimate) Returns the estimate's forecasted cost or usage.resourcesBudgetEstimate
(ResourceBudgetEstimate... resourcesBudgetEstimate) Returns the estimate's forecasted cost or usage.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
resourcesBudgetEstimate
GetCostEstimateResponse.Builder resourcesBudgetEstimate(Collection<ResourceBudgetEstimate> resourcesBudgetEstimate) Returns the estimate's forecasted cost or usage.
- Parameters:
resourcesBudgetEstimate
- Returns the estimate's forecasted cost or usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesBudgetEstimate
GetCostEstimateResponse.Builder resourcesBudgetEstimate(ResourceBudgetEstimate... resourcesBudgetEstimate) Returns the estimate's forecasted cost or usage.
- Parameters:
resourcesBudgetEstimate
- Returns the estimate's forecasted cost or usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesBudgetEstimate
GetCostEstimateResponse.Builder resourcesBudgetEstimate(Consumer<ResourceBudgetEstimate.Builder>... resourcesBudgetEstimate) Returns the estimate's forecasted cost or usage.
This is a convenience method that creates an instance of theResourceBudgetEstimate.Builder
avoiding the need to create one manually viaResourceBudgetEstimate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourcesBudgetEstimate(List<ResourceBudgetEstimate>)
.- Parameters:
resourcesBudgetEstimate
- a consumer that will call methods onResourceBudgetEstimate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-