Class GraphQLEnumKeyDoesNotExistErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLEnumKeyDoesNotExistErrorBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<GraphQLEnumKeyDoesNotExistError>
public class GraphQLEnumKeyDoesNotExistErrorBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<GraphQLEnumKeyDoesNotExistError>
GraphQLEnumKeyDoesNotExistErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLEnumKeyDoesNotExistError graphQLEnumKeyDoesNotExistError = GraphQLEnumKeyDoesNotExistError.builder()
.conflictingEnumKey("{conflictingEnumKey}")
.conflictingAttributeName("{conflictingAttributeName}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLEnumKeyDoesNotExistError with checking for non-null required valuesbuilds GraphQLEnumKeyDoesNotExistError without checking for non-null required valuesconflictingAttributeName
(String conflictingAttributeName) Name of the conflicting Attribute.conflictingEnumKey
(String conflictingEnumKey) Conflicting enum key.Name of the conflicting Attribute.Conflicting enum key.Error-specific additional fields.of()
factory method for an instance of GraphQLEnumKeyDoesNotExistErrorBuilderof
(GraphQLEnumKeyDoesNotExistError template) create builder for GraphQLEnumKeyDoesNotExistError instanceError-specific additional fields.
-
Constructor Details
-
GraphQLEnumKeyDoesNotExistErrorBuilder
public GraphQLEnumKeyDoesNotExistErrorBuilder()
-
-
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
-
conflictingEnumKey
Conflicting enum key.
- Parameters:
conflictingEnumKey
- value to be set- Returns:
- Builder
-
conflictingAttributeName
public GraphQLEnumKeyDoesNotExistErrorBuilder conflictingAttributeName(String conflictingAttributeName) Name of the conflicting Attribute.
- Parameters:
conflictingAttributeName
- value to be set- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getConflictingEnumKey
Conflicting enum key.
- Returns:
- conflictingEnumKey
-
getConflictingAttributeName
Name of the conflicting Attribute.
- Returns:
- conflictingAttributeName
-
build
builds GraphQLEnumKeyDoesNotExistError with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<GraphQLEnumKeyDoesNotExistError>
- Returns:
- GraphQLEnumKeyDoesNotExistError
-
buildUnchecked
builds GraphQLEnumKeyDoesNotExistError without checking for non-null required values- Returns:
- GraphQLEnumKeyDoesNotExistError
-
of
factory method for an instance of GraphQLEnumKeyDoesNotExistErrorBuilder- Returns:
- builder
-
of
create builder for GraphQLEnumKeyDoesNotExistError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-