Interface GetCostEstimateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCostEstimateResponse.Builder,GetCostEstimateResponse>,LightsailResponse.Builder,SdkBuilder<GetCostEstimateResponse.Builder,GetCostEstimateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCostEstimateResponse
public static interface GetCostEstimateResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetCostEstimateResponse.Builder,GetCostEstimateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCostEstimateResponse.BuilderresourcesBudgetEstimate(Collection<ResourceBudgetEstimate> resourcesBudgetEstimate)Returns the estimate's forecasted cost or usage.GetCostEstimateResponse.BuilderresourcesBudgetEstimate(Consumer<ResourceBudgetEstimate.Builder>... resourcesBudgetEstimate)Returns the estimate's forecasted cost or usage.GetCostEstimateResponse.BuilderresourcesBudgetEstimate(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaResourceBudgetEstimate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourcesBudgetEstimate(List.) - 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:
#resourcesBudgetEstimate(java.util.Collection)
-
-