Class ExtensionUpdateActionsFailedErrorBuilder
- All Implemented Interfaces:
Builder<ExtensionUpdateActionsFailedError>
Example to create an instance using the builder pattern
ExtensionUpdateActionsFailedError extensionUpdateActionsFailedError = ExtensionUpdateActionsFailedError.builder()
.message("{message}")
.plusExtensionErrors(extensionErrorsBuilder -> extensionErrorsBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdditional errors related to the API Extension.Error-specific additional fields.build()
builds ExtensionUpdateActionsFailedError with checking for non-null required valuesbuilds ExtensionUpdateActionsFailedError 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."The extension returned update actions that could not be executed."
Error-specific additional fields.localizedMessage
(LocalizedString localizedMessage) User-defined localized description of the error.User-defined localized description of the error."The extension returned update actions that could not be executed."
of()
factory method for an instance of ExtensionUpdateActionsFailedErrorBuilderof
(ExtensionUpdateActionsFailedError template) create builder for ExtensionUpdateActionsFailedError 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
-
ExtensionUpdateActionsFailedErrorBuilder
public ExtensionUpdateActionsFailedErrorBuilder()
-
-
Method Details
-
message
"The extension returned update actions that could not be executed."
- Parameters:
message
- value to be set- Returns:
- Builder
-
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 ExtensionUpdateActionsFailedErrorBuilder localizedMessage(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) User-defined localized description of the error.
- Parameters:
builder
- function to build the localizedMessage value- Returns:
- Builder
-
withLocalizedMessage
public ExtensionUpdateActionsFailedErrorBuilder withLocalizedMessage(Function<LocalizedStringBuilder, LocalizedString> builder) User-defined localized description of the error.
- Parameters:
builder
- function to build the localizedMessage value- Returns:
- Builder
-
localizedMessage
public ExtensionUpdateActionsFailedErrorBuilder localizedMessage(@Nullable LocalizedString localizedMessage) User-defined localized description of the error.
- Parameters:
localizedMessage
- value to be set- Returns:
- Builder
-
extensionExtraInfo
public ExtensionUpdateActionsFailedErrorBuilder extensionExtraInfo(@Nullable Object extensionExtraInfo) Any information that should be returned to the API caller.
- Parameters:
extensionExtraInfo
- value to be set- Returns:
- Builder
-
extensionErrors
Additional errors related to the API Extension.
- Parameters:
extensionErrors
- value to be set- Returns:
- Builder
-
extensionErrors
public ExtensionUpdateActionsFailedErrorBuilder extensionErrors(List<ExtensionError> extensionErrors) Additional errors related to the API Extension.
- Parameters:
extensionErrors
- value to be set- Returns:
- Builder
-
plusExtensionErrors
public ExtensionUpdateActionsFailedErrorBuilder plusExtensionErrors(ExtensionError... extensionErrors) Additional errors related to the API Extension.
- Parameters:
extensionErrors
- value to be set- Returns:
- Builder
-
plusExtensionErrors
public ExtensionUpdateActionsFailedErrorBuilder plusExtensionErrors(Function<ExtensionErrorBuilder, ExtensionErrorBuilder> builder) Additional errors related to the API Extension.
- Parameters:
builder
- function to build the extensionErrors value- Returns:
- Builder
-
withExtensionErrors
public ExtensionUpdateActionsFailedErrorBuilder withExtensionErrors(Function<ExtensionErrorBuilder, ExtensionErrorBuilder> builder) Additional errors related to the API Extension.
- Parameters:
builder
- function to build the extensionErrors value- Returns:
- Builder
-
addExtensionErrors
public ExtensionUpdateActionsFailedErrorBuilder addExtensionErrors(Function<ExtensionErrorBuilder, ExtensionError> builder) Additional errors related to the API Extension.
- Parameters:
builder
- function to build the extensionErrors value- Returns:
- Builder
-
setExtensionErrors
public ExtensionUpdateActionsFailedErrorBuilder setExtensionErrors(Function<ExtensionErrorBuilder, ExtensionError> builder) Additional errors related to the API Extension.
- Parameters:
builder
- function to build the extensionErrors value- Returns:
- Builder
-
getMessage
"The extension returned update actions that could not be executed."
- Returns:
- message
-
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 ExtensionUpdateActionsFailedError with checking for non-null required values- Specified by:
build
in interfaceBuilder<ExtensionUpdateActionsFailedError>
- Returns:
- ExtensionUpdateActionsFailedError
-
buildUnchecked
builds ExtensionUpdateActionsFailedError without checking for non-null required values- Returns:
- ExtensionUpdateActionsFailedError
-
of
factory method for an instance of ExtensionUpdateActionsFailedErrorBuilder- Returns:
- builder
-
of
public static ExtensionUpdateActionsFailedErrorBuilder of(ExtensionUpdateActionsFailedError template) create builder for ExtensionUpdateActionsFailedError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-