Class GraphQLOverCapacityErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLOverCapacityErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLOverCapacityError>
public class GraphQLOverCapacityErrorBuilder
extends Object
implements Builder<GraphQLOverCapacityError>
GraphQLOverCapacityErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLOverCapacityError graphQLOverCapacityError = GraphQLOverCapacityError.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLOverCapacityError with checking for non-null required valuesbuilds GraphQLOverCapacityError without checking for non-null required valuesError-specific additional fields.of()
factory method for an instance of GraphQLOverCapacityErrorBuilderof
(GraphQLOverCapacityError template) create builder for GraphQLOverCapacityError instanceError-specific additional fields.
-
Constructor Details
-
GraphQLOverCapacityErrorBuilder
public GraphQLOverCapacityErrorBuilder()
-
-
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 GraphQLOverCapacityError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLOverCapacityError>
- Returns:
- GraphQLOverCapacityError
-
buildUnchecked
builds GraphQLOverCapacityError without checking for non-null required values- Returns:
- GraphQLOverCapacityError
-
of
factory method for an instance of GraphQLOverCapacityErrorBuilder- Returns:
- builder
-
of
create builder for GraphQLOverCapacityError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-