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