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