Class ProjectChangeLanguagesActionBuilder
java.lang.Object
com.commercetools.api.models.project.ProjectChangeLanguagesActionBuilder
- All Implemented Interfaces:
Builder<ProjectChangeLanguagesAction>
public class ProjectChangeLanguagesActionBuilder
extends Object
implements Builder<ProjectChangeLanguagesAction>
ProjectChangeLanguagesActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeLanguagesAction projectChangeLanguagesAction = ProjectChangeLanguagesAction.builder()
.plusLanguages(languagesBuilder -> languagesBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProjectChangeLanguagesAction with checking for non-null required valuesbuilds ProjectChangeLanguagesAction without checking for non-null required valuesNew value to set.New value to set.New value to set.of()
factory method for an instance of ProjectChangeLanguagesActionBuilderof
(ProjectChangeLanguagesAction template) create builder for ProjectChangeLanguagesAction instanceplusLanguages
(String... languages) New value to set.
-
Constructor Details
-
ProjectChangeLanguagesActionBuilder
public ProjectChangeLanguagesActionBuilder()
-
-
Method Details
-
languages
New value to set. Must not be empty.
- Parameters:
languages
- value to be set- Returns:
- Builder
-
languages
New value to set. Must not be empty.
- Parameters:
languages
- value to be set- Returns:
- Builder
-
plusLanguages
New value to set. Must not be empty.
- Parameters:
languages
- value to be set- Returns:
- Builder
-
getLanguages
New value to set. Must not be empty.
- Returns:
- languages
-
build
builds ProjectChangeLanguagesAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProjectChangeLanguagesAction>
- Returns:
- ProjectChangeLanguagesAction
-
buildUnchecked
builds ProjectChangeLanguagesAction without checking for non-null required values- Returns:
- ProjectChangeLanguagesAction
-
of
factory method for an instance of ProjectChangeLanguagesActionBuilder- Returns:
- builder
-
of
create builder for ProjectChangeLanguagesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-