public class SearchSettingsDiscoveryAuthentication
extends com.ibm.cloud.sdk.core.service.model.GenericModel
**Note:** You must specify either **basic** or **bearer**, but not both.
Modifier and Type | Class and Description |
---|---|
static class |
SearchSettingsDiscoveryAuthentication.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
basic()
Gets the basic.
|
String |
bearer()
Gets the bearer.
|
SearchSettingsDiscoveryAuthentication.Builder |
newBuilder()
New builder.
|
public SearchSettingsDiscoveryAuthentication.Builder newBuilder()
public String basic()
The HTTP basic authentication credentials for Watson Discovery. Specify your Watson Discovery API key in the format `apikey:{apikey}`.
public String bearer()
The authentication bearer token for Watson Discovery.
Copyright © 2023 IBM Cloud. All rights reserved.