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