public static class MindsphereCredentials.TenantCredentialsBuilder
extends Object
| Constructor and Description |
|---|
TenantCredentialsBuilder() |
| Modifier and Type | Method and Description |
|---|---|
MindsphereCredentials |
build() |
MindsphereCredentials.TenantCredentialsBuilder |
clientId(String clientId)
Sets clientId as a String
|
MindsphereCredentials.TenantCredentialsBuilder |
clientSecret(String clientSecret)
Sets clientSecret as a String
|
MindsphereCredentials.TenantCredentialsBuilder |
subTenant(String subTenant)
Set sub tenant as a String
|
MindsphereCredentials.TenantCredentialsBuilder |
tenant(String tenant)
Sets tenant as a String
|
MindsphereCredentials.TenantCredentialsBuilder |
tokenType(TokenScope tokenType)
Sets token Type(sub tenant/ tenant).
|
public MindsphereCredentials.TenantCredentialsBuilder clientId(String clientId)
clientId - clientIdpublic MindsphereCredentials.TenantCredentialsBuilder clientSecret(String clientSecret)
clientSecret - client Secretpublic MindsphereCredentials.TenantCredentialsBuilder tenant(String tenant)
tenant - tenantpublic MindsphereCredentials.TenantCredentialsBuilder subTenant(String subTenant)
subTenant - sub Tenantpublic MindsphereCredentials.TenantCredentialsBuilder tokenType(TokenScope tokenType)
tokenType - token Typepublic MindsphereCredentials build()