public static class SearchSettingsMessages.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String success,
String error,
String noResult)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
SearchSettingsMessages |
build()
Builds a SearchSettingsMessages.
|
SearchSettingsMessages.Builder |
error(String error)
Set the error.
|
SearchSettingsMessages.Builder |
noResult(String noResult)
Set the noResult.
|
SearchSettingsMessages.Builder |
success(String success)
Set the success.
|
public SearchSettingsMessages build()
public SearchSettingsMessages.Builder success(String success)
success
- the successpublic SearchSettingsMessages.Builder error(String error)
error
- the errorpublic SearchSettingsMessages.Builder noResult(String noResult)
noResult
- the noResultCopyright © 2023 IBM Cloud. All rights reserved.