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