Class SearchDeactivatedErrorBuilder

java.lang.Object
com.commercetools.api.models.error.SearchDeactivatedErrorBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<SearchDeactivatedError>

public class SearchDeactivatedErrorBuilder extends Object implements io.vrap.rmf.base.client.Builder<SearchDeactivatedError>
SearchDeactivatedErrorBuilder
Example to create an instance using the builder pattern

     SearchDeactivatedError searchDeactivatedError = SearchDeactivatedError.builder()
             .message("{message}")
             .build()
 
  • Constructor Details

  • 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 name
      value - property value
      Returns:
      Builder
    • getMessage

      public String 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 interface io.vrap.rmf.base.client.Builder<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