Package com.databricks.jdbc.auth
Class JwtPrivateKeyClientCredentials.Builder
- java.lang.Object
-
- com.databricks.jdbc.auth.JwtPrivateKeyClientCredentials.Builder
-
- Enclosing class:
- JwtPrivateKeyClientCredentials
public static class JwtPrivateKeyClientCredentials.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JwtPrivateKeyClientCredentialsbuild()JwtPrivateKeyClientCredentials.BuilderwithClientId(String clientId)JwtPrivateKeyClientCredentials.BuilderwithHttpClient(IDatabricksHttpClient hc)JwtPrivateKeyClientCredentials.BuilderwithJwtAlgorithm(String jwtAlgorithm)JwtPrivateKeyClientCredentials.BuilderwithJwtKeyFile(String jwtKeyFile)JwtPrivateKeyClientCredentials.BuilderwithJwtKeyPassphrase(String jwtKeyPassphrase)JwtPrivateKeyClientCredentials.BuilderwithJwtKid(String jwtKid)JwtPrivateKeyClientCredentials.BuilderwithScopes(List<String> scopes)JwtPrivateKeyClientCredentials.BuilderwithTokenUrl(String tokenUrl)
-
-
-
Method Detail
-
withClientId
public JwtPrivateKeyClientCredentials.Builder withClientId(String clientId)
-
withTokenUrl
public JwtPrivateKeyClientCredentials.Builder withTokenUrl(String tokenUrl)
-
withScopes
public JwtPrivateKeyClientCredentials.Builder withScopes(List<String> scopes)
-
withHttpClient
public JwtPrivateKeyClientCredentials.Builder withHttpClient(IDatabricksHttpClient hc)
-
withJwtAlgorithm
public JwtPrivateKeyClientCredentials.Builder withJwtAlgorithm(String jwtAlgorithm)
-
withJwtKeyPassphrase
public JwtPrivateKeyClientCredentials.Builder withJwtKeyPassphrase(String jwtKeyPassphrase)
-
withJwtKid
public JwtPrivateKeyClientCredentials.Builder withJwtKid(String jwtKid)
-
withJwtKeyFile
public JwtPrivateKeyClientCredentials.Builder withJwtKeyFile(String jwtKeyFile)
-
build
public JwtPrivateKeyClientCredentials build()
-
-