Class DataSourceDataLakeGen2SharedKey
java.lang.Object
com.azure.ai.metricsadvisor.administration.models.DataSourceCredentialEntity
com.azure.ai.metricsadvisor.administration.models.DataSourceDataLakeGen2SharedKey
The shared key credential entity for DataLakeGen2.
-
Constructor Summary
ConstructorDescriptionDataSourceDataLakeGen2SharedKey
(String name, String sharedKey) Creates DataSourceDataLakeGen2SharedKey. -
Method Summary
Modifier and TypeMethodDescriptionGets the credential description.getId()
Gets the credential id.getName()
Gets the credential name.setDescription
(String description) Sets the description.Sets the name.setSharedKey
(String sharedKey) Sets the shared key.
-
Constructor Details
-
DataSourceDataLakeGen2SharedKey
Creates DataSourceDataLakeGen2SharedKey.- Parameters:
name
- The namesharedKey
- The shared key
-
-
Method Details
-
getId
Description copied from class:DataSourceCredentialEntity
Gets the credential id.- Specified by:
getId
in classDataSourceCredentialEntity
- Returns:
- The credential id.
-
getName
Description copied from class:DataSourceCredentialEntity
Gets the credential name.- Specified by:
getName
in classDataSourceCredentialEntity
- Returns:
- The credential name.
-
getDescription
Description copied from class:DataSourceCredentialEntity
Gets the credential description.- Specified by:
getDescription
in classDataSourceCredentialEntity
- Returns:
- The credential description.
-
setName
Sets the name.- Parameters:
name
- The name- Returns:
- an updated object with name set
-
setDescription
Sets the description.- Parameters:
description
- The description.- Returns:
- an updated object with description set
-