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