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