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
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
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaResourceBudgetEstimate.builder().When the
Consumercompletes,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:
-