Class QueryComplexityLimitExceededErrorBuilder
java.lang.Object
com.commercetools.api.models.error.QueryComplexityLimitExceededErrorBuilder
- All Implemented Interfaces:
Builder<QueryComplexityLimitExceededError>
public class QueryComplexityLimitExceededErrorBuilder
extends Object
implements Builder<QueryComplexityLimitExceededError>
QueryComplexityLimitExceededErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
QueryComplexityLimitExceededError queryComplexityLimitExceededError = QueryComplexityLimitExceededError.builder()
.message("{message}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds QueryComplexityLimitExceededError with checking for non-null required valuesbuilds QueryComplexityLimitExceededError without checking for non-null required valuesvalue of message}Error-specific additional fields.set the value to the messageof()
factory method for an instance of QueryComplexityLimitExceededErrorBuilderof
(QueryComplexityLimitExceededError template) create builder for QueryComplexityLimitExceededError instanceError-specific additional fields.
-
Constructor Details
-
QueryComplexityLimitExceededErrorBuilder
public QueryComplexityLimitExceededErrorBuilder()
-
-
Method Details
-
message
set the value to the message- 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
value of message}- Returns:
- message
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
build
builds QueryComplexityLimitExceededError with checking for non-null required values- Specified by:
build
in interfaceBuilder<QueryComplexityLimitExceededError>
- Returns:
- QueryComplexityLimitExceededError
-
buildUnchecked
builds QueryComplexityLimitExceededError without checking for non-null required values- Returns:
- QueryComplexityLimitExceededError
-
of
factory method for an instance of QueryComplexityLimitExceededErrorBuilder- Returns:
- builder
-
of
public static QueryComplexityLimitExceededErrorBuilder of(QueryComplexityLimitExceededError template) create builder for QueryComplexityLimitExceededError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-