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