Class InvalidScopeErrorBuilder

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

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

     InvalidScopeError invalidScopeError = InvalidScopeError.builder()
             .message("{message}")
             .build()
 
  • Constructor Details

    • InvalidScopeErrorBuilder

      public InvalidScopeErrorBuilder()
  • Method Details

    • message

      public InvalidScopeErrorBuilder message(String message)
      set the value to the message
      Parameters:
      message - value to be set
      Returns:
      Builder
    • getMessage

      public String getMessage()
      value of message}
      Returns:
      message
    • build

      public InvalidScopeError build()
      builds InvalidScopeError with checking for non-null required values
      Specified by:
      build in interface Builder<InvalidScopeError>
      Returns:
      InvalidScopeError
    • buildUnchecked

      public InvalidScopeError buildUnchecked()
      builds InvalidScopeError without checking for non-null required values
      Returns:
      InvalidScopeError
    • of

      public static InvalidScopeErrorBuilder of()
      factory method for an instance of InvalidScopeErrorBuilder
      Returns:
      builder
    • of

      public static InvalidScopeErrorBuilder of(InvalidScopeError template)
      create builder for InvalidScopeError instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder