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