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