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