Class GraphQLProjectNotConfiguredForLanguagesErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLProjectNotConfiguredForLanguagesErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLProjectNotConfiguredForLanguagesError>
public class GraphQLProjectNotConfiguredForLanguagesErrorBuilder
extends Object
implements Builder<GraphQLProjectNotConfiguredForLanguagesError>
GraphQLProjectNotConfiguredForLanguagesErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLProjectNotConfiguredForLanguagesError graphQLProjectNotConfiguredForLanguagesError = GraphQLProjectNotConfiguredForLanguagesError.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLProjectNotConfiguredForLanguagesError with checking for non-null required valuesbuilds GraphQLProjectNotConfiguredForLanguagesError without checking for non-null required valuesLanguages configured for the Store.Error-specific additional fields.Languages configured for the Store.Languages configured for the Store.of()
factory method for an instance of GraphQLProjectNotConfiguredForLanguagesErrorBuildercreate builder for GraphQLProjectNotConfiguredForLanguagesError instanceplusLanguages
(String... languages) Languages configured for the Store.Error-specific additional fields.
-
Constructor Details
-
GraphQLProjectNotConfiguredForLanguagesErrorBuilder
public GraphQLProjectNotConfiguredForLanguagesErrorBuilder()
-
-
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
-
languages
Languages configured for the Store.
- Parameters:
languages
- value to be set- Returns:
- Builder
-
languages
public GraphQLProjectNotConfiguredForLanguagesErrorBuilder languages(@Nullable List<String> languages) Languages configured for the Store.
- Parameters:
languages
- value to be set- Returns:
- Builder
-
plusLanguages
public GraphQLProjectNotConfiguredForLanguagesErrorBuilder plusLanguages(@Nullable String... languages) Languages configured for the Store.
- Parameters:
languages
- value to be set- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getLanguages
Languages configured for the Store.
- Returns:
- languages
-
build
builds GraphQLProjectNotConfiguredForLanguagesError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLProjectNotConfiguredForLanguagesError>
- Returns:
- GraphQLProjectNotConfiguredForLanguagesError
-
buildUnchecked
builds GraphQLProjectNotConfiguredForLanguagesError without checking for non-null required values- Returns:
- GraphQLProjectNotConfiguredForLanguagesError
-
of
factory method for an instance of GraphQLProjectNotConfiguredForLanguagesErrorBuilder- Returns:
- builder
-
of
public static GraphQLProjectNotConfiguredForLanguagesErrorBuilder of(GraphQLProjectNotConfiguredForLanguagesError template) create builder for GraphQLProjectNotConfiguredForLanguagesError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-