Interface StartCostEstimationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartCostEstimationRequest.Builder,
,StartCostEstimationRequest> DevOpsGuruRequest.Builder
,SdkBuilder<StartCostEstimationRequest.Builder,
,StartCostEstimationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartCostEstimationRequest
public static interface StartCostEstimationRequest.Builder
extends DevOpsGuruRequest.Builder, SdkPojo, CopyableBuilder<StartCostEstimationRequest.Builder,StartCostEstimationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The idempotency token used to identify each cost estimate request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceCollection
(Consumer<CostEstimationResourceCollectionFilter.Builder> resourceCollection) The collection of Amazon Web Services resources used to create a monthly DevOps Guru cost estimate.resourceCollection
(CostEstimationResourceCollectionFilter resourceCollection) The collection of Amazon Web Services resources used to create a monthly DevOps Guru cost estimate.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceCollection
StartCostEstimationRequest.Builder resourceCollection(CostEstimationResourceCollectionFilter resourceCollection) The collection of Amazon Web Services resources used to create a monthly DevOps Guru cost estimate.
- Parameters:
resourceCollection
- The collection of Amazon Web Services resources used to create a monthly DevOps Guru cost estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCollection
default StartCostEstimationRequest.Builder resourceCollection(Consumer<CostEstimationResourceCollectionFilter.Builder> resourceCollection) The collection of Amazon Web Services resources used to create a monthly DevOps Guru cost estimate.
This is a convenience method that creates an instance of theCostEstimationResourceCollectionFilter.Builder
avoiding the need to create one manually viaCostEstimationResourceCollectionFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceCollection(CostEstimationResourceCollectionFilter)
.- Parameters:
resourceCollection
- a consumer that will call methods onCostEstimationResourceCollectionFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
The idempotency token used to identify each cost estimate request.
- Parameters:
clientToken
- The idempotency token used to identify each cost estimate request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartCostEstimationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartCostEstimationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-