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