Class InvalidStateTransitionErrorBuilder

java.lang.Object
com.commercetools.importapi.models.errors.InvalidStateTransitionErrorBuilder
All Implemented Interfaces:
Builder<InvalidStateTransitionError>

public class InvalidStateTransitionErrorBuilder extends Object implements Builder<InvalidStateTransitionError>
InvalidStateTransitionErrorBuilder
Example to create an instance using the builder pattern

     InvalidStateTransitionError invalidStateTransitionError = InvalidStateTransitionError.builder()
             .message("{message}")
             .currentState(ProcessingState.PROCESSING)
             .newState(ProcessingState.PROCESSING)
             .build()
 
  • Constructor Details

    • InvalidStateTransitionErrorBuilder

      public InvalidStateTransitionErrorBuilder()
  • Method Details