Class GraphQLInvalidJsonInputErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLInvalidJsonInputErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLInvalidJsonInputError>
public class GraphQLInvalidJsonInputErrorBuilder
extends Object
implements Builder<GraphQLInvalidJsonInputError>
GraphQLInvalidJsonInputErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLInvalidJsonInputError graphQLInvalidJsonInputError = GraphQLInvalidJsonInputError.builder()
.detailedErrorMessage("{detailedErrorMessage}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLInvalidJsonInputError with checking for non-null required valuesbuilds GraphQLInvalidJsonInputError without checking for non-null required valuesdetailedErrorMessage
(String detailedErrorMessage) Further explanation about why the JSON is invalid.Further explanation about why the JSON is invalid.Error-specific additional fields.of()
factory method for an instance of GraphQLInvalidJsonInputErrorBuilderof
(GraphQLInvalidJsonInputError template) create builder for GraphQLInvalidJsonInputError instanceError-specific additional fields.
-
Constructor Details
-
GraphQLInvalidJsonInputErrorBuilder
public GraphQLInvalidJsonInputErrorBuilder()
-
-
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
-
detailedErrorMessage
Further explanation about why the JSON is invalid.
- Parameters:
detailedErrorMessage
- value to be set- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getDetailedErrorMessage
Further explanation about why the JSON is invalid.
- Returns:
- detailedErrorMessage
-
build
builds GraphQLInvalidJsonInputError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLInvalidJsonInputError>
- Returns:
- GraphQLInvalidJsonInputError
-
buildUnchecked
builds GraphQLInvalidJsonInputError without checking for non-null required values- Returns:
- GraphQLInvalidJsonInputError
-
of
factory method for an instance of GraphQLInvalidJsonInputErrorBuilder- Returns:
- builder
-
of
create builder for GraphQLInvalidJsonInputError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-