Class ProjectChangeMessagesConfigurationActionBuilder
java.lang.Object
com.commercetools.api.models.project.ProjectChangeMessagesConfigurationActionBuilder
- All Implemented Interfaces:
Builder<ProjectChangeMessagesConfigurationAction>
public class ProjectChangeMessagesConfigurationActionBuilder
extends Object
implements Builder<ProjectChangeMessagesConfigurationAction>
ProjectChangeMessagesConfigurationActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeMessagesConfigurationAction projectChangeMessagesConfigurationAction = ProjectChangeMessagesConfigurationAction.builder()
.messagesConfiguration(messagesConfigurationBuilder -> messagesConfigurationBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProjectChangeMessagesConfigurationAction with checking for non-null required valuesbuilds ProjectChangeMessagesConfigurationAction without checking for non-null required valuesConfiguration for the Messages Query feature.messagesConfiguration
(MessagesConfigurationDraft messagesConfiguration) Configuration for the Messages Query feature.messagesConfiguration
(Function<MessagesConfigurationDraftBuilder, MessagesConfigurationDraftBuilder> builder) Configuration for the Messages Query feature.of()
factory method for an instance of ProjectChangeMessagesConfigurationActionBuilderof
(ProjectChangeMessagesConfigurationAction template) create builder for ProjectChangeMessagesConfigurationAction instancewithMessagesConfiguration
(Function<MessagesConfigurationDraftBuilder, MessagesConfigurationDraft> builder) Configuration for the Messages Query feature.
-
Constructor Details
-
ProjectChangeMessagesConfigurationActionBuilder
public ProjectChangeMessagesConfigurationActionBuilder()
-
-
Method Details
-
messagesConfiguration
public ProjectChangeMessagesConfigurationActionBuilder messagesConfiguration(Function<MessagesConfigurationDraftBuilder, MessagesConfigurationDraftBuilder> builder) Configuration for the Messages Query feature.
- Parameters:
builder
- function to build the messagesConfiguration value- Returns:
- Builder
-
withMessagesConfiguration
public ProjectChangeMessagesConfigurationActionBuilder withMessagesConfiguration(Function<MessagesConfigurationDraftBuilder, MessagesConfigurationDraft> builder) Configuration for the Messages Query feature.
- Parameters:
builder
- function to build the messagesConfiguration value- Returns:
- Builder
-
messagesConfiguration
public ProjectChangeMessagesConfigurationActionBuilder messagesConfiguration(MessagesConfigurationDraft messagesConfiguration) Configuration for the Messages Query feature.
- Parameters:
messagesConfiguration
- value to be set- Returns:
- Builder
-
getMessagesConfiguration
Configuration for the Messages Query feature.
- Returns:
- messagesConfiguration
-
build
builds ProjectChangeMessagesConfigurationAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProjectChangeMessagesConfigurationAction>
- Returns:
- ProjectChangeMessagesConfigurationAction
-
buildUnchecked
builds ProjectChangeMessagesConfigurationAction without checking for non-null required values- Returns:
- ProjectChangeMessagesConfigurationAction
-
of
factory method for an instance of ProjectChangeMessagesConfigurationActionBuilder- Returns:
- builder
-
of
public static ProjectChangeMessagesConfigurationActionBuilder of(ProjectChangeMessagesConfigurationAction template) create builder for ProjectChangeMessagesConfigurationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-