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