Class ProjectChangeNameActionBuilder
java.lang.Object
com.commercetools.api.models.project.ProjectChangeNameActionBuilder
- All Implemented Interfaces:
Builder<ProjectChangeNameAction>
public class ProjectChangeNameActionBuilder
extends Object
implements Builder<ProjectChangeNameAction>
ProjectChangeNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeNameAction projectChangeNameAction = ProjectChangeNameAction.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProjectChangeNameAction with checking for non-null required valuesbuilds ProjectChangeNameAction without checking for non-null required valuesgetName()
New value to set.New value to set.of()
factory method for an instance of ProjectChangeNameActionBuilderof
(ProjectChangeNameAction template) create builder for ProjectChangeNameAction instance
-
Constructor Details
-
ProjectChangeNameActionBuilder
public ProjectChangeNameActionBuilder()
-
-
Method Details
-
name
New value to set. Must not be empty.
- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
New value to set. Must not be empty.
- Returns:
- name
-
build
builds ProjectChangeNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProjectChangeNameAction>
- Returns:
- ProjectChangeNameAction
-
buildUnchecked
builds ProjectChangeNameAction without checking for non-null required values- Returns:
- ProjectChangeNameAction
-
of
factory method for an instance of ProjectChangeNameActionBuilder- Returns:
- builder
-
of
create builder for ProjectChangeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-