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