Class GraphQLQueryComplexityLimitExceededErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLQueryComplexityLimitExceededErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLQueryComplexityLimitExceededError>
public class GraphQLQueryComplexityLimitExceededErrorBuilder
extends Object
implements Builder<GraphQLQueryComplexityLimitExceededError>
GraphQLQueryComplexityLimitExceededErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLQueryComplexityLimitExceededError graphQLQueryComplexityLimitExceededError = GraphQLQueryComplexityLimitExceededError.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLQueryComplexityLimitExceededError with checking for non-null required valuesbuilds GraphQLQueryComplexityLimitExceededError without checking for non-null required valuesError-specific additional fields.of()
factory method for an instance of GraphQLQueryComplexityLimitExceededErrorBuilderof
(GraphQLQueryComplexityLimitExceededError template) create builder for GraphQLQueryComplexityLimitExceededError instanceError-specific additional fields.
-
Constructor Details
-
GraphQLQueryComplexityLimitExceededErrorBuilder
public GraphQLQueryComplexityLimitExceededErrorBuilder()
-
-
Method Details
-
values
Error-specific additional fields.
- Parameters:
values
- properties to be set- Returns:
- Builder
-
addValue
Error-specific additional fields.
- Parameters:
key
- property namevalue
- property value- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
build
builds GraphQLQueryComplexityLimitExceededError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLQueryComplexityLimitExceededError>
- Returns:
- GraphQLQueryComplexityLimitExceededError
-
buildUnchecked
builds GraphQLQueryComplexityLimitExceededError without checking for non-null required values- Returns:
- GraphQLQueryComplexityLimitExceededError
-
of
factory method for an instance of GraphQLQueryComplexityLimitExceededErrorBuilder- Returns:
- builder
-
of
public static GraphQLQueryComplexityLimitExceededErrorBuilder of(GraphQLQueryComplexityLimitExceededError template) create builder for GraphQLQueryComplexityLimitExceededError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-