public final class DataSourceServicePrincipal extends DataSourceCredentialEntity
Constructor and Description |
---|
DataSourceServicePrincipal(String name,
String clientId,
String tenantId,
String clientSecret)
Creates DataSourceServicePrincipal.
|
Modifier and Type | Method and Description |
---|---|
String |
getClientId()
Gets the client id.
|
String |
getDescription()
Gets the credential description.
|
String |
getId()
Gets the credential id.
|
String |
getName()
Gets the credential name.
|
String |
getTenantId()
Gets the tenant id.
|
DataSourceServicePrincipal |
setClientId(String clientId)
Sets the client id.
|
DataSourceServicePrincipal |
setClientSecret(String clientSecret)
Sets the client secret.
|
DataSourceServicePrincipal |
setDescription(String description)
Sets the description.
|
DataSourceServicePrincipal |
setName(String name)
Sets the name.
|
DataSourceServicePrincipal |
setTenantId(String tenantId)
Sets the tenant id.
|
public String getId()
DataSourceCredentialEntity
getId
in class DataSourceCredentialEntity
public String getName()
DataSourceCredentialEntity
getName
in class DataSourceCredentialEntity
public String getDescription()
DataSourceCredentialEntity
getDescription
in class DataSourceCredentialEntity
public String getClientId()
public String getTenantId()
public DataSourceServicePrincipal setName(String name)
name
- The namepublic DataSourceServicePrincipal setClientId(String clientId)
clientId
- The client idpublic DataSourceServicePrincipal setClientSecret(String clientSecret)
clientSecret
- The client secretpublic DataSourceServicePrincipal setTenantId(String tenantId)
tenantId
- The tenant idpublic DataSourceServicePrincipal setDescription(String description)
description
- The descriptionCopyright © 2021 Microsoft Corporation. All rights reserved.