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