Class ImportOperationRejectedEventDataBuilder
java.lang.Object
com.commercetools.api.models.event.ImportOperationRejectedEventDataBuilder
- All Implemented Interfaces:
Builder<ImportOperationRejectedEventData>
public class ImportOperationRejectedEventDataBuilder
extends Object
implements Builder<ImportOperationRejectedEventData>
ImportOperationRejectedEventDataBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ImportOperationRejectedEventData importOperationRejectedEventData = ImportOperationRejectedEventData.builder()
.id("{id}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ImportOperationRejectedEventData with checking for non-null required valuesbuilds ImportOperationRejectedEventData without checking for non-null required valuesgetId()
Theid
of the Import Operation with therejected
state.Theid
of the Import Operation with therejected
state.of()
factory method for an instance of ImportOperationRejectedEventDataBuilderof
(ImportOperationRejectedEventData template) create builder for ImportOperationRejectedEventData instance
-
Constructor Details
-
ImportOperationRejectedEventDataBuilder
public ImportOperationRejectedEventDataBuilder()
-
-
Method Details
-
id
The
id
of the Import Operation with therejected
state.- Parameters:
id
- value to be set- Returns:
- Builder
-
getId
The
id
of the Import Operation with therejected
state.- Returns:
- id
-
build
builds ImportOperationRejectedEventData with checking for non-null required values- Specified by:
build
in interfaceBuilder<ImportOperationRejectedEventData>
- Returns:
- ImportOperationRejectedEventData
-
buildUnchecked
builds ImportOperationRejectedEventData without checking for non-null required values- Returns:
- ImportOperationRejectedEventData
-
of
factory method for an instance of ImportOperationRejectedEventDataBuilder- Returns:
- builder
-
of
create builder for ImportOperationRejectedEventData instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-