Class SearchDeactivatedErrorBuilder
java.lang.Object
com.commercetools.api.models.error.SearchDeactivatedErrorBuilder
- All Implemented Interfaces:
Builder<SearchDeactivatedError>
public class SearchDeactivatedErrorBuilder
extends Object
implements Builder<SearchDeactivatedError>
SearchDeactivatedErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchDeactivatedError searchDeactivatedError = SearchDeactivatedError.builder()
.message("{message}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds SearchDeactivatedError with checking for non-null required valuesbuilds SearchDeactivatedError without checking for non-null required values"The endpoint is deactivated for this project.
Error-specific additional fields."The endpoint is deactivated for this project.
of()
factory method for an instance of SearchDeactivatedErrorBuilderof
(SearchDeactivatedError template) create builder for SearchDeactivatedError instanceError-specific additional fields.
-
Constructor Details
-
SearchDeactivatedErrorBuilder
public SearchDeactivatedErrorBuilder()
-
-
Method Details
-
message
"The endpoint is deactivated for this project. Please enable it via the Project endpoint, via the Merchant Center in the Project settings, or reach out to Support to enable it."
- Parameters:
message
- value to be set- Returns:
- Builder
-
values
Error-specific additional fields.
- Parameters:
values
- properties to be set- Returns:
- Builder
-
addValue
Error-specific additional fields.
- Parameters:
key
- property namevalue
- property value- Returns:
- Builder
-
getMessage
"The endpoint is deactivated for this project. Please enable it via the Project endpoint, via the Merchant Center in the Project settings, or reach out to Support to enable it."
- Returns:
- message
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
build
builds SearchDeactivatedError with checking for non-null required values- Specified by:
build
in interfaceBuilder<SearchDeactivatedError>
- Returns:
- SearchDeactivatedError
-
buildUnchecked
builds SearchDeactivatedError without checking for non-null required values- Returns:
- SearchDeactivatedError
-
of
factory method for an instance of SearchDeactivatedErrorBuilder- Returns:
- builder
-
of
create builder for SearchDeactivatedError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-