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