Interface BatchCreateWorkloadEstimateUsageError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchCreateWorkloadEstimateUsageError.Builder,
,BatchCreateWorkloadEstimateUsageError> SdkBuilder<BatchCreateWorkloadEstimateUsageError.Builder,
,BatchCreateWorkloadEstimateUsageError> SdkPojo
- Enclosing class:
BatchCreateWorkloadEstimateUsageError
@Mutable
@NotThreadSafe
public static interface BatchCreateWorkloadEstimateUsageError.Builder
extends SdkPojo, CopyableBuilder<BatchCreateWorkloadEstimateUsageError.Builder,BatchCreateWorkloadEstimateUsageError>
-
Method Summary
Modifier and TypeMethodDescriptionThe error code associated with the failed operation.errorCode
(BatchCreateWorkloadEstimateUsageCode errorCode) The error code associated with the failed operation.errorMessage
(String errorMessage) A descriptive message for the error that occurred.The key of the entry that caused the error.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
-
Method Details
-
key
The key of the entry that caused the error.
- Parameters:
key
- The key of the entry that caused the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The error code associated with the failed operation.
- Parameters:
errorCode
- The error code associated with the failed operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
BatchCreateWorkloadEstimateUsageError.Builder errorCode(BatchCreateWorkloadEstimateUsageCode errorCode) The error code associated with the failed operation.
- Parameters:
errorCode
- The error code associated with the failed operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
A descriptive message for the error that occurred.
- Parameters:
errorMessage
- A descriptive message for the error that occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-