Class GraphQLAttributeNameDoesNotExistErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLAttributeNameDoesNotExistErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLAttributeNameDoesNotExistError>
public class GraphQLAttributeNameDoesNotExistErrorBuilder
extends Object
implements Builder<GraphQLAttributeNameDoesNotExistError>
GraphQLAttributeNameDoesNotExistErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLAttributeNameDoesNotExistError graphQLAttributeNameDoesNotExistError = GraphQLAttributeNameDoesNotExistError.builder()
.invalidAttributeName("{invalidAttributeName}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLAttributeNameDoesNotExistError with checking for non-null required valuesbuilds GraphQLAttributeNameDoesNotExistError without checking for non-null required valuesNon-existent Attribute name.Error-specific additional fields.invalidAttributeName
(String invalidAttributeName) Non-existent Attribute name.of()
factory method for an instance of GraphQLAttributeNameDoesNotExistErrorBuilderof
(GraphQLAttributeNameDoesNotExistError template) create builder for GraphQLAttributeNameDoesNotExistError instanceError-specific additional fields.
-
Constructor Details
-
GraphQLAttributeNameDoesNotExistErrorBuilder
public GraphQLAttributeNameDoesNotExistErrorBuilder()
-
-
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
-
invalidAttributeName
public GraphQLAttributeNameDoesNotExistErrorBuilder invalidAttributeName(String invalidAttributeName) Non-existent Attribute name.
- Parameters:
invalidAttributeName
- value to be set- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getInvalidAttributeName
Non-existent Attribute name.
- Returns:
- invalidAttributeName
-
build
builds GraphQLAttributeNameDoesNotExistError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLAttributeNameDoesNotExistError>
- Returns:
- GraphQLAttributeNameDoesNotExistError
-
buildUnchecked
builds GraphQLAttributeNameDoesNotExistError without checking for non-null required values- Returns:
- GraphQLAttributeNameDoesNotExistError
-
of
factory method for an instance of GraphQLAttributeNameDoesNotExistErrorBuilder- Returns:
- builder
-
of
public static GraphQLAttributeNameDoesNotExistErrorBuilder of(GraphQLAttributeNameDoesNotExistError template) create builder for GraphQLAttributeNameDoesNotExistError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-