Class HttpEndpointApiKeyAuthScopeConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiagent.model.HttpEndpointApiKeyAuthScopeConfig.Builder
-
- Enclosing class:
- HttpEndpointApiKeyAuthScopeConfig
public static class HttpEndpointApiKeyAuthScopeConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpEndpointApiKeyAuthScopeConfig
build()
HttpEndpointApiKeyAuthScopeConfig.Builder
copy(HttpEndpointApiKeyAuthScopeConfig model)
HttpEndpointApiKeyAuthScopeConfig.Builder
keyLocation(HttpEndpointApiKeyAuthScopeConfig.KeyLocation keyLocation)
The location of the API key in the request.HttpEndpointApiKeyAuthScopeConfig.Builder
keyName(String keyName)
The name of the key parameter in the location.HttpEndpointApiKeyAuthScopeConfig.Builder
vaultSecretId(String vaultSecretId)
The OCID of the vault secret with API key.
-
-
-
Method Detail
-
vaultSecretId
public HttpEndpointApiKeyAuthScopeConfig.Builder vaultSecretId(String vaultSecretId)
The OCID of the vault secret with API key.Required when authScope is AGENT.
- Parameters:
vaultSecretId
- the value to set- Returns:
- this builder
-
keyLocation
public HttpEndpointApiKeyAuthScopeConfig.Builder keyLocation(HttpEndpointApiKeyAuthScopeConfig.KeyLocation keyLocation)
The location of the API key in the request.- Parameters:
keyLocation
- the value to set- Returns:
- this builder
-
keyName
public HttpEndpointApiKeyAuthScopeConfig.Builder keyName(String keyName)
The name of the key parameter in the location.- Parameters:
keyName
- the value to set- Returns:
- this builder
-
build
public HttpEndpointApiKeyAuthScopeConfig build()
-
copy
public HttpEndpointApiKeyAuthScopeConfig.Builder copy(HttpEndpointApiKeyAuthScopeConfig model)
-
-