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