Interface QueryError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QueryError.Builder,QueryError>,SdkBuilder<QueryError.Builder,QueryError>,SdkPojo
- Enclosing class:
- QueryError
public static interface QueryError.Builder extends SdkPojo, CopyableBuilder<QueryError.Builder,QueryError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryError.BuildererrorCode(String errorCode)Specifies the error code that was raised.QueryError.BuildererrorCode(QueryErrorCode errorCode)Specifies the error code that was raised.QueryError.Buildermessage(String message)A message that explains theErrorCodevalue.-
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, sdkFields
-
-
-
-
Method Detail
-
errorCode
QueryError.Builder errorCode(String errorCode)
Specifies the error code that was raised.
- Parameters:
errorCode- Specifies the error code that was raised.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryErrorCode,QueryErrorCode
-
errorCode
QueryError.Builder errorCode(QueryErrorCode errorCode)
Specifies the error code that was raised.
- Parameters:
errorCode- Specifies the error code that was raised.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryErrorCode,QueryErrorCode
-
message
QueryError.Builder message(String message)
A message that explains the
ErrorCodevalue. Messages might state that the specified CloudFront stack does not exist (or no longer exists). ForCLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFront stack has a status that is not (or no longer) active, such asCREATE_FAILED.- Parameters:
message- A message that explains theErrorCodevalue. Messages might state that the specified CloudFront stack does not exist (or no longer exists). ForCLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFront stack has a status that is not (or no longer) active, such asCREATE_FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-