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