Class HttpEndpointApiKeyAuthScopeConfig.Builder
- java.lang.Object
- 
- com.oracle.bmc.generativeaiagent.model.HttpEndpointApiKeyAuthScopeConfig.Builder
 
- 
- Enclosing class:
- HttpEndpointApiKeyAuthScopeConfig
 
 public static class HttpEndpointApiKeyAuthScopeConfig.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpEndpointApiKeyAuthScopeConfigbuild()HttpEndpointApiKeyAuthScopeConfig.Buildercopy(HttpEndpointApiKeyAuthScopeConfig model)HttpEndpointApiKeyAuthScopeConfig.BuilderkeyLocation(HttpEndpointApiKeyAuthScopeConfig.KeyLocation keyLocation)The location of the API key in the request.HttpEndpointApiKeyAuthScopeConfig.BuilderkeyName(String keyName)The name of the key parameter in the location.HttpEndpointApiKeyAuthScopeConfig.BuildervaultSecretId(String vaultSecretId)The OCID of the vault secret with API key.
 
- 
- 
- 
Method Detail- 
vaultSecretIdpublic 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
 
 - 
keyLocationpublic HttpEndpointApiKeyAuthScopeConfig.Builder keyLocation(HttpEndpointApiKeyAuthScopeConfig.KeyLocation keyLocation) The location of the API key in the request.- Parameters:
- keyLocation- the value to set
- Returns:
- this builder
 
 - 
keyNamepublic HttpEndpointApiKeyAuthScopeConfig.Builder keyName(String keyName) The name of the key parameter in the location.- Parameters:
- keyName- the value to set
- Returns:
- this builder
 
 - 
buildpublic HttpEndpointApiKeyAuthScopeConfig build() 
 - 
copypublic HttpEndpointApiKeyAuthScopeConfig.Builder copy(HttpEndpointApiKeyAuthScopeConfig model) 
 
- 
 
-