Interface ProtectedQueryError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProtectedQueryError.Builder,,ProtectedQueryError> SdkBuilder<ProtectedQueryError.Builder,,ProtectedQueryError> SdkPojo
- Enclosing class:
ProtectedQueryError
-
Method Summary
Modifier and TypeMethodDescriptionA code that identifies the category of the failure.A description of why the protected query failed.default ProtectedQueryError.Builderretry(Consumer<RetryInfo.Builder> retry) Contains information about whether running the same protected query again might succeed.Contains information about whether running the same protected query again might succeed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
message
A description of why the protected query failed.
- Parameters:
message- A description of why the protected query failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
A code that identifies the category of the failure. Valid values are:
-
MALFORMED_QUERY– The query is not valid (syntax, semantics, columns, or an unsupported operation). -
RESOURCE_NOT_FOUND– A referenced resource doesn't exist. -
INVALID_RESOURCE– A referenced resource exists, but you can't use it because its configuration, state, or data is not valid. -
RESOURCE_ACCESS_DENIED– A required permission is missing for a data source or resource. -
INSUFFICIENT_COMPUTE– The query exceeded the available compute (memory, disk, or time). -
TRANSIENT_ERROR– A temporary condition caused the failure, such as throttling or a network interruption. -
INTERNAL_ERROR– Clean Rooms encountered an unexpected error. If the error persists, contact AWS Support. -
UNKNOWN_ERROR– The failure couldn't be classified.
For more information about error codes, see https://docs.aws.amazon.com/clean-rooms/latest/userguide/error-codes.html in the Clean Rooms User Guide.
- Parameters:
code- A code that identifies the category of the failure. Valid values are:-
MALFORMED_QUERY– The query is not valid (syntax, semantics, columns, or an unsupported operation). -
RESOURCE_NOT_FOUND– A referenced resource doesn't exist. -
INVALID_RESOURCE– A referenced resource exists, but you can't use it because its configuration, state, or data is not valid. -
RESOURCE_ACCESS_DENIED– A required permission is missing for a data source or resource. -
INSUFFICIENT_COMPUTE– The query exceeded the available compute (memory, disk, or time). -
TRANSIENT_ERROR– A temporary condition caused the failure, such as throttling or a network interruption. -
INTERNAL_ERROR– Clean Rooms encountered an unexpected error. If the error persists, contact AWS Support. -
UNKNOWN_ERROR– The failure couldn't be classified.
For more information about error codes, see https://docs.aws.amazon.com/clean-rooms/latest/userguide/error-codes.html in the Clean Rooms User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
retry
Contains information about whether running the same protected query again might succeed.
- Parameters:
retry- Contains information about whether running the same protected query again might succeed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retry
Contains information about whether running the same protected query again might succeed.
This is a convenience method that creates an instance of theRetryInfo.Builderavoiding the need to create one manually viaRetryInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretry(RetryInfo).- Parameters:
retry- a consumer that will call methods onRetryInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-