Class GraphQLExtensionUpdateActionsFailedErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLExtensionUpdateActionsFailedError>
Example to create an instance using the builder pattern
GraphQLExtensionUpdateActionsFailedError graphQLExtensionUpdateActionsFailedError = GraphQLExtensionUpdateActionsFailedError.builder()
.plusExtensionErrors(extensionErrorsBuilder -> extensionErrorsBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdditional errors related to the API Extension.Error-specific additional fields.build()
builds GraphQLExtensionUpdateActionsFailedError with checking for non-null required valuesbuilds GraphQLExtensionUpdateActionsFailedError without checking for non-null required valuesextensionErrors
(ExtensionError... extensionErrors) Additional errors related to the API Extension.extensionErrors
(List<ExtensionError> extensionErrors) Additional errors related to the API Extension.extensionExtraInfo
(Object extensionExtraInfo) Any information that should be returned to the API caller.Additional errors related to the API Extension.Any information that should be returned to the API caller.User-defined localized description of the error.Error-specific additional fields.localizedMessage
(LocalizedString localizedMessage) User-defined localized description of the error.User-defined localized description of the error.of()
factory method for an instance of GraphQLExtensionUpdateActionsFailedErrorBuilderof
(GraphQLExtensionUpdateActionsFailedError template) create builder for GraphQLExtensionUpdateActionsFailedError instanceplusExtensionErrors
(ExtensionError... extensionErrors) Additional errors related to the API Extension.Additional errors related to the API Extension.Additional errors related to the API Extension.Error-specific additional fields.Additional errors related to the API Extension.User-defined localized description of the error.
-
Constructor Details
-
GraphQLExtensionUpdateActionsFailedErrorBuilder
public GraphQLExtensionUpdateActionsFailedErrorBuilder()
-
-
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
-
localizedMessage
public GraphQLExtensionUpdateActionsFailedErrorBuilder localizedMessage(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) User-defined localized description of the error.
- Parameters:
builder
- function to build the localizedMessage value- Returns:
- Builder
-
withLocalizedMessage
public GraphQLExtensionUpdateActionsFailedErrorBuilder withLocalizedMessage(Function<LocalizedStringBuilder, LocalizedString> builder) User-defined localized description of the error.
- Parameters:
builder
- function to build the localizedMessage value- Returns:
- Builder
-
localizedMessage
public GraphQLExtensionUpdateActionsFailedErrorBuilder localizedMessage(@Nullable LocalizedString localizedMessage) User-defined localized description of the error.
- Parameters:
localizedMessage
- value to be set- Returns:
- Builder
-
extensionExtraInfo
public GraphQLExtensionUpdateActionsFailedErrorBuilder extensionExtraInfo(@Nullable Object extensionExtraInfo) Any information that should be returned to the API caller.
- Parameters:
extensionExtraInfo
- value to be set- Returns:
- Builder
-
extensionErrors
public GraphQLExtensionUpdateActionsFailedErrorBuilder extensionErrors(ExtensionError... extensionErrors) Additional errors related to the API Extension.
- Parameters:
extensionErrors
- value to be set- Returns:
- Builder
-
extensionErrors
public GraphQLExtensionUpdateActionsFailedErrorBuilder extensionErrors(List<ExtensionError> extensionErrors) Additional errors related to the API Extension.
- Parameters:
extensionErrors
- value to be set- Returns:
- Builder
-
plusExtensionErrors
public GraphQLExtensionUpdateActionsFailedErrorBuilder plusExtensionErrors(ExtensionError... extensionErrors) Additional errors related to the API Extension.
- Parameters:
extensionErrors
- value to be set- Returns:
- Builder
-
plusExtensionErrors
public GraphQLExtensionUpdateActionsFailedErrorBuilder plusExtensionErrors(Function<ExtensionErrorBuilder, ExtensionErrorBuilder> builder) Additional errors related to the API Extension.
- Parameters:
builder
- function to build the extensionErrors value- Returns:
- Builder
-
withExtensionErrors
public GraphQLExtensionUpdateActionsFailedErrorBuilder withExtensionErrors(Function<ExtensionErrorBuilder, ExtensionErrorBuilder> builder) Additional errors related to the API Extension.
- Parameters:
builder
- function to build the extensionErrors value- Returns:
- Builder
-
addExtensionErrors
public GraphQLExtensionUpdateActionsFailedErrorBuilder addExtensionErrors(Function<ExtensionErrorBuilder, ExtensionError> builder) Additional errors related to the API Extension.
- Parameters:
builder
- function to build the extensionErrors value- Returns:
- Builder
-
setExtensionErrors
public GraphQLExtensionUpdateActionsFailedErrorBuilder setExtensionErrors(Function<ExtensionErrorBuilder, ExtensionError> builder) Additional errors related to the API Extension.
- Parameters:
builder
- function to build the extensionErrors value- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getLocalizedMessage
User-defined localized description of the error.
- Returns:
- localizedMessage
-
getExtensionExtraInfo
Any information that should be returned to the API caller.
- Returns:
- extensionExtraInfo
-
getExtensionErrors
Additional errors related to the API Extension.
- Returns:
- extensionErrors
-
build
builds GraphQLExtensionUpdateActionsFailedError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLExtensionUpdateActionsFailedError>
- Returns:
- GraphQLExtensionUpdateActionsFailedError
-
buildUnchecked
builds GraphQLExtensionUpdateActionsFailedError without checking for non-null required values- Returns:
- GraphQLExtensionUpdateActionsFailedError
-
of
factory method for an instance of GraphQLExtensionUpdateActionsFailedErrorBuilder- Returns:
- builder
-
of
public static GraphQLExtensionUpdateActionsFailedErrorBuilder of(GraphQLExtensionUpdateActionsFailedError template) create builder for GraphQLExtensionUpdateActionsFailedError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-