Class GraphQLTooManyRequestsErrorBuilder
java.lang.Object
com.commercetools.history.models.error.GraphQLTooManyRequestsErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLTooManyRequestsError>
public class GraphQLTooManyRequestsErrorBuilder
extends Object
implements Builder<GraphQLTooManyRequestsError>
GraphQLTooManyRequestsErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLTooManyRequestsError graphQLTooManyRequestsError = GraphQLTooManyRequestsError.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLTooManyRequestsError with checking for non-null required valuesbuilds GraphQLTooManyRequestsError without checking for non-null required valuesError-specific additional fields.of()
factory method for an instance of GraphQLTooManyRequestsErrorBuilderof
(GraphQLTooManyRequestsError template) create builder for GraphQLTooManyRequestsError instanceError-specific additional fields.
-
Constructor Details
-
GraphQLTooManyRequestsErrorBuilder
public GraphQLTooManyRequestsErrorBuilder()
-
-
Method Details
-
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
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
build
builds GraphQLTooManyRequestsError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLTooManyRequestsError>
- Returns:
- GraphQLTooManyRequestsError
-
buildUnchecked
builds GraphQLTooManyRequestsError without checking for non-null required values- Returns:
- GraphQLTooManyRequestsError
-
of
factory method for an instance of GraphQLTooManyRequestsErrorBuilder- Returns:
- builder
-
of
create builder for GraphQLTooManyRequestsError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-