Class GraphQLExtensionNoResponseErrorBuilder
java.lang.Object
com.commercetools.api.models.error.GraphQLExtensionNoResponseErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLExtensionNoResponseError>
public class GraphQLExtensionNoResponseErrorBuilder
extends Object
implements Builder<GraphQLExtensionNoResponseError>
GraphQLExtensionNoResponseErrorBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLExtensionNoResponseError graphQLExtensionNoResponseError = GraphQLExtensionNoResponseError.builder()
.extensionId("{extensionId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLExtensionNoResponseError with checking for non-null required valuesbuilds GraphQLExtensionNoResponseError without checking for non-null required valuesextensionId
(String extensionId) Unique identifier of the API Extension.extensionKey
(String extensionKey) User-defined unique identifier of the API Extension, if available.Unique identifier of the API Extension.User-defined unique identifier of the API Extension, if available.Error-specific additional fields.of()
factory method for an instance of GraphQLExtensionNoResponseErrorBuilderof
(GraphQLExtensionNoResponseError template) create builder for GraphQLExtensionNoResponseError instanceError-specific additional fields.
-
Constructor Details
-
GraphQLExtensionNoResponseErrorBuilder
public GraphQLExtensionNoResponseErrorBuilder()
-
-
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
-
extensionId
Unique identifier of the API Extension.
- Parameters:
extensionId
- value to be set- Returns:
- Builder
-
extensionKey
User-defined unique identifier of the API Extension, if available.
- Parameters:
extensionKey
- value to be set- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getExtensionId
Unique identifier of the API Extension.
- Returns:
- extensionId
-
getExtensionKey
User-defined unique identifier of the API Extension, if available.
- Returns:
- extensionKey
-
build
builds GraphQLExtensionNoResponseError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLExtensionNoResponseError>
- Returns:
- GraphQLExtensionNoResponseError
-
buildUnchecked
builds GraphQLExtensionNoResponseError without checking for non-null required values- Returns:
- GraphQLExtensionNoResponseError
-
of
factory method for an instance of GraphQLExtensionNoResponseErrorBuilder- Returns:
- builder
-
of
create builder for GraphQLExtensionNoResponseError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-