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