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