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