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()Theidof the Import Operation with theunresolvedstate.Thekeyof the Import Container.Theversionof the Import Operation with theunresolvedstate.Theidof the Import Operation with theunresolvedstate.importContainerKey(String importContainerKey) Thekeyof the Import Container.of()factory method for an instance of ImportUnresolvedEventDataBuilderof(ImportUnresolvedEventData template) create builder for ImportUnresolvedEventData instanceTheversionof the Import Operation with theunresolvedstate.
-
Constructor Details
-
ImportUnresolvedEventDataBuilder
public ImportUnresolvedEventDataBuilder()
-
-
Method Details
-
id
The
idof the Import Operation with theunresolvedstate.- Parameters:
id- value to be set- Returns:
- Builder
-
version
The
versionof the Import Operation with theunresolvedstate.- Parameters:
version- value to be set- Returns:
- Builder
-
importContainerKey
The
keyof the Import Container.- Parameters:
importContainerKey- value to be set- Returns:
- Builder
-
getId
The
idof the Import Operation with theunresolvedstate.- Returns:
- id
-
getVersion
The
versionof the Import Operation with theunresolvedstate.- Returns:
- version
-
getImportContainerKey
The
keyof the Import Container.- Returns:
- importContainerKey
-
build
builds ImportUnresolvedEventData with checking for non-null required values- Specified by:
buildin 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
-