Class ImportUnresolvedEventDataBuilder
java.lang.Object
com.commercetools.api.models.event.ImportUnresolvedEventDataBuilder
- All Implemented Interfaces:
Builder<ImportUnresolvedEventData>
public class ImportUnresolvedEventDataBuilder
extends Object
implements Builder<ImportUnresolvedEventData>
ImportUnresolvedEventDataBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ImportUnresolvedEventData importUnresolvedEventData = ImportUnresolvedEventData.builder()
.id("{id}")
.version(1)
.importContainerKey("{importContainerKey}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ImportUnresolvedEventData with checking for non-null required valuesbuilds ImportUnresolvedEventData without checking for non-null required valuesgetId()
Theid
of the Import Operation with theunresolved
state.Thekey
of the Import Container.Theversion
of the Import Operation with theunresolved
state.Theid
of the Import Operation with theunresolved
state.importContainerKey
(String importContainerKey) Thekey
of the Import Container.of()
factory method for an instance of ImportUnresolvedEventDataBuilderof
(ImportUnresolvedEventData template) create builder for ImportUnresolvedEventData instanceTheversion
of the Import Operation with theunresolved
state.
-
Constructor Details
-
ImportUnresolvedEventDataBuilder
public ImportUnresolvedEventDataBuilder()
-
-
Method Details
-
id
The
id
of the Import Operation with theunresolved
state.- Parameters:
id
- value to be set- Returns:
- Builder
-
version
The
version
of the Import Operation with theunresolved
state.- Parameters:
version
- value to be set- Returns:
- Builder
-
importContainerKey
The
key
of the Import Container.- Parameters:
importContainerKey
- value to be set- Returns:
- Builder
-
getId
The
id
of the Import Operation with theunresolved
state.- Returns:
- id
-
getVersion
The
version
of the Import Operation with theunresolved
state.- Returns:
- version
-
getImportContainerKey
The
key
of the Import Container.- Returns:
- importContainerKey
-
build
builds ImportUnresolvedEventData with checking for non-null required values- Specified by:
build
in interfaceBuilder<ImportUnresolvedEventData>
- Returns:
- ImportUnresolvedEventData
-
buildUnchecked
builds ImportUnresolvedEventData without checking for non-null required values- Returns:
- ImportUnresolvedEventData
-
of
factory method for an instance of ImportUnresolvedEventDataBuilder- Returns:
- builder
-
of
create builder for ImportUnresolvedEventData instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-