Interface GraphQLOverCapacityError
- All Superinterfaces:
GraphQLErrorObject
Returned when the service is having trouble handling the load.
The client application should retry the request with exponential backoff up to a point where further delay is unacceptable.
Example to create an instance using the builder pattern
GraphQLOverCapacityError graphQLOverCapacityError = GraphQLOverCapacityError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLOverCapacityError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLOverCapacityErrorbuilder(GraphQLOverCapacityError template) create builder for GraphQLOverCapacityError instancecopyDeep()static GraphQLOverCapacityErrordeepCopy(GraphQLOverCapacityError template) factory method to create a deep copy of GraphQLOverCapacityError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.static GraphQLOverCapacityErrorof()factory methodstatic GraphQLOverCapacityErrorof(GraphQLOverCapacityError template) factory method to create a shallow copy GraphQLOverCapacityErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLOverCapacityError>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
setValue, values, withGraphQLErrorObject
-
Field Details
-
OVER_CAPACITY
discriminator value for GraphQLOverCapacityError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObjectOne of the error codes that is listed on the Errors page.
- Specified by:
getCodein interfaceGraphQLErrorObject- Returns:
- code
-
of
factory method- Returns:
- instance of GraphQLOverCapacityError
-
of
factory method to create a shallow copy GraphQLOverCapacityError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLOverCapacityError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
factory method to create a deep copy of GraphQLOverCapacityError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLOverCapacityError- Returns:
- builder
-
builder
create builder for GraphQLOverCapacityError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLOverCapacityError
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-