Class GraphQLReferencedResourceNotFoundErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLReferencedResourceNotFoundErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLReferencedResourceNotFoundError>
public class GraphQLReferencedResourceNotFoundErrorBuilder
extends Object
implements Builder<GraphQLReferencedResourceNotFoundError>
GraphQLReferencedResourceNotFoundErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLReferencedResourceNotFoundError graphQLReferencedResourceNotFoundError = GraphQLReferencedResourceNotFoundError.builder()
.typeId(ReferenceTypeId.APPROVAL_FLOW)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLReferencedResourceNotFoundError with checking for non-null required valuesbuilds GraphQLReferencedResourceNotFoundError without checking for non-null required valuesgetId()
Unique identifier of the referenced resource, if known.getKey()
User-defined unique identifier of the referenced resource, if known.Type of referenced resource.Error-specific additional fields.Unique identifier of the referenced resource, if known.User-defined unique identifier of the referenced resource, if known.of()
factory method for an instance of GraphQLReferencedResourceNotFoundErrorBuilderof
(GraphQLReferencedResourceNotFoundError template) create builder for GraphQLReferencedResourceNotFoundError instancetypeId
(ReferenceTypeId typeId) Type of referenced resource.Error-specific additional fields.
-
Constructor Details
-
GraphQLReferencedResourceNotFoundErrorBuilder
public GraphQLReferencedResourceNotFoundErrorBuilder()
-
-
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
-
typeId
Type of referenced resource.
- Parameters:
typeId
- value to be set- Returns:
- Builder
-
id
Unique identifier of the referenced resource, if known.
- Parameters:
id
- value to be set- Returns:
- Builder
-
key
User-defined unique identifier of the referenced resource, if known.
- Parameters:
key
- value to be set- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getTypeId
Type of referenced resource.
- Returns:
- typeId
-
getId
Unique identifier of the referenced resource, if known.
- Returns:
- id
-
getKey
User-defined unique identifier of the referenced resource, if known.
- Returns:
- key
-
build
builds GraphQLReferencedResourceNotFoundError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLReferencedResourceNotFoundError>
- Returns:
- GraphQLReferencedResourceNotFoundError
-
buildUnchecked
builds GraphQLReferencedResourceNotFoundError without checking for non-null required values- Returns:
- GraphQLReferencedResourceNotFoundError
-
of
factory method for an instance of GraphQLReferencedResourceNotFoundErrorBuilder- Returns:
- builder
-
of
public static GraphQLReferencedResourceNotFoundErrorBuilder of(GraphQLReferencedResourceNotFoundError template) create builder for GraphQLReferencedResourceNotFoundError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-