@Generated(value="software.amazon.awssdk:codegen") public final class QueryError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QueryError.Builder,QueryError>
A two-part error structure that can occur in ListGroupResources or SearchResources
operations on CloudFront stack-based queries. The error occurs if the CloudFront stack on which the query is based
either does not exist, or has a status that renders the stack inactive. A QueryError occurrence does not
necessarily mean that Resource Groups could not complete the operation, but the resulting group might have no member
resources.
| Modifier and Type | Class and Description |
|---|---|
static interface |
QueryError.Builder |
| Modifier and Type | Method and Description |
|---|---|
static QueryError.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
QueryErrorCode |
errorCode()
Specifies the error code that was raised.
|
String |
errorCodeAsString()
Specifies the error code that was raised.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
A message that explains the
ErrorCode value. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends QueryError.Builder> |
serializableBuilderClass() |
QueryError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final QueryErrorCode errorCode()
Specifies the error code that was raised.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return QueryErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
QueryErrorCodepublic final String errorCodeAsString()
Specifies the error code that was raised.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return QueryErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
QueryErrorCodepublic final String message()
A message that explains the ErrorCode value. Messages might state that the specified CloudFront
stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically
states that the CloudFront stack has a status that is not (or no longer) active, such as
CREATE_FAILED.
ErrorCode value. Messages might state that the specified
CloudFront stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE,
the message typically states that the CloudFront stack has a status that is not (or no longer) active,
such as CREATE_FAILED.public QueryError.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<QueryError.Builder,QueryError>public static QueryError.Builder builder()
public static Class<? extends QueryError.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.