Interface BatchCreateWorkloadEstimateUsageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<BatchCreateWorkloadEstimateUsageResponse.Builder,BatchCreateWorkloadEstimateUsageResponse>,SdkBuilder<BatchCreateWorkloadEstimateUsageResponse.Builder,BatchCreateWorkloadEstimateUsageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchCreateWorkloadEstimateUsageResponse
public static interface BatchCreateWorkloadEstimateUsageResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<BatchCreateWorkloadEstimateUsageResponse.Builder,BatchCreateWorkloadEstimateUsageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchCreateWorkloadEstimateUsageResponse.Buildererrors(Collection<BatchCreateWorkloadEstimateUsageError> errors)Returns the list of errors reason and the usage item keys that cannot be created in the Workload estimate.BatchCreateWorkloadEstimateUsageResponse.Buildererrors(Consumer<BatchCreateWorkloadEstimateUsageError.Builder>... errors)Returns the list of errors reason and the usage item keys that cannot be created in the Workload estimate.BatchCreateWorkloadEstimateUsageResponse.Buildererrors(BatchCreateWorkloadEstimateUsageError... errors)Returns the list of errors reason and the usage item keys that cannot be created in the Workload estimate.BatchCreateWorkloadEstimateUsageResponse.Builderitems(Collection<BatchCreateWorkloadEstimateUsageItem> items)Returns the list of successful usage line items that were created for the Workload estimate.BatchCreateWorkloadEstimateUsageResponse.Builderitems(Consumer<BatchCreateWorkloadEstimateUsageItem.Builder>... items)Returns the list of successful usage line items that were created for the Workload estimate.BatchCreateWorkloadEstimateUsageResponse.Builderitems(BatchCreateWorkloadEstimateUsageItem... items)Returns the list of successful usage line items that were created for the Workload estimate.-
Methods inherited from interface software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
items
BatchCreateWorkloadEstimateUsageResponse.Builder items(Collection<BatchCreateWorkloadEstimateUsageItem> items)
Returns the list of successful usage line items that were created for the Workload estimate.
- Parameters:
items- Returns the list of successful usage line items that were created for the Workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchCreateWorkloadEstimateUsageResponse.Builder items(BatchCreateWorkloadEstimateUsageItem... items)
Returns the list of successful usage line items that were created for the Workload estimate.
- Parameters:
items- Returns the list of successful usage line items that were created for the Workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
BatchCreateWorkloadEstimateUsageResponse.Builder items(Consumer<BatchCreateWorkloadEstimateUsageItem.Builder>... items)
Returns the list of successful usage line items that were created for the Workload estimate.
This is a convenience method that creates an instance of theBatchCreateWorkloadEstimateUsageItem.Builderavoiding the need to create one manually viaBatchCreateWorkloadEstimateUsageItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onBatchCreateWorkloadEstimateUsageItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
errors
BatchCreateWorkloadEstimateUsageResponse.Builder errors(Collection<BatchCreateWorkloadEstimateUsageError> errors)
Returns the list of errors reason and the usage item keys that cannot be created in the Workload estimate.
- Parameters:
errors- Returns the list of errors reason and the usage item keys that cannot be created in the Workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchCreateWorkloadEstimateUsageResponse.Builder errors(BatchCreateWorkloadEstimateUsageError... errors)
Returns the list of errors reason and the usage item keys that cannot be created in the Workload estimate.
- Parameters:
errors- Returns the list of errors reason and the usage item keys that cannot be created in the Workload estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchCreateWorkloadEstimateUsageResponse.Builder errors(Consumer<BatchCreateWorkloadEstimateUsageError.Builder>... errors)
Returns the list of errors reason and the usage item keys that cannot be created in the Workload estimate.
This is a convenience method that creates an instance of theBatchCreateWorkloadEstimateUsageError.Builderavoiding the need to create one manually viaBatchCreateWorkloadEstimateUsageError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - Parameters:
errors- a consumer that will call methods onBatchCreateWorkloadEstimateUsageError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
-