Class GraphQLNotEnabledErrorBuilder

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

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

     GraphQLNotEnabledError graphQLNotEnabledError = GraphQLNotEnabledError.builder()
             .build()
 
  • Constructor Details

    • GraphQLNotEnabledErrorBuilder

      public GraphQLNotEnabledErrorBuilder()
  • Method Details

    • values

      Error-specific additional fields.

      Parameters:
      values - properties to be set
      Returns:
      Builder
    • addValue

      public GraphQLNotEnabledErrorBuilder addValue(String key, Object value)

      Error-specific additional fields.

      Parameters:
      key - property name
      value - property value
      Returns:
      Builder
    • getValues

      public Map<String,Object> getValues()

      Error-specific additional fields.

      Returns:
      pattern properties
    • build

      public GraphQLNotEnabledError build()
      builds GraphQLNotEnabledError with checking for non-null required values
      Specified by:
      build in interface io.vrap.rmf.base.client.Builder<GraphQLNotEnabledError>
      Returns:
      GraphQLNotEnabledError
    • buildUnchecked

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

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

      create builder for GraphQLNotEnabledError instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder