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