Class InvalidFieldsUpdateErrorBuilder
java.lang.Object
com.commercetools.importapi.models.errors.InvalidFieldsUpdateErrorBuilder
- All Implemented Interfaces:
Builder<InvalidFieldsUpdateError>
public class InvalidFieldsUpdateErrorBuilder
extends Object
implements Builder<InvalidFieldsUpdateError>
InvalidFieldsUpdateErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
InvalidFieldsUpdateError invalidFieldsUpdateError = InvalidFieldsUpdateError.builder()
.message("{message}")
.plusFields(fieldsBuilder -> fieldsBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds InvalidFieldsUpdateError with checking for non-null required valuesbuilds InvalidFieldsUpdateError without checking for non-null required valuesFields that cannot be updated.Fields that cannot be updated.Fields that cannot be updated."The following fields are currently not supported for changes/updates"
"The following fields are currently not supported for changes/updates"
of()
factory method for an instance of InvalidFieldsUpdateErrorBuilderof
(InvalidFieldsUpdateError template) create builder for InvalidFieldsUpdateError instanceplusFields
(String... fields) Fields that cannot be updated.
-
Constructor Details
-
InvalidFieldsUpdateErrorBuilder
public InvalidFieldsUpdateErrorBuilder()
-
-
Method Details
-
message
"The following fields are currently not supported for changes/updates"
- Parameters:
message
- value to be set- Returns:
- Builder
-
fields
Fields that cannot be updated.
- Parameters:
fields
- value to be set- Returns:
- Builder
-
fields
Fields that cannot be updated.
- Parameters:
fields
- value to be set- Returns:
- Builder
-
plusFields
Fields that cannot be updated.
- Parameters:
fields
- value to be set- Returns:
- Builder
-
getMessage
"The following fields are currently not supported for changes/updates"
- Returns:
- message
-
getFields
Fields that cannot be updated.
- Returns:
- fields
-
build
builds InvalidFieldsUpdateError with checking for non-null required values- Specified by:
build
in interfaceBuilder<InvalidFieldsUpdateError>
- Returns:
- InvalidFieldsUpdateError
-
buildUnchecked
builds InvalidFieldsUpdateError without checking for non-null required values- Returns:
- InvalidFieldsUpdateError
-
of
factory method for an instance of InvalidFieldsUpdateErrorBuilder- Returns:
- builder
-
of
create builder for InvalidFieldsUpdateError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-